aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 18126
    
    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
Parent Element of the error Element.
Where to place the XML Schema
Validating XML with XSD..problems
XML parser, schema, validation
Validate against schema