This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
this(symbolTable, null);
} // <init>(SymbolTable)
private static XMLParserConfiguration getParserConfig() { // XXX added - jglick
Object o = ObjectFactory.createObject(
"org.apache.xerces.xni.parser.XMLParserConfiguration",
"org.apache.xerces.parsers.XML11Configuration"
);
if (o instanceof XMLParserConfiguration) {
return (XMLParserConfiguration)o;
} else {
// something is wrong
Thread.dumpStack();
System.err.println("Got object: " + o);
System.err.println(" class: " + o.getClass().getName());
System.err.println(" loader: " + o.getClass().getClassLoader());
System.err.println(" my loader: " + XMLParserConfiguration.class.getClassLoader());
return new XML11Configuration();
}
/**
* Constructs a DOM parser using the specified symbol table and
* grammar pool.
*/
public DOMParser(SymbolTable symbolTable, XMLGrammarPool grammarPool) {
super((XMLParserConfiguration)ObjectFactory.createObject(
super(getParserConfig());
));
// set properties
fConfiguration.addRecognizedProperties(RECOGNIZED_PROPERTIES);