Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
prash patil
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic