Use one of the actions for validating the current document:
- Select menu or click the button
Validate Document available
in the Validate toolbar. This action returns an error list in
the message panel. Mark-up of current document is checked to conform with the
specified DTD, XML Schema or Relax NG schema rules. It caches the schema and the
next execution of the action uses the cached schema.
- Select menu or click the button
Reset Cache and
Validate available in the Validate toolbar
to reset the cache with the schema and validate the document. This action also
parses again the XML catalogs and reset the schema used for content completion. It
returns an error list in the message panel. Mark-up of current document is checked
to conform with the specified DTD, XML Schema or Relax NG schema rules.
- Select menu or click the button
Validate with
available in the Validate toolbar. This action can be used to
validate the current document using a selectable schema (XML Schema, DTD, Relax NG,
NVDL, Schematron schema). It returns an error list in the message panel. Mark-up of
current document is checked to conform with the specified schema rules.
- Select submenu in the contextual menu of
Navigator or
Package Explorer view, to validate all selected
files with their declared schemas.
- Select submenu of the contextual menu of
Navigator or
Package Explorer view, to select a schema and
validate all selected files with that schema.
- Select menu or click the toolbar button
Clear Validation Markers
to clear the error markers added to the Problems
view at the last validation of the current edited document.
- Select the submenu of the contextual menu of
Navigator or
Package Explorer view, to configure and apply a
validation scenario in one action to all the selected files in the
Navigator or
Package Explorer view.
Also you can select several files in
the views Package
Explorer or Navigator
and validate them with one click by selecting the action Validate
selection, the action Validate selection with Schema
... or the action Configure Validation Scenario
... available from the contextual menu of
that view, the submenu Batch
Validate.
If there are too many validation errors and the validation process takes too long, you
can limit the maximum number of
reported errors in Preferences.