To open the XML Parser preferences page, go to .
The configurable options of the built-in XML parser are the following:
- Enable parser caching (validation and content completion) -
enables re-use of internal models when validating and provides content completion in opened
XML files which reference the same schemas (grammars) like DTD, XML Schema, RelaxNG.
- Ignore the DTD for validation if a schema is specified - Forces
validation against a referred schema (W3C XML Schema, Relax NG schema) even if the document
includes also a DTD DOCTYPE declaration. This option is useful when the DTD declaration is
used only to declare DTD entities and the schema reference is used for validation against a
W3C XML Schema or a Relax NG schema.
Note: Schematron schemas are treated as additional
schemas. The validation of a document associated with a DTD and referring a Schematron
schema is executed against both the DTD and the Schematron schema, regardless of the value
of the Ignore the DTD for validation if a schema is specified
- Enable XInclude processing - Enables XInclude processing. If
checked, the XInclude support in Oxygen XML Developer is turned on for
validation and transformation of XML documents.
- Base URI fix-up - According to the specification for XInclude,
processors must add an xml:base attribute to elements included from
locations with a different base URI. Without these attributes, the resulting infoset
information would be incorrect.
Unfortunately, these attributes make XInclude processing
not transparent to Schema validation. One solution to this is to modify your schema to
allow xml:base attributes to appear on elements that might be included
from different base URIs.
If the addition of xml:base and / or
xml:lang is undesired by your application, you can disable base URI
- Language fix-up - The processor will preserve language information
on a top-level included element by adding an xml:lang attribute if its
include parent has a different [language] property. If the addition of
xml:lang is undesired by your application, you can disable the language