It wouldn't be the first time Xerces and XMLSpy had a difference of opinion. Could you post a cut-down example?
Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] "Paul Tomsic" <[EMAIL PROTECTED]> wrote on 11/08/2006 10:53:43 AM: > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
