These functions determine the class to which a character belongs. These classes are described in the Standard. Figure 1 on page 29 defines the basic classes: Digit, Lc/Uc Letter, Special. Figure 2 on page 30 defines DATACHAR, DELMCHAR, FUNCHAR, LCNMCHAR, LCNMSTRT, MSICHAR, MSOCHAR, MSSCHAR, RE, RS, SEPCHAR, SPACE, UCNMSTRT, LCNMSTRT. NONSGML is defined in the SGML declaration. The other classes are defined in several rules in the Standard:
s rule 5, page 22 data character rule 48, page 28 SGML character rule 50, page 28 markup character rule 51, page 28 name character rule 52, page 28 name start character rule 53, page 28 function character rule 54, page 28These functions are used by the lexical analyser to determine the kind of token that it has read. These functions are used also for checks on attribute values.