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 Project 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.
- Validate with Schema
-
Available from the Validate submenu when invoking contextual menu in the Project Explorer view.
This action opens a dialog box that allows you to specify a schema for validating all selected files.
Other Validation Options
To quickly open the schema used for validating the current document, select the Open Associated Schema action from the toolbar (or XML menu).
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.