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

How validate the Shcema

 
sree nath
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have xml and xsd
i need to check whether xml is valid as per xsd by using jdk1.4 only
Could any body please tell me how to do that.

Thnaks,
Sreeath S
 
Arjun Karthick
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i have the same requirement.
Now i am trying to do it with SAXParser in xerces jar from apache.
Did you get the requirement completed.
Can you please let me know how you did it?
 
Christian Nash
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys,

Incase you have not yet found out how to do this, eclipse Java editor provides a functionality to validate your xml against your xsd i.e. if both your xml and xsd documents are valid individually.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic