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.