Setting a Default Schema
When trying to detect a schema, Oxygen XML Developer searches in multiple locations, in the exact following order:
- The validation scenario associated with the document.
- The validation scenario associated with the document type (if defined).
- The document schema declaration.
- The document type schema definition. Each document type available in Document Type
Association preferences page contains a
set of rules for associating a schema with the current document.Note: The locations are sorted by priority, from high to low.
The schema has one of the following types: XML Schema, XML Schema with embedded Schematron rules, Relax NG (XML syntax or compact syntax), Relax NG (XML syntax) with embedded Schematron rules, Schematron, DTD, NVDL.
The rules are applied in the order they appear in the table and take into account the local name of the root element, the default namespace and the file name of the document.
The editor is creating the content completion lists by analysing the specified schema and the current context (the position in the editor). If you change the schema, then the list of tags to be inserted is updated.