use of org.apache.xerces.parsers.XIncludeParserConfiguration in project gocd by gocd.
the class NokogiriDomParser method initialize.
protected void initialize() {
if (config == null) {
if (xInclude) {
config = new XIncludeParserConfiguration();
} else {
config = getXMLParserConfiguration();
}
}
DTDConfiguration dtdConfig = new DTDConfiguration();
dtd = new DOMParser(dtdConfig);
config.setDTDHandler(dtdConfig);
config.setDTDContentModelHandler(dtdConfig);
}
use of org.apache.xerces.parsers.XIncludeParserConfiguration in project nokogiri by sparklemotion.
the class NokogiriDomParser method initialize.
protected void initialize() {
if (config == null) {
if (xInclude) {
config = new XIncludeParserConfiguration();
} else {
config = getXMLParserConfiguration();
}
}
DTDConfiguration dtdConfig = new DTDConfiguration();
dtd = new DOMParser(dtdConfig);
config.setDTDHandler(dtdConfig);
config.setDTDContentModelHandler(dtdConfig);
}
Aggregations