Follow these steps for creating a validation scenario:
To open the Configure Validation Scenario dialog, go to
. You can also open this dialog from the Validate toolbar.
The following dialog is displayed. It contains the following types of scenarios:
Configure Validation Scenario
Press the New button to add a new scenario.
Press the Add button to add a new validation unit with default
The dialog that lists all validation units of the scenario is opened.
Add / Edit a Validation Unit
The table holds the following information:
- Storage - allows you to create a scenario at project level,
or as global;
- URL of the file to validate - the URL of the main module
which includes the current module. It is also the entry module of the validation
process when the current one is validated;
- File type - the type of the document validated in the current
validation unit. Oxygen XML Editor
automatically selects the file type depending on the value of the URL of
the file to validate field;
- Validation engine - one of the engines available in Oxygen XML Editor for
validation of the type of document to which the current module belongs.
Default engine is the default setting and means that the
default engine executes the validation. This engine is set in
Preferences pages for the type of the current document (XML
document, XML Schema, XSLT stylesheet, XQuery file, and others) instead of a
- Automatic validation - if this option is checked, then the
validation operation defined by this row of the table is applied also by the automatic validation
Automatic validation feature is disabled in Preferences
then this option does not take
effect as the Preference setting has higher priority;
- Schema - active when you set the File
type to XML Document;
- Settings - contains an action that allows you to set a
schema, when validating XML documents, or a list of extensions when validating XSL or
Edit the URL of the main validation module.
Specify the URL of the main module:
- browsing for a local, remote, or archived file;
- using an editor variable or a
custom editor variable,
available in the following pop-up menu, opened after pressing the button:
Insert an Editor Variable
Select the type of the validated document.
Note that it determines the list of possible validation engines.
Select the validation engine.
Select the Automatic validation option if you want to validate
the current unit when automatic validation
feature is turned on in Preferences.
Choose what schema is used during validation: the one detected after parsing the
document or a custom one.