G
Gerben
I try to use
"http://apache.org/xml/features/validation/warn-on-undeclared-elemdef":
---
System.setProperty("javax.xml.parsers.SAXParserFactory",
"org.apache.xerces.jaxp.SAXParserFactoryImpl");
SAXParserFactory parserFactory = SAXParserFactory.newInstance();
SAXParser parser = parserFactory.newSAXParser();
XMLReader reader = parser.getXMLReader();
reader.getFeature("http://apache.org/xml/features/validation/warn-on-undecla
red-elemdef");
---
but an exception is thrown:
org.xml.sax.SAXNotRecognizedException:
http://apache.org/xml/features/validation/warn-on-undeclared-elemdef
other features work. Any ideas?
"http://apache.org/xml/features/validation/warn-on-undeclared-elemdef":
---
System.setProperty("javax.xml.parsers.SAXParserFactory",
"org.apache.xerces.jaxp.SAXParserFactoryImpl");
SAXParserFactory parserFactory = SAXParserFactory.newInstance();
SAXParser parser = parserFactory.newSAXParser();
XMLReader reader = parser.getXMLReader();
reader.getFeature("http://apache.org/xml/features/validation/warn-on-undecla
red-elemdef");
---
but an exception is thrown:
org.xml.sax.SAXNotRecognizedException:
http://apache.org/xml/features/validation/warn-on-undeclared-elemdef
other features work. Any ideas?