| Validating XML Documents / Validating XML Documents Against a Schema | |
Use one of the actions for validating the currently edited document:
Validate button from the Validate toolbar. An error
list is presented in the message panel. Mark-up 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) button from the Validate toolbar. This action
caches the schema, allowing it to be reused for the next validation. Mark-up of the current
document is checked to conform with the specified DTD, XML Schema or Relax NG schema
rules.
Validate with button from the Validate toolbar. 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. Mark-up of current document is checked to conform
with the specified schema rules. The
Validate with action does not work for files loaded through an
Oxygen XML Editor custom protocol
plugin developed independently and added to Oxygen XML Editor after
installation.
Open
External Schema button from the Document toolbar to
open the schema used for validating the current document in a new editor.The
Validation options button available on the Validate
toolbar allows quick access to the validation
options of the built-in validator in the Oxygen XML Editor user preferences
page.
Also you can select several files in the Project panel 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 the Project view.
In case too many validation errors are detected and the validation process takes too long, you can limit the maximum number of reported errors from the Preferences page.