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 validating xml 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 "validating xml" Watch "validating xml" New topic

validating xml

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 761
i have got one xml and one xsd,



Now i am trying to validate the xml using the code given in Java Ranch FAQ.

but i am getting the following error.
please help me solving this error.

Error stack trace.

it seems like my xml is valid according to xsd but it still says that the note element is there in the xml.

please let me know if i am misunderstanding something, as i am new to xml and xsd.

Thanks & Regards,

Jigar Naik

I agree. Here's the link:
subject: validating xml
It's not a secret anymore!