Look into using an EntityResolver [1]. Your schemaLocation points to a URL that doesn't resolve. You need to map that URL to a local resource. That's what the EntityResolver is for.

[1] http://java.sun.com/j2se/1.4.2/docs/api/org/xml/sax/EntityResolver.html

Jake

Amisha Popat wrote:
Hi,

I have an xml for which I have written the XSD. The validation code is my servlet. My XML is not able to locate my XSD. They both are in the same directory. The servlet contains the method name validateCurrenciesXML which contains the validation code. The app server is weblogic. My classpath contains xerces.jar. JDK version is j2sdk1.4.2_13 Please find attached all the requried files.

Please help

Thanks & Regards,

Amisha


------------------------------------------------------------------------

---------------------------------------------------------------------
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]

Reply via email to