This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Consider Paul's rocket mass heater.
 
subject: Parsing XML agaist XSD using - (Want to remove the physical path of xsd from xml)
 
Similar Threads
how to validate soap with xsd
.xsd schema questions
XML schema fails to load
Problem validating schema
namespace