The Custom Validation Engines preferences panel is opened from menu .
Custom Validation Engines 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 the
New button or the Edit button.
Edit a Custom Validator
The configurable parameters of a custom validator are the following:
- 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 ${home}, ${pd}, ${oxygenInstallDir}, etc.
- Working directory - The working directory of the custom validation
tool. The following editor variables can be used in this field:
- ${home} - The path to the user home directory.
- ${pd} - The current project directory.
- ${oxygenInstallDir} - The Oxygen installation
directory.
- Associated editors - The editors which can perform validation with
the external tool: the XML editor, the XSL editor, the XSD editor, etc.
- Command line arguments for detected schemas - Command line
arguments used in the commands that validate the current edited file against different types
of schema: W3C XML Schema, Relax NG full syntax, Relax NG compact syntax, NVDL, Schematron,
DTD, etc.. The arguments can include any custom switch (like -rng) and the
following editor variables:
- ${cf} - The path of the current file as a local file path.
- ${cfu} - The path of the current file as a URL.
- ${ds} - The path of the detected schema as a local file
path.
- ${dsu} - The path of the detected schema as a URL.