[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: jaxb vs jaxp for XML validation

From: Michael Kay <mike@saxonica.com>
Date: Thu, 29 Nov 2007 10:12:15 -0000
To: "'dave'" <ceek63@yahoo.com>, <xmlschema-dev@w3.org>
Message-ID: <017e01c83270$50ff3e50$6501a8c0@turtle>
RE: jaxb vs jaxp for XML validation

> Given an XSD schema with key/keyref constraints, which XML 
> processing to use- JAXB or JAXP?

For validation of an instance against a schema, use JAXP.

For data binding, use JAXB.

Michael Kay
http://www.saxonica.com/
Received on Thursday, 29 November 2007 10:12:24 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.