The DTD, XML Schema, Relax NG, or NVDL schema used to populate the Content Completion
assistant is specified in the following methods, in order of precedence:
- the schema specified explicitly in the document. In this case Oxygen reads the beginning of the
document and resolves the location of the DTD, XML Schema, Relax NG schema, or NVDL schema;
Note:
Limitation: In case of XML Schema, the content completion takes into account only the
schema declarations from the document's root element. If a schema declaration is
attached to other element of the XML document, then it will be ignored.
- the default schema rule declared in the Document Type Association preferences panel which matches the edited
document;
- for XSLT stylesheets, the schema specified in the Oxygen
Content Completion options.Oxygen will read the Content
Completion settings when the prolog fails to provide or resolve the location of a DTD, XML
Schema, Relax NG or NVDL schema;
- for XML Schemas, the schema specified in the Oxygen
Content Completion options.Oxygen will read the Content
Completion settings and the specified schema will enhance the content completion inside the
xs:annotation/xs:appinfo elements of the XML Schema.