This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • 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