#372 User-defined list type derived from built-in list type

v8.4
closed
Michael Kay
5
2012-10-08
2005-06-27
Michael Kay
No

The Saxon schema processor does not allow a
user-defined List type to be derived by restriction
from one of the built-in List types (NMTOKENS, IDREFS,
or ENTITIES). The schema processor fails during schema
compilation with a ClassCastException.

Source code fixed.

Note: this problem occurs with the schema for
XHTML-transitional: the offending type is named
LinkTypes. As a circumvention, change the places where
LinkTypes is used to use xs:NMTOKENS directly, and
remove the definition of LinkTypes.

Discussion