Specific Support for Types Derived by Restriction
The following details HydraExpress’s level of support for complex schema types derived by restriction.
Supported:
*Types that use restriction with more restrictive facets, such as restricting the value set of a type (e.g., restricting an xsd:integer to values between 1 and 10).
*Restrictions that change the schema type, but do not result in a change in the C++ mapped type (e.g., restricting an xsd:integer to an xsd:positiveInteger).
Unsupported:
*Prohibiting previously optional types.
*Restricting maxOccurs from a value greater than one (including unbounded) to one occurrence.
*Restrictions that change the C++ mapped type, such as restricting from anyType.