The Custom Validation preferences panel is opened from menu Editor+Custom Validation
→ → +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
or buttons.The name of the custom validation tool displayed in the External Validation toolbar
The path to the executable file of the external validation tool. You can insert here editor variables like ${homeDir}
, ${pd}
, etc.
The working directory of the external validation tool. The following editor variables can be used:
${homeDir}
The path to user home directory
${pd}
Project directory
${oxygenInstallDir}
Oxygen installation directory
The editors which can perform validation with the external tool.
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)