This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes How validate  the Shcema Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How validate  the Shcema" Watch "How validate  the Shcema" New topic

How validate the Shcema

sree nath

Joined: Mar 13, 2007
Posts: 1
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.

Sreeath S
Arjun Karthick
Ranch Hand

Joined: Jan 04, 2007
Posts: 77
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

Joined: Jan 17, 2006
Posts: 107
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.

- Christian
subject: How validate the Shcema