| Validating XML Documents / Validating XML Documents Against a Schema | |
To validate the currently edited document, use one of the following methods:
Validate
(Alt +
Shift + V, V) action from the
XML menu, from the
Validation toolbar drop-down menu, or from the
Validate submenu when invoking the contextual menu in the
Navigator
view. An error list is presented in the message panel. Markup of 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) action from the XML menu or from the
Validation toolbar drop-down 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.
Validation toolbar drop-down menu, or from the
Validate submenu when invoking the contextual menu in the
Navigator
view. 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. Markup of current document is checked to
conform with the specified schema rules. To open the schema used for validating the current document, select the
Open Associated Schema
action from the 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
Navigator view .