File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
It's not a secret anymore!