The XML Parser preferences panel is opened from menu .
The configurable options of the built-in XML parser are the following:
- http://apache.org/xml/features/validation/schema-full-checking -
Sets the schema-full-checking feature to true, that is a validation of the parsed XML
document is performed against a schema (W3C XML Schema or DTD) while the document is
parsed.
- http://apache.org/xml/features/honour-all-schema-location - Sets
the honour-all-schema-location feature to true. This means all the files that declare
W3C XML Schema components from the same namespace are used to compose the validation model.
If this option is not selected only the first W3C XML Schema file that is encountered in the
XML Schema import tree is taken into account.
- Ignore the DTD for validation if a schema is specified - Forces
validation against a referred schema (W3C XML Schema, Relax NG schema, Schematron 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, a Relax NG schema or a Schematron schema.
- Enable XInclude processing - Enables XInclude processing. If
checked, the XInclude support in
Oxygen XML Author plugin
is turned on for
validation, rendering in Author
mode 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
fix-up.
- 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
fix-up.
- Check ID/IDREF - Checks the ID/IDREF matches when the Relax NG
document is validated.
- Check feasibly valid - Checks the Relax NG to be feasibly valid
when this document is validated.
- Schematron XPath Version - Selects the version of XPath for the
expressions that are allowed in Schematron assertion tests: 1.0 or 2.0. This option is
applied both in standalone Schematron schemas and in embedded Schematron rules, both in
Schematron 1.5 and in ISO Schematron.
- Optimize (visit-no-attributes) - If your ISO Schematron assertion
tests do not contain the attributes axis you should check this option for faster ISO
Schematron validation.
- Allow foreign elements (allow-foreign) - Enables support for
allow-foreign on ISO Schematron. This option is used to pass
non-Schematron elements to the generated stylesheet.
- Use Saxon EE (schema aware) for xslt2 query binding - If checked,
Saxon EE will be used for xslt2 query binding. If not checked, Saxon PE
will be used instead.