I've written a simple schema validator which works in almost all
cases, w/ the exception of when i set the "schemaLocation" on the XML
to a schema which "includes" other schemas.

If the targetNamespaces don't match all the way down the "included"
XSD chain, then it should fail (xmlspy reports it as an error) but my
validator does not.

Is there a property that i need to set in order to have the validation
fail under this condition?

I'm using a SAXParser, and i set the following properties on that parser:

a. http://xml.org/sax/features/validation (true)
b. http://apache.org/xml/features/validation/schema (true)
c. http://apache.org/xml/features/validation/schema-full-checking (true)

thanks

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

Reply via email to