W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2007

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>

> 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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:01 GMT