Using an XSD extension for validation
By default, the UserArea is an 'AnyType', because the UserArea can contain any data: standard properties, your custom structure, or anything else. In this default situation, a BOD normally validates successfully against the BOD XSD, independent of the contents of the UserArea. If you defined a UserArea extension XSD in the Data Catalog, to use the XSD for validating your BOD XML, you must ensure the validator can find the XSD extension.
To achieve this:
After completing these steps
you can validate the BOD XML against the BOD XSD. In this case, for example, validate
the BOD XML against SyncContract.xsd.
Note: Validation can
help when you set up and test a customization, but reduces performance. Therefore,
if possible, avoid validation of all messages sent or received by your application.
The ION Service also does not validate the
BODs against the XSDs as defined in the Data Catalog.