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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Editing Documents | 60A second benefit of a validation scenario is that the stylesheet can be validated with several engines to make sure thatit can be used in different environments with the same results. For example an XSLT stylesheet needs to be applied withSaxon 6.5, Xalan and MS<strong>XML</strong> 4.0 in different production systems.Other examples of documents which can benefit of a validation scenario are:• A complex XQuery with a main module which imports modules developed independently but validated in the contextof the main module of the query. In an XQuery validation scenario the default validator of <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong><strong>plugin</strong> (Saxon 9) or any connection to a database that supports validation (Berkeley DB <strong>XML</strong> Database, eXist <strong>XML</strong>Database, Software AG Tamino, Documentum xDb (X-Hive/DB) 10 <strong>XML</strong> Database) can be set as validation engine.• An <strong>XML</strong> document in which the master file includes smaller fragment files using <strong>XML</strong> entity references.How to Create a Validation ScenarioFollow these steps for creating a validation scenario:1. Open the Configure Validation Scenario dialog from menu <strong>XML</strong> or from the toolbar of the <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong><strong>plugin</strong> <strong>plugin</strong>.The following dialog is displayed. It contains the following types of scenarios:• Default validation scenario validates the input using <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong> default validation optionsthat apply to the type of the current document;• Predefined scenarios are organized in categories depending on the type of file they apply to and can be easilyidentified by a yellow key icon that marks them as read-only. If the predefined scenario is the framework's defaultscenario its name is written in bold font. If you try to edit one of these scenarios, <strong>Oxygen</strong> <strong>XML</strong> <strong>Author</strong> <strong>plugin</strong>creates a customizable duplicate;• User defined scenarios are organized under a single category, but you can use the drop-down option box to filterthem by the type of file they validate.Figure 30: Configure Validation Scenario2. Press the New button to add a new scenario.3. Press the Add button to add a new validation unit with default settings.The dialog that lists all validation units of the scenario is opened.

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

Saved successfully!

Ooh no, something went wrong!