I am parsing a xml document whose schema is defined in another document.
I create a DOMParser, and set the following features/properties:
parser.setFeature("http://apache.org/xml/features/validation/schema",
true);
parser.setFeature("http://xml.org/sax/features/validation", true);
parser.setProperty(
"http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation",
"myschema.xsd");
However I get the following exception when running the program:
org.xml.SAXNotRecogonizedException:
http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation
Bug ? I don't think I misspelt anything ...
-john
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]