Validation of XML Instances
When validation is turned off (default):
- The response XML instances have namespace and schema reference.
- The output format of repository record attributes in the XML response of repository record actions add, modify and validate.
When validation is turned on:
- All the request XML instances contain namespace and schema reference.
- All the response XML instances contain namespace and schema reference.
- The responses for repository ’Add’ and ’Modify’ command types are returned in an attribute form and not the element form.
Namespace and Schema Reference
TIBCO MDM supports validation XML instances using namespaces. The namespaces allow for scoping of the XML elements so that name collisions do not occur when an application uses XML instances from multiple sources.
Inclusion of xsi:type
The XML schema design uses inheritance with extension model via xs:extension to add more elements or restrict the domain of values for schema components. Following this design, the EntityData element used in request and response XML documents must use the correct xsi:type in the XML request and response documents. The EntityData is a base type and the XML instance will contain specific types depending on the context. The implementation of web services is modified to include the xsi:type whenever a specific type needs to be present in the instance.