aspose file tools*
The moose likes XML and Related Technologies and the fly likes XMLBeans API - Validation w/ XML Schema 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 "XMLBeans API - Validation w/ XML Schema" Watch "XMLBeans API - Validation w/ XML Schema" New topic
Author

XMLBeans API - Validation w/ XML Schema

Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
In the XMLBeans API, is there a way to validate an XML instance file with a schema (in a file)? Something like:

.validate(schemaFileName, instanceFileName);

Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187


This does it. Unfortunately, it validates the schema first before the instance. Wondering if there is a way to suppress the schema validation and just get to the instance...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XMLBeans API - Validation w/ XML Schema