Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.9.1
-
None
Description
In Xerces 2.8.0 we introduced a property called "http://apache.org/xml/properties/validation/schema/root-type-definition" which allows a user to specify the type definition to use for validating the validation root (not necessarily the root element of the document). Given that we defined the value to be a QName it's currently only possible to idenitfy global type defnitions. If the user has acquired an XSTypeDefinition from the XSModel we should also allow this to be set as the value of the property. This makes it possible to select an anonymous type definition for validating the root.