This document discusses using the XML Schema Object Model (XSOM) in Java to parse and analyze XML schemas. It shows how to:
- Parse an XML schema file using an XSOMParser
- Examine the schema set, schemas, elements, attributes, types and facets defined in the schema
- Navigate complex types and terms to analyze element declarations, model groups, wildcards etc.
- Inspect simple types to check if they are restrictions, unions, lists and get base types and facets
The code examples demonstrate how to retrieve and describe the different parts of an XML schema using the XSOM API.