The Custom Validation Engines preferences panel is opened from menu .
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.
- 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} - Current file as file path, that is the
absolute file path of the current edited document.
- ${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.