SGML Terminal Constants

Copyright © 1996 Harvey Bingham

The terminal constants represent character classes common to all SGML documents. The terminal constants are described in ISO 8879-1986,

Figure 1 Character Classes: Abstract Syntax {9.2.1, 345:0}

Each production in which a terminal variable is used is shown by a triple:

syntactic variable name {locator}
[production number]{locator}

Syntactic variable name is that defined in the SGML Syntax Summary. [production number] is linked to the definition therein of that syntactic variable. The {subclause, page:line} locator refers to the subclause from ISO 8879, repeated in both the Syntax Summary, and in Goldfarb, The SGML Handbook; to which also the page:line refer.

A terminal constant appears in a production as a bold string with mixed case, such as LC Letter.

Digit 0 1 2 3 4 5 6 7 8 9 (ASCII 48...57)
name character[52]{9.2.1, 345:8}
number[56]{9.3, 347:1}
number token[58]{9.3, 347:5}
minimum data character[78]{10.1.7, 381:10}
Ee The Entity End is a signal, and is never treated as data.
SGML document entity[2]{6.2, 295:13}
SGML subdocument entity[3]{6.2, 296:1}
SGML text entity[4]{6.2, 296:5}
character data entity[5.1]{6.3, 300:1}
specific character data entity[5.2]{6.3, 300:4}
non-SGML data entity[6]{6.3, 300:7}
other content[27]{7.6, 320:14}
replaceable character data[46]{9.1, 343:1}
ps[65]{10.1.1, 372:1}
replaceable parameter data[67]{10.1.2, 373:8}
ts[70]{10.1.3, 375:3}
ds[71]{10.1.4, 376:1}
LC Letter a b c d e f g h i j k l m n o p q r s t u v w x y z (ASCII 97...122)
name start character[53]{9.2.1, 346:3}
minimum data character[78]{10.1.7, 381:10}
Special ' ( ) + , - . / : = ? (ASCII 39 40 41 43 44 45 46 47 58 61 63)
minimum data character[78]{10.1.7, 38 1:10}
UC Letter A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (ASCII 65...90)
name start character[53]{9.2.1, 346:3}
minimum data character[78]{10.1.7, 381:10}

Original SGML Syntax Summary 8 June 1988
Corrected 10 January 1992
Expanded and converted to HTML 26 Mar 1996
Updated 28 May 1996
Changed return mail 8 Nov 1996

Harvey Bingham's home page
email hbingham@ACM.org

Copyright restrictions:
This material may be used freely for the purposes of studying SGML and promoting its application. This copyright notice shall be included in any subsequent copies. The author reserves the right to update this material and to determine the primary server on which it is available.