Hi,
trying to set the feature on a 2.6.2 SAXParser (validation enabled etc.):
 m_parser.setErrorHandler(handler);
            m_parser
                    .setProperty(
                            
"http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation";,
                            
"/home/peter/metro/svn/development/main/metro/composition/test/file:/home/peter/.dpml/main/dpml/test/jars/dpml-test-testschema.jar!/net/dpml/test/testschema/ConfigurableB.xschema"
 );
            m_parser.parse( new InputSource( new ByteArrayInputStream( xml
                    .getBytes() ) ) );
with a path to the schema that sits inside a .jar file 
it seems that the schema is not found, since I get an error saying that the 
root element cannot be found:
org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of 
element 'configuration'.

What kind of schema location is supported by the feature?

Thanks for help

/peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to