[jdom-interest] Validating with a schema
Robert (Jamie) Munro
rjmunro at arjam.net
Mon Jun 9 10:02:48 PDT 2003
I'm trying to specify the schema to be used when parsing a document like
this:
SAXBuilder confBuilder = new SAXBuilder();
confBuilder.setProperty("http://apache.org/xml/properties/schema/external-no
NamespaceSchemaLocation", "test.xsd" );
But I keep getting:
org.jdom.JDOMException:
http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation
property not recognized for SAX driver org.apache.xerces.parsers.SAXParser
This does appear to be correct, according to:
http://xml.apache.org/xerces-j/properties.html
What am I doing wrong?
Thanks,
Robert Munro
More information about the jdom-interest
mailing list