The number of units allowed in a value
For strings (string,
normalizedString, token,
QName, NCname,
ID, IDREF,
language, anyURI, ENTITY,
NOTATION, and NMTOKEN)
the units are characters
For lists (IDREFS, ENTITIES,
and
NMTOKENS) the units are tokens
For binary types (hexBinary, base64Binary)
the units are bytes after decoding
Must be a non-negative integer
For example, to say that all names and titles must contain between 1 and 255 characters:
In compact syntax: