Download XML Author 10.3 User Manual

Transcript
Configuring the application
http://apache.org/xml/features/valid- This option sets the 'schema-full-checking' feature to true.
ation/schema-full-checking
http://apache.org/xml/features/honour-all-schema-location
This option sets the 'honour-all-schema-location' feature to true. This means all
the schemas that are imported for a specific namespace are used to compose the
validation model. If this is false, only the first schema import is taken into account.
Ignore the DTD for validation if a
schema is specified
This option forces validation against a referred schema (XML Schema, Relax
NG schema, Schematron schema) even if the document includes also a DTD
declaration. It is useful when the DTD declaration is used to declare entities and
the schema reference is used for validation.
Enable XInclude processing
Enable XInclude processing - if checked the XInclude support in <oXygen/> is
turned on.
Base URI fix-up
[Xerces XML Parser documentation:] 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
[Xerces XML Parser documentation:]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
1.0 - Allows XSLT 1.0 expressions for Schematron 1.5 assertion tests.
2.0 - Allows XSLT 2.0 expressions for Schematron 1.5 assertion tests.
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)
Enable support for allow-foreign on ISO Schematron. Used to pass nonSchematron elements to the generated stylesheet.
Use Saxon SA (schema aware) for
xslt2 query binding
If checked, Saxon SA will be used for xslt2 query binding.
506