XSD4J is a library to parse XML Schema files into a structure of Java objects, convert those back into an XML DOM tree (and hence plain text) again, and allow for performing several queries on the XSD objects.
XSD4J currently supports most real-world features such as simple and complex types, type restrictions and attributes. The aim is to gain high conformance to the XML Schema SE specification without being dependent on other software. In particular, WSGUI inference mechanisms must be implementable easily.
XML Schema constructs are represented by the classes XSDElement, XSDAttribute, XSDSequence, XSDType, XSDRestriction, XSDAnnotation and XSDSchema. Building and handlings objects of the type XSDSchema, which contains all others, happens via XSDParser, XSDDumper and XSDValidator. Some helper classes are included as well. Also, XSD4J contains an internal copy of RegExpInstantiator for convenience.
What's New in This Release:
Â· Bootstrap schemas can now be loaded in precompiled format to speed up XSD processing.
Â· Constraint propagation and other optimisations in merged mode were introduced.
Â· XML Schema compliance was increased by the inclusion of uniqueness constraints and whitespace facets.
Â· The command line tools xsdbootcompiler, xsdinstantiator, and regex2xsd were added to make XSD4J's functionality available to non-programmers.
Â· Debian packages are now provided.