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

xml schema validation errors

Benjamin Hundley
Ranch Hand

Joined: Mar 06, 2006
Posts: 53
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
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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: 53
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: http://aspose.com/file-tools
 
subject: xml schema validation errors
 
Similar Threads
Where to place the XML Schema
XML parser, schema, validation
Validating XML with XSD..problems
Parent Element of the error Element.
Validate against schema