The XML Schema Infoset Model is a library for use with
any code that examines, creates, or modifies XML Schemas.
These XML Schemas can be stand-alone schemas or part of other
artifacts, such as XForms or WSDL documents. The library
provides an API for manipulating the components of an
XML Schema as described by the W3C XML Schema
specifications, as well as an API for manipulating the
DOM-accessible representation of XML Schema as a series
of XML documents, and for keeping these representations
in agreement as schemas are modified.
This library includes APIs to serialize and deserialize
XML Schema documents, and to do integrity checking of
XML Schemas. This integrity checking looks for things
like element references that reference non-existent global elements
invalid maximum values.