Custom Validation

The Custom Validation preferences panel is opened from menu WindowPreferencesoXygen+Editor+Custom Validation

Figure 21.34. Custom Validation preferences panel

Custom Validation preferences panel

If you want to add a new custom validation tool or edit the properties of an exiting one you can use the Custom Validator dialog displayed by pressing New or Edit buttons.

Figure 21.35. Custom validator dialog

Custom validator dialog

Name

Name of the custom validation tool displayed in the Custom Validation Engines toolbar

Executable path

Path to the executable file of the custom validation tool. You can insert here editor variables like ${homeDir}, ${pd}, etc.

Working directory

The working directory of the custom validation tool. The following editor variables can be used:

${homeDir}

The path to user home directory

${pd}

Project directory

${oxygenInstallDir}

<oXygen/> installation directory

Associated editors

The editors which can perform validation with the external tool.

Command line arguments for detected schemas

Command line arguments used to validate the current edited file against different types of schema (W3C XML Schema, Relax NG full syntax, Relax NG compact syntax, Namespace Routing Language, Schematron, DTD, other schema type). The arguments can include any custom switch (like -rng) and the editor variables:

${cf}

The path of the currently edited file

${cfu}

Path of current file (URL)

${ds}

The path of detected schema file

${dsu}

The path of detected schema file (URL)