This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
I agree. Here's the link:
subject: How validate the Shcema
Similar Threads
validate xml using xsd
Please Confirm a Very Simple XSD Created by Me
XML Schema Help
Validate XML from a string instead of a file?
validating xml with xsd