Hi,

I have one problem with the latest xerces_impl & other xerces-j jar files.

I was working with the xerces-2.6.2 version of xerces_impl.jar and xmlParserAPIs.jar.

This gives a perfect result when I validate a XML with a XSD having some more additional external
XSDs improted(External, but are available in hard disk in the given location.)

Then I tried with the new version of xerces-2.7.1 of xercesImpl.jar and xml-api.jar
(xmlParserAPIs.jar is not available with this package).

Now it gives the following error if I have any import to external XSDs.

org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document
'http://www.w3.org/2001/03/xml.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>.


If the XSD doesn't have any external XSD import it works fine. Its not working with the XSD
having external import.

Pls help me out in this.

thanks in advance,

Vijay


Start your day with Yahoo! - make it your home page

Reply via email to