10. checkValidity
Prev | Chapter 6. Commands written in the Java™ programming language | Next

## 10. checkValidity

    [ 'filterDuplicateIDs' ]?

Checks the validity of the document and, if validity errors are found, displays a modal dialog box (similar to the Validity tool) listing them. If there is no validity error, this command just displays an OK message.

If option `filterDuplicateIDs` is specified, false duplicate ID errors due to the multiple inclusions of the same elements are removed from the list displayed to the user.

This command has been added mainly to make it easier building simple XML editors using XXE components (that is, not XXE itself).

Prev | Up | Next
9. center | Home | 11. confirm