File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Parsing XML agaist XSD using - (Want to remove the physical path of xsd from xml) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Parsing XML agaist XSD using - (Want to remove the physical path of xsd from xml)" Watch "Parsing XML agaist XSD using - (Want to remove the physical path of xsd from xml)" New topic
Author

Parsing XML agaist XSD using - (Want to remove the physical path of xsd from xml)

prash patil
Ranch Hand

Joined: May 26, 2008
Posts: 40
Hello All,
I am validating one XML against XSD.
Where in I have to give XSD location in the XML
But in my case the XML is going to come from client and so cannot have physical path of XSD..

I am using org.xml.sax.XMLReader; for validating the XML

The code is as follows.
In XML file i have to hardcode the
Which i Want to Remove..

If any one have any suggestion please REPLY.
Thanks in Advance



NotificationServiceSchema.xsd


validationOfXmlAgainstXSD.xml
 
GeeCON Prague 2014
 
subject: Parsing XML agaist XSD using - (Want to remove the physical path of xsd from xml)