Menu

#916 minLength=1 on a type derived from NMTOKENS

v9.1
closed
5
2012-10-08
2009-01-19
Michael Kay
No

The three built-in list types NMTOKENS, IDREFS, and ENTITIES all impose a minumum length of 1. This constraint is not being carried through to user-defined list types derived by restriction from one of these three types.

A patch on the 9.1 branch is being placed in the Saxon-SA Subversion repository. Affects modules UserSimpleType and UserListType.

Discussion

  • Michael Kay

    Michael Kay - 2009-01-19

    test case added, in xsdtests, extra020

     
  • Michael Kay

    Michael Kay - 2009-03-17

    Fixed in 9.1.0.6