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 xml schema validation errors 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 "xml schema validation errors" Watch "xml schema validation errors" New topic

xml schema validation errors

Benjamin Hundley
Ranch Hand

Joined: Mar 06, 2006
Posts: 54
I am using a DocumentBuilder to validate an xml document against a schema. I am wondering if there is a documented list of possible validation errors that you can run into somewhere? Is it W3C that defines these validation errors?
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

That's a good question. I looked in the XML Schema Recommendation (not all that easy to track down) and found this link: C.1 Validation Rules. Was that the sort of thing you were asking about?
Benjamin Hundley
Ranch Hand

Joined: Mar 06, 2006
Posts: 54
I think that might be as close as I'm going to get, thanks. I was just wondering if there was documentation somewhere of all the possible validation errors that could be thrown. I couldn't find anything on that.
I agree. Here's the link:
subject: xml schema validation errors
It's not a secret anymore!