views:

122

answers:

1

Hi all.

I have an XSD and I want to verify incoming XML files from a webservice against that XSD for schema validation?

Any suggestions or pointers for existing Frameworks in Java to do that? Help is appreciated in advance.

Cheers

+2  A: 

You can use the built-in JAXP API (in Java 5 or later). http://www.ibm.com/developerworks/xml/library/x-javaxmlvalidapi.html

Jeff Storey