Skip to main content

Runtime Instance Validation Against Structure Definitions

Structure validation is the act of checking the values of an instance document against the element specifications defined by the structure, such as checking that the number of characters inside of an element does not exceed its size constraints. Custom validation checks are possible using the Expression Trees.

Because the additional checks associated with structure validation can add significant processing time, especially in large structures, structure validation is turned off by default. You can use the preferences to enable structure validation.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!