Manual Validation Actions
Manual Validation Actions
To manually validate the currently edited document, use one of the following actions:
Validate
-
Available from the
Validation drop-down menu on the toolbar, the XML menu, or from the Validate submenu when invoking the contextual menu in the ProjectProject Explorer view.
An error list is presented in the message panel at the bottom of the editor. Markup of the current document is checked to conform with the specified DTD, XML Schema, or Relax NG schema rules. This action also re-parses the XML Catalogs and resets the schema used for content completion.
Validate (cached)
-
Available from the
Validation drop-down menu on the toolbar or the XML menu.
This action caches the schema, allowing it to be reused for the next validation. Markup of the current document is checked to conform with the specified DTD, XML Schema, or Relax NG schema rules.Note:Automatic validation also caches the associated schema. - Validate with
-
Available from the
Validation drop-down menu on the toolbar, (or XML menu).
This action opens a dialog box that allows you to specify a schema for validating the current document.
You can use this action to validate the current document using a schema of your choice (XML Schema, DTD, Relax NG, NVDL, Schematron schema), other than the associated one. An error list is presented in the message panel at the bottom of the editor. Markup of current document is checked to conform with the specified schema rules.
Note:The Validate with action does not work for files loaded through a custom protocol plugin developed independently and added to Oxygen XML after installation. - Validate with Schema
-
Available from the Validate submenu when invoking contextual menu in the ProjectProject Explorer view.
This action opens a dialog box that allows you to specify a schema for validating all selected files.
Other Validation Options
To clear the error markers added to
the Problems view in the last validation, select Clear Validation Markers
from the Validate submenu when invoking the contextual menu in the
Project Explorer view.
The Validation options button, available in the menu, allows you to quickly access to the validation options for the built-in validator in
the Oxygen XML preferences page.