logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Regarding XML Schema on Linux: msg#00003

Subject: Re: Regarding XML Schema on Linux

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: j-users-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: j-users-help@xxxxxxxxxxxxxxxxx



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>