JavaTM Architecture for XML Binding
JAXB RI Vendor Extensions
Experimental Schema Languages

Specification Version: 2.0
Reference Implementation (RI) Version: 2.0 ea3

JAXB 2.0: Release Notes | XJC | XJCTask | SchemaGen | schemagenTask | Sample Apps | Changelog
JAXB 1.0.x: Release Notes | Changelog
JAXB RI Extensions: Runtime Properties | XJC Customizations | Develop Plugins
JAXB RI Schema Languages: W3C XML Schema | RELAX NG | DTD
JAXB Community: Java.net Homepage | Developer interest list | FAQ

The JAXB RI currently has experimental support for the schema languages listed on this page. The features listed on this page are not described by the JAXB Specification - they are only available in the JAXB RI.

Index

W3C XML Schema

JAXB 2.0 RI FCS will contain 100% support for W3C XML Schema. However, this is an Early Access release and is not functionally complete. This section outlines areas that the RI deviates from the JAXB 2.0 Specification Early Draft 2.

RELAX NG

The RELAX NG support is not yet implemented in this early access.

DTD

The JAXB RI is shipped with experimental DTD support, which lets you compile XML DTDs.

To compile a DTD test.dtd, run the XJC binding compiler as follows:

$ xjc.sh -dtd test.dtd

All the other command-line options of the XJC binding compiler can be applied, no matter what schema language you use. Similarly, the XJC ant task supports DTD. No matter what schema language you use, the generated code will be no different. You'll use the same JAXB API to access the generated code.

Customization

The customization syntax for DTD is roughly based on the ver.0.21 working draft of the JAXB specification, which is available at xml.coverpages.org. The deviations from this document are:


$Revision: 1.2 $
$Date: 2005/06/17 18:55:58 $