validation against schema that imports other namespaces 2003-08-08 - By Predrag Knezevic
Hi,
I need to validate some XML documents against schema that imports some other namespaces and use them to construct some more complex types that include types from those namespace as well.
Now, I simply fail in trying to validate document using standard JAXP 1.2 possibilities. I have try using:
factory.setAttribute("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "blabla.xsd");
and that works fine if my schema does not import any other namespace. Otherwise, I get message that the parser is not able to find declaration of document root element.
Any idea? Thanks in advance,
Predrag
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|