validateOnLoad

When validateOnLoad is set Xopus will validate the whole document when it is loaded. By default Xopus will assume that the loaded document is schema valid.

When validateOnLoad is set to false and the loaded XML is actually invalid, Xopus will not work properly. Errors will occur in this case. Make sure that your XML is valid. Xopus cannot correct invalid documents, you will have to do this yourself.

<x:validation>
   <x:validateOnLoad>true</x:validateOnLoad>
   <x:validateSimpleTypes>true</x:validateSimpleTypes>
</x:validation>

Values

true

The default value. Will cause Xopus to validate this document.

false

Will prevent Xopus from validating this document. This will improve startup performance.


validateOnLoad element

Namespace: http://www.xopus.com/xmlns/config

Parent Elements

validation

History

version event
Xopus 4 Unavailable.
Xopus 3.x Introduction.
Xopus 3.2.x Unavailable. Enabled <validateOnLoad> for all configurations. This is no longer configurable.