In a previous post I described how to validate an object model (mapped with JAXB annotations) against an XML schema using the javax.xml.validation APIs. In this post I'll describe how to leverage those APIs during unmarshal and marshal operations.
Showing posts with label Validation. Show all posts
Showing posts with label Validation. Show all posts
December 20, 2010
JAXB and Marshal/Unmarshal Schema Validation
Labels:
JAXB,
Marshaller,
Unmarshaller,
Validation,
XML Schema
November 24, 2010
Validate a JAXB Object Model With an XML Schema
In this post I will demonstrate how to validate a JAXB object model against an XML schema. This will be done using the javax.xml.validation APIs.
Subscribe to:
Posts (Atom)