24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring the Application | 404• http://apache.org/xml/features/validation/schema-full-checking - Sets the schema-full-checking feature to true,that is a validation of the parsed <strong>XML</strong> document is performed against a schema (W3C <strong>XML</strong> Schema or DTD) whilethe 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 <strong>XML</strong> Schema components from the same namespace are used to composethe validation model. If this option is not selected only the first W3C <strong>XML</strong> Schema file that is encountered in the<strong>XML</strong> Schema import tree is taken into account.• Ignore the DTD for validation if a schema is specified - Forces validation against a referred schema (W3C <strong>XML</strong>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 isused for validation against a W3C <strong>XML</strong> Schema, a Relax NG schema or a Schematron schema.• Enable XInclude processing - Enables XInclude processing. If checked, the XInclude support in <strong>Oxygen</strong> <strong>XML</strong><strong>Author</strong> <strong>plugin</strong> is turned on for validation, rendering in <strong>Author</strong> mode and transformation of <strong>XML</strong> documents.• Base URI fix-up - According to the specification for XInclude, processors must add an xml:base attribute toelements included from locations with a different base URI. Without these attributes, the resulting infoset informationwould be incorrect.Unfortunately, these attributes make XInclude processing not transparent to Schema validation. One solution to thisis to modify your schema to allow xml:base attributes to appear on elements that might be included from differentbase 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 anxml:lang attribute if its include parent has a different [language] property. If the addition of xml:lang is undesiredby 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 Schematronassertion tests: 1.0 or 2.0. This option is applied both in standalone Schematron schemas and in embedded Schematronrules, 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 shouldcheck this option for faster ISO Schematron validation.• Allow foreign elements (allow-foreign) - Enables support for allow-foreign on ISO Schematron. This optionis 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 querybinding. If not checked, Saxon PE will be used instead.Saxon EE ValidationThe Saxon EE Validation preferences panel is opened from menu Window > Preferences > <strong>Author</strong> > <strong>XML</strong> > <strong>XML</strong>Parser > Saxon EE Validation.The following options are available:• <strong>XML</strong> Schema version - allows you to select the version of W3C <strong>XML</strong> Schema for validation against <strong>XML</strong> Schemaperformed by the Saxon EE engine: <strong>XML</strong> Schema 1.0 or <strong>XML</strong> Schema 2.0.• <strong>XML</strong> Schema validation - Use Saxon EE as default <strong>XML</strong> Schema validation engine - you can set <strong>Oxygen</strong> <strong>XML</strong><strong>Author</strong> <strong>plugin</strong> to use Saxon EE as default <strong>XML</strong> Schema validator. If enabled it is used to validate <strong>XML</strong> Schemaand <strong>XML</strong> documents against an <strong>XML</strong> Schema. By default this option is turned off.XProc Engines<strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> comes with a built-in XProc engine called Calabash. An external XProc engine can beconfigured in this panel.When Show XProc messages is selected all messages emitted by the XProc processor during a transformation will bepresented in the results view.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!