In this module all recognition modes are defined. In SGML delimiter recognition is done in several modes. In each mode a specified set of delimiters is recognized. See also the Standard 9.6, pages 30-32. However, the modes defined in the Standard were not sufficient, so more modes are defined. The modes COM, CON, CXT, DS, GRP, MD, PI, REF and TAG are defined in the Standard. The mode LIT from the standard is divided into the modes MODE_LIT and MODE_LITA, which correspond to a literal started with a LIT and a LITA delimiter. Each of MODE_LIT and MODE_LITA is splitted in two modes. One of them recognizes a PERO delimiter, while the other recognizes an ERO delimiter. MODE_SGML is used in the SGML declaration. In this mode all keywords that only occur in an SGML declaration are recognized. The modes MODE_RCDATA, and MODE_CDATA are used in an element declared to be CDATA or RCDATA. The modes MODE_IGNORE, MODE_MARKED_CDATA and MODE_MARKED_RCDATA are used in marked sections.