• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XMLBeans API - Validation w/ XML Schema

 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic