XML Schema Limitations(3.2)

XML Schema Constructs not Supported

The following XML schema constructs are not supported in UFDL:


  • list type

  • complexType defined as an extension of a simpleType

  • group

  • nillable declarations

  • include

  • redefine

  • substitutionGroup


Validation against XML Schema Definition

XML input data is not fully validated against the XML Schema Definition, so you must ensure that your data is correct. For example, if maxOccurs is set to 1 you must ensure that that element does not occur more than once.

Support Limitations for Union and Restrictions

  • Range restrictions have been added to the following predefined types: byte, short, unsignedByte, unsignedShort, nonPositiveInteger, nonNegativeInteger, positiveInteger and negativeInteger. Range restrictions for the types that exceed the integer range, such as long, are not supported when using union type and restrictions.
  • Only string and integer types can be used as base in restrictions, e.g integer, byte, short, positiveInt.
  • A union can only be referred to via a ref to an element, not via a type.
  • The following restrictions are not supported: fractionDigits, totalDigits and whiteSpace.