/[pub]/test/html.dtd
Suika

Diff of /test/html.dtd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by connolly, Thu Jan 7 00:38:36 1993 UTC revision 1.4 by connolly, Wed Feb 3 21:30:13 1993 UTC
# Line 1  Line 1 
 <!SGML  "ISO 8879:1986"  
 --  
         Document Type Definition for the HyperText Markup Language  
         as used by the World Wide Web application (HTML DTD).  
   
         NOTE: This is a definition of HTML with respect to  
         SGML, and assumes an understaning of SGML terms.  
   
         For a description of HTML in layman's terms, see  
   
         "HTML: A Representation for Nodes in the World Wide Web"  
                 by Dan Connolly.  
   
         aka  
   
         http://info.cern.ch/hypertext/WWW/MarkUp/MarkUp.html  
                 by <connolly@convex.com>  
 --  
   
 CHARSET  
          BASESET  "ISO 646:1983//CHARSET  
                    International Reference Version (IRV)//ESC 2/5 4/0"  
          DESCSET  0   9   UNUSED  
                   9   2   9  
                   11  2   UNUSED  
                   13  1   13  
                   14  18  UNUSED  
                   32  95  32  
                   127 1   UNUSED  
   
 CAPACITY        SGMLREF  
                 TOTALCAP        150000  
                 GRPCAP          150000  
     
 SCOPE    DOCUMENT  
 SYNTAX    
          SHUNCHAR CONTROLS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18  
                            19 20 21 22 23 24 25 26 27 28 29 30 31 127 255  
          BASESET  "ISO 646:1983//CHARSET  
                    International Reference Version (IRV)//ESC 2/5 4/0"  
          DESCSET  0 128 0  
          FUNCTION RE          13  
                   RS          10  
                   SPACE       32  
                   TAB SEPCHAR  9  
          NAMING   LCNMSTRT ""  
                   UCNMSTRT ""  
                   LCNMCHAR ".-"  
                   UCNMCHAR ".-"  
                   NAMECASE GENERAL YES  
                            ENTITY  NO  
          DELIM    GENERAL  SGMLREF  
                   SHORTREF SGMLREF  
          NAMES    SGMLREF  
          QUANTITY SGMLREF  
                   NAMELEN  34  
                   TAGLVL   100  
                   LITLEN   1024  
                   GRPGTCNT 150  
                   GRPCNT   64                    
   
 FEATURES  
   MINIMIZE  
     DATATAG  NO  
     OMITTAG  NO  
     RANK     NO  
     SHORTTAG NO  
   LINK  
     SIMPLE   NO  
     IMPLICIT NO  
     EXPLICIT NO  
   OTHER  
     CONCUR   NO  
     SUBDOC   NO  
     FORMAL   YES  
   APPINFO    NONE  
 >  
   
 <!DOCTYPE HTML [  
1  <!--  <!--
2   $Id$   $Id$
3  -->  -->
4    
5  <!--    Regarding clause 6.1, SGML Document:  <!--    Regarding clause 6.1, SGML Document:
6    
7          [1] SGML document = SGML document entity,          [1] SGML document = SGML document entity,
8              (SGML subdocument entity |              (SGML subdocument entity |
9              SGML text entity | non-SGML data entity)*              SGML text entity | non-SGML data entity)*
10    
11          The role of SGML document entity is filled by this DTD,          The role of SGML document entity is filled by this DTD,
12          followed by the conventional HTML data stream.          followed by the conventional HTML data stream.
13  -->  -->
14    
15  <!-- DTD definitions -->  <!-- DTD definitions -->
# Line 98  FEATURES Line 19  FEATURES
19  <!ENTITY % literal "XMP|LISTING">  <!ENTITY % literal "XMP|LISTING">
20    
21  <!ENTITY % headelement  <!ENTITY % headelement
22           "TITLE | NEXTID | ISINDEX" >           "TITLE | NEXTID | ISINDEX" >
23    
24  <!ENTITY % bodyelement  <!ENTITY % bodyelement
25           "P | A | %heading |           "P | %heading |
26           %list | DL | HEADERS | ADDRESS | PRE | BLOCKQUOTE           %list | DL | HEADERS | ADDRESS | PRE | BLOCKQUOTE
27          | %literal">          | %literal">
28    
29  <!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA">  <!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA">
30    <!ENTITY % URL "CDATA"
31  <!-- Characters from various Latin alphabets. -->          -- The term URL means a CDATA attribute
32  <!ENTITY % ISOlat1 PUBLIC             whose value is a Universal Resource Locator,
33          "ISO 8879:1986//ENTITIES Added Latin 1//EN">             as defined in ftp://info.cern.ch/pub/www/doc/url3.txt
34  %ISOlat1;          -->
35    
36    <!ENTITY % linkattributes
37            "NAME NMTOKEN #IMPLIED
38            HREF %URL; #IMPLIED
39            TYPE NAME #IMPLIED -- type of relashionship to referent data:
40                                    PARENT CHILD, SIBLING, NEXT, TOP,
41                                     DEFINITION, UPDATE, ORIGINAL etc. --
42            URN CDATA #IMPLIED -- universal resource number. unique doc id --
43            TITLE CDATA #IMPLIED -- advisory only --
44            METHODS NAMES #IMPLIED -- supported methods of the object:
45                                            TEXTSEARCH, GET, HEAD, ... --
46            ">
47    
48  <!-- Document Element -->  <!-- Document Element -->
49    
50  <!ELEMENT HTML O O  (HEAD | BODY | %oldstyle)*>  <!ELEMENT HTML O O  ((HEAD | BODY | %oldstyle)*, PLAINTEXT?)>
51    
52  <!ELEMENT HEAD - -  (TITLE? & ISINDEX? & NEXTID?)>  <!ELEMENT HEAD - -  (TITLE? & ISINDEX? & NEXTID? & LINK*)>
53  <!-- LINK element (from timbl) -->  
54  <!ATTLIST HEAD  <!ELEMENT TITLE - -  RCDATA
55          EXPIRES NUMBER #IMPLIED -- expiration date            -- The TITLE element is not considered part of the flow of text.
56                                  in ISO format: yyyymmddhhmmssZ --               It should be displayed, for example as the page header or
57          >               window title.
58              -->
 <!ELEMENT TITLE - -  RCDATA  
           -- The TITLE element is not considered part of the flow of text.  
              It should be displayed, for example as the page header or  
              window title.  
           -->  
59    
60  <!ELEMENT ISINDEX - O EMPTY  <!ELEMENT ISINDEX - O EMPTY
61            -- WWW clients should offer the option to perform a search on            -- WWW clients should offer the option to perform a search on
62               documents containing ISINDEX.               documents containing ISINDEX.
63            -->            -->
64    
65  <!ELEMENT NEXTID - O EMPTY>  <!ELEMENT NEXTID - O EMPTY>
66  <!ATTLIST NEXTID N NUMBER #REQUIRED  <!ATTLIST NEXTID N NUMBER #REQUIRED
67            -- The number should be the highest number that appears in            -- The number should be the highest number that appears in
68               any NAME attribute in the document.               any NAME attribute in the document.
69            -->            -->
70            
71    <!ELEMENT LINK - O EMPTY>
72    <!ATTLIST LINK
73            %linkattributes>
74            
75  <!ENTITY % inline "EM | TT | STRONG | B | I | U |  <!ENTITY % inline "EM | TT | STRONG | B | I | U |
76                          CODE | SAMP | KBD | KEY | VAR | DFN | CITE "                          CODE | SAMP | KBD | KEY | VAR | DFN | CITE "
77          >          >
78    
79  <!ELEMENT (%inline;) - - (#PCDATA)>  <!ELEMENT (%inline;) - - (#PCDATA)>
80    
81  <!ENTITY % text "#PCDATA | %inline;">  <!ENTITY % hypertext "#PCDATA | %inline; | A">
82    
83  <!ELEMENT BODY - -  (%bodyelement|%text;)*>  <!ELEMENT BODY - -  (%bodyelement|%hypertext;)*>
   
 <!ENTITY % URL "CDATA"  
         -- The term URL means a CDATA attribute  
            whose value is a Universal Resource Locator,  
            as defined in ftp://info.cern.ch/pub/www/doc/url3.txt  
         -->  
84    
85  <!ELEMENT A     - -  (#PCDATA)>  <!ELEMENT A     - -  (#PCDATA)>
86  <!ATTLIST A  <!ATTLIST A
87          NAME NMTOKEN #IMPLIED          %linkattributes;
88          HREF %URL; #IMPLIED          >
89          TYPE NAME #IMPLIED -- type of relashionship to referent data:  
90                                  PARENT CHILD, SIBLING, NEXT, TOP,  <!ELEMENT P     - O EMPTY -- separates paragraphs -->
91                                   DEFINITION, UPDATE, ORIGINAL etc. --  
92          URN CDATA #IMPLIED -- universal resource number. unique doc id --  <!ELEMENT (%heading)    - -  (%hypertext;)+>
93          TITLE CDATA #IMPLIED -- advisory only --  
94          METHODS NAMES #IMPLIED -- supported methods of the object:  <!ELEMENT DL    - -  (DT | DD | P | %hypertext;)*>
95                                          TEXTSEARCH, GET, HEAD, ... --  <!--    Content should match ((DT,(%hypertext;)+)+,(DD,(%hypertext;)+))
96          >          But mixed content is messy.
   
 <!ELEMENT P     - O EMPTY -- separates paragraphs -->  
   
 <!ELEMENT (%heading)    - -  (%text;|A)+>  
   
 <!ELEMENT HEADERS - - (DT | #PCDATA | DD | A)+>  
 <!ELEMENT DL    - -  (DT | DD | A | P | %text;)*>  
 <!--    Content should match ((DT,(A|%text;)+)+,(DD,(A|%text;)+))  
         But mixed content is messy.  
97    -->    -->
98    <!ATTLIST DL
99            STYLE NAME #IMPLIED -- COMPACT, etc.--
100            >
101    
102  <!ELEMENT DT    - O EMPTY>  <!ELEMENT DT    - O EMPTY>
103  <!ELEMENT DD    - O EMPTY>  <!ELEMENT DD    - O EMPTY>
104    
105  <!ELEMENT (%list) - -  (%text;|LI|A|P)+>  <!ELEMENT (UL|OL) - -  (%hypertext;|LI|P)+>
106  <!--    Content should match ((LI,(A|%text;)+)+)  <!ELEMENT (DIR|MENU) - -  (%hypertext;|LI)+>
107          But mixed content is messy.  <!--    Content should match ((LI,(%hypertext;)+)+)
108            But mixed content is messy.
109    -->    -->
 <!ATTLIST (%list)  
         STYLE NAME #IMPLIED -- COMPACT, etc.--  
         >  
110    
111  <!ELEMENT LI    - O EMPTY>  <!ELEMENT LI    - O EMPTY>
112    
113  <!ELEMENT BLOCKQUOTE - - (%text;|A|P|ADDRESS)+  <!ELEMENT BLOCKQUOTE - - (%hypertext;|P)+
114          -- for quoting some other source -->          -- for quoting some other source -->
115  <!ATTLIST BLOCKQUOTE  <!ATTLIST BLOCKQUOTE
116          SOURCE CDATA #IMPLIED          SOURCE CDATA #IMPLIED -- URL of source --
117          >          >
118    
119  <!ELEMENT ADDRESS - - (%text;|A|P)+>  <!ELEMENT ADDRESS - - (%hypertext;|P)+>
120    
121  <!ELEMENT PRE - - (#PCDATA|A|P)+>  <!ELEMENT PRE - - (#PCDATA | A | B | I | U | P)+>
122  <!ATTLIST PRE  <!ATTLIST PRE
123          WIDTH NUMBER #implied          WIDTH NUMBER #implied
124          >          >
125    
126    
127    <!-- Mnemonic character entities. -->
128    <!ENTITY AElig "&#198;" -- capital AE diphthong (ligature) -->
129    <!ENTITY Aacute "&#193;" -- capital A, acute accent -->
130    <!ENTITY Acirc "&#194;" -- capital A, circumflex accent -->
131    <!ENTITY Agrave "&#192;" -- capital A, grave accent -->
132    <!ENTITY Aring "&#197;" -- capital A, ring -->
133    <!ENTITY Atilde "&#195;" -- capital A, tilde -->
134    <!ENTITY Auml "&#196;" -- capital A, dieresis or umlaut mark -->
135    <!ENTITY Ccedil "&#199;" -- capital C, cedilla -->
136    <!ENTITY ETH "&#208;" -- capital Eth, Icelandic -->
137    <!ENTITY Eacute "&#201;" -- capital E, acute accent -->
138    <!ENTITY Ecirc "&#202;" -- capital E, circumflex accent -->
139    <!ENTITY Egrave "&#200;" -- capital E, grave accent -->
140    <!ENTITY Euml "&#203;" -- capital E, dieresis or umlaut mark -->
141    <!ENTITY Iacute "&#205;" -- capital I, acute accent -->
142    <!ENTITY Icirc "&#206;" -- capital I, circumflex accent -->
143    <!ENTITY Igrave "&#204;" -- capital I, grave accent -->
144    <!ENTITY Iuml "&#207;" -- capital I, dieresis or umlaut mark -->
145    <!ENTITY Ntilde "&#209;" -- capital N, tilde -->
146    <!ENTITY Oacute "&#211;" -- capital O, acute accent -->
147    <!ENTITY Ocirc "&#212;" -- capital O, circumflex accent -->
148    <!ENTITY Ograve "&#210;" -- capital O, grave accent -->
149    <!ENTITY Oslash "&#216;" -- capital O, slash -->
150    <!ENTITY Otilde "&#213;" -- capital O, tilde -->
151    <!ENTITY Ouml "&#214;" -- capital O, dieresis or umlaut mark -->
152    <!ENTITY THORN "&#222;" -- capital THORN, Icelandic -->
153    <!ENTITY Uacute "&#218;" -- capital U, acute accent -->
154    <!ENTITY Ucirc "&#219;" -- capital U, circumflex accent -->
155    <!ENTITY Ugrave "&#217;" -- capital U, grave accent -->
156    <!ENTITY Uuml "&#220;" -- capital U, dieresis or umlaut mark -->
157    <!ENTITY Yacute "&#221;" -- capital Y, acute accent -->
158    <!ENTITY aacute "&#225;" -- small a, acute accent -->
159    <!ENTITY acirc "&#226;" -- small a, circumflex accent -->
160    <!ENTITY aelig "&#230;" -- small ae diphthong (ligature) -->
161    <!ENTITY agrave "&#224;" -- small a, grave accent -->
162    <!ENTITY amp "&#38;" -- ampersand -->
163    <!ENTITY aring "&#229;" -- small a, ring -->
164    <!ENTITY atilde "&#227;" -- small a, tilde -->
165    <!ENTITY auml "&#228;" -- small a, dieresis or umlaut mark -->
166    <!ENTITY ccedil "&#231;" -- small c, cedilla -->
167    <!ENTITY eacute "&#233;" -- small e, acute accent -->
168    <!ENTITY ecirc "&#234;" -- small e, circumflex accent -->
169    <!ENTITY egrave "&#232;" -- small e, grave accent -->
170    <!ENTITY eth "&#240;" -- small eth, Icelandic -->
171    <!ENTITY euml "&#235;" -- small e, dieresis or umlaut mark -->
172    <!ENTITY gt "&#62;" -- greater than -->
173    <!ENTITY iacute "&#237;" -- small i, acute accent -->
174    <!ENTITY icirc "&#238;" -- small i, circumflex accent -->
175    <!ENTITY igrave "&#236;" -- small i, grave accent -->
176    <!ENTITY iuml "&#239;" -- small i, dieresis or umlaut mark -->
177    <!ENTITY lt "&#60;" -- less than -->
178    <!ENTITY ntilde "&#241;" -- small n, tilde -->
179    <!ENTITY oacute "&#243;" -- small o, acute accent -->
180    <!ENTITY ocirc "&#244;" -- small o, circumflex accent -->
181    <!ENTITY ograve "&#242;" -- small o, grave accent -->
182    <!ENTITY oslash "&#248;" -- small o, slash -->
183    <!ENTITY otilde "&#245;" -- small o, tilde -->
184    <!ENTITY ouml "&#246;" -- small o, dieresis or umlaut mark -->
185    <!ENTITY szlig "&#223;" -- small sharp s, German (sz ligature) -->
186    <!ENTITY thorn "&#254;" -- small thorn, Icelandic -->
187    <!ENTITY uacute "&#250;" -- small u, acute accent -->
188    <!ENTITY ucirc "&#251;" -- small u, circumflex accent -->
189    <!ENTITY ugrave "&#249;" -- small u, grave accent -->
190    <!ENTITY uuml "&#252;" -- small u, dieresis or umlaut mark -->
191    <!ENTITY yacute "&#253;" -- small y, acute accent -->
192    <!ENTITY yuml "&#255;" -- small y, dieresis or umlaut mark -->
193    
194  <!-- deprecated elements -->  <!-- deprecated elements -->
195    
196  <!ELEMENT (%literal) - -  RCDATA>  <!ELEMENT (%literal) - -  CDATA>
197    
198  <!ELEMENT PLAINTEXT - O EMPTY>  <!ELEMENT PLAINTEXT - O EMPTY>
199    
# Line 216  FEATURES Line 201  FEATURES
201  <!-- mode: sgml -->  <!-- mode: sgml -->
202  <!-- compile-command: "sgmls -s -p " -->  <!-- compile-command: "sgmls -s -p " -->
203  <!-- end: -->  <!-- end: -->
 ]>  

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24