The external-schemaLocation property must be a string containing
"ns1 xsd1 ns2 xsd2 ... "
that is, pairs of (namespaceURI, XsdURI) with each URI whitespace-delimited.
I think that earlier versions of Xerces were more liberal about what they
accepted for xsdURI.

Jeff
----- Original Message -----
From: "Thropp, Shawn" <[EMAIL PROTECTED]>
To: <[email protected]>; <[EMAIL PROTECTED]>
Sent: Wednesday, February 26, 2003 6:48 AM
Subject: Settting Schema Locations


...
> In my attempts to upgrade to a newer Xerces jar (2.0.2, 2.1.0., 2.2.0.
> 2.3.0), the following error occurs when validating against the XSDs:
> ERROR: schema_reference.4: Failed to read schema document '<xxx>.xsd',
> because 1) could not find the document; 2) the document could not be read;
> 3) the root element of the document is not <xsd:schema>.
>
> My XML instance targets 3 XSDs - 2 of which contain import statements to
> other XSDs. The error message's text implies that it is hollering at these
2
> XSDs with import statements while the stand-alone XSD is validated just
> fine.


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

Reply via email to