Associating a Schema to XML Documents
Oxygen XML Developer plugin relies on schemas to validate XML documents and to compute valid proposals for the Content Completion Assistant.
Supported Types of Schema
The following schema types are supported:
- W3C XML Schema 1.0 and 1.1 (with and without embedded Schematron rules)
- DTD
- Relax NG - XML syntax (with and without embedded Schematron rules)
- Relax NG - compact syntax
- NVDL
- Schematron (both ISO Schematron and Schematron 1.5)
Detecting a Schema
For the purposes of using validation and content completion mechanisms, Oxygen XML Developer plugin tries to detect a schema by searching multiple locations, in the following order:
- The schema defined in a validation scenario.
- The schema defined in the validation scenarios associated with the particular document type (if defined).
- The schema that is associated directly in the XML document.
- The schema defined in the Document Type Association.
In addition, the locations of the schema can be mapped through the use of an XML Catalog. For more information, see Resolving Schema Locations Through XML Catalogs .