/[pub]/test/html.dtd
Suika

Diff of /test/html.dtd

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

revision 1.5 by connolly, Wed Mar 30 02:28:06 1994 UTC revision 1.7 by connolly, Fri Apr 1 19:21:25 1994 UTC
# Line 1  Line 1 
1  <!SGML  "ISO 8879:1986"  <!--    html.dtd
 --  
         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 [  
 <!--  
  $Id$  
 -->  
   
 <!--    Regarding clause 6.1, SGML Document:  
2    
3          [1] SGML document = SGML document entity,          Document Type Definition for the HyperText Markup Language
4              (SGML subdocument entity |          as used by the World Wide Web application (HTML DTD).
             SGML text entity | non-SGML data entity)*  
5    
6          The role of SGML document entity is filled by this DTD,          $Id$
         followed by the conventional HTML data stream.  
7  -->  -->
8    
9  <!-- DTD definitions -->  <!-- DTD definitions -->
10    
11  <!ENTITY % heading "H1|H2|H3|H4|H5|H6" >  <!ENTITY % heading "H1|H2|H3|H4|H5|H6" >
12  <!ENTITY % list "UL|OL|DIR|MENU">  <!ENTITY % list " UL | OL | DIR | MENU ">
13  <!ENTITY % literal "XMP|LISTING">  <!ENTITY % literal " XMP | LISTING ">
14    
15  <!ENTITY % headelement  <!ENTITY % headelement
16           "TITLE | NEXTID | ISINDEX" >           " TITLE | NEXTID |ISINDEX" >
17    
18  <!ENTITY % bodyelement  <!ENTITY % bodyelement
19           "P | A | %heading |           "P | HR | %heading |
20           %list | DL | HEADERS | ADDRESS | PRE | BLOCKQUOTE           %list | DL | ADDRESS | PRE | BLOCKQUOTE
21          | %literal">          | %literal">
22    
23  <!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA">  <!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA">
24    
25  <!-- Characters from various Latin alphabets. -->  <!ENTITY % URL "CDATA"
26  <!ENTITY % ISOlat1 PUBLIC          -- The term URL means a CDATA attribute
27          "ISO 8879:1986//ENTITIES Added Latin 1//EN">             whose value is a Uniform Resource Locator,
28  %ISOlat1;             as defined. (A URN may also be usable here when defined.)
29            -->
30    
31    <!ENTITY % linkattributes
32            "NAME NMTOKEN #IMPLIED
33            HREF %URL;  #IMPLIED
34            REL CDATA #IMPLIED -- forward relationship type --
35            REV CDATA #IMPLIED -- reversed relationship type
36                                  to referent data:
37    
38                                    PARENT CHILD, SIBLING, NEXT, TOP,
39                                    DEFINITION, UPDATE, ORIGINAL etc. --
40    
41            URN CDATA #IMPLIED -- universal resource number --
42    
43            TITLE CDATA #IMPLIED -- advisory only --
44    
45            METHODS NAMES #IMPLIED -- supported public methods of the object:
46                                            TEXTSEARCH, GET, HEAD, ... --
47    
48            ">
49    
50    
51  <!-- Document Element -->  <!-- Document Element -->
52    
53  <!ELEMENT HTML O O  (HEAD | BODY | %oldstyle)*>  <!ELEMENT HTML O O  (( HEAD | BODY | %oldstyle )*, PLAINTEXT?)>
54    
55    <!ELEMENT HEAD - -  ( TITLE?  & ISINDEX?  & NEXTID?  & LINK*
56                                  & BASE?)>
57    
58  <!ELEMENT HEAD - -  (TITLE? & ISINDEX? & NEXTID?)>  <!ELEMENT TITLE - -  RCDATA
59  <!-- LINK element (from timbl) -->            -- The TITLE element is not considered part of the flow of text.
60  <!ATTLIST HEAD               It should be displayed, for example as the page header or
61          EXPIRES NUMBER #IMPLIED -- expiration date               window title.
62                                  in ISO format: yyyymmddhhmmssZ --            -->
         >  
   
 <!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.  
           -->  
63    
64  <!ELEMENT ISINDEX - O EMPTY  <!ELEMENT ISINDEX - O EMPTY
65            -- WWW clients should offer the option to perform a search on            -- WWW clients should offer the option to perform a search on
66               documents containing ISINDEX.               documents containing ISINDEX.
67            -->            -->
68    
69  <!ELEMENT NEXTID - O EMPTY>  <!ELEMENT NEXTID - O EMPTY>
70  <!ATTLIST NEXTID N NUMBER #REQUIRED  <!ATTLIST NEXTID N NAME #REQUIRED
71            -- The number should be the highest number that appears in            -- The number should be a name suitable for use
72               any NAME attribute in the document.               for the ID of a new element. When used, the value
73            -->               has its numeric part incremented. EG Z67 becomes Z68
74                      -->
75    <!ELEMENT LINK - O EMPTY>
76    <!ATTLIST LINK
77            %linkattributes>
78            
79    <!ELEMENT BASE - O EMPTY    -- Reference context for URLS -->
80    <!ATTLIST BASE
81    
82            HREF %URL; #IMPLIED
83    
84            >
85  <!ENTITY % inline "EM | TT | STRONG | B | I | U |  <!ENTITY % inline "EM | TT | STRONG | B | I | U |
86                          CODE | SAMP | KBD | KEY | VAR | DFN | CITE "                          CODE | SAMP | KBD | KEY | VAR | DFN | CITE "
87          >          >
88    
89  <!ELEMENT (%inline;) - - (#PCDATA)>  <!ELEMENT (%inline;) - - (#PCDATA)>
90    
91  <!ENTITY % text "#PCDATA | %inline;">  <!ENTITY % text "#PCDATA | IMG | %inline;">
92    
93  <!ELEMENT BODY - -  (%bodyelement|%text;)*>  <!ENTITY % htext "A | %text"    -- Plus links, no structure -->
94    
95    <!ENTITY % stext                -- as htext but also nested structure --
96                            "P | HR | %list | DL | ADDRESS
97                            | PRE | BLOCKQUOTE
98                            | %literal | %htext">
99    
100    
101    <!ELEMENT BODY - -  (%bodyelement|%htext;)*>
102    
 <!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  
         -->  
103    
104  <!ELEMENT A     - -  (#PCDATA)>  <!ELEMENT A     - -  (%text)>
105  <!ATTLIST A  <!ATTLIST A
106          NAME NMTOKEN #IMPLIED          %linkattributes;
107          HREF %URL; #IMPLIED          >
108          TYPE NAME #IMPLIED -- type of relashionship to referent data:  
109                                  PARENT CHILD, SIBLING, NEXT, TOP,  <!ELEMENT IMG    - O EMPTY --  Embedded image -->
110                                   DEFINITION, UPDATE, ORIGINAL etc. --  <!ATTLIST IMG
111          URN CDATA #IMPLIED -- universal resource number. unique doc id --          SRC %URL;  #IMPLIED     -- URL of document to embed --
112          TITLE CDATA #IMPLIED -- advisory only --          >
113          METHODS NAMES #IMPLIED -- supported methods of the object:  
114                                          TEXTSEARCH, GET, HEAD, ... --  
115          >  <!ELEMENT P     - O EMPTY -- separates paragraphs -->
116    <!ELEMENT HR    - O EMPTY -- horizontal rule -->
117  <!ELEMENT P     - O EMPTY -- separates paragraphs -->  
118    <!ELEMENT ( %heading )  - -  (%htext;)+>
119  <!ELEMENT (%heading)    - -  (%text;|A)+>  
120    <!ELEMENT DL    - -  (DT | DD | %stext;)*>
121  <!ELEMENT HEADERS - - (DT | #PCDATA | DD | A)+>  <!--    Content should match ((DT,(%htext;)+)+,(DD,(%stext;)+))
122  <!ELEMENT DL    - -  (DT | DD | A | P | %text;)*>          But mixed content is messy.  -Dan Connolly
 <!--    Content should match ((DT,(A|%text;)+)+,(DD,(A|%text;)+))  
         But mixed content is messy.  
123    -->    -->
124    
125  <!ELEMENT DT    - O EMPTY>  <!ELEMENT DT    - O EMPTY>
126  <!ELEMENT DD    - O EMPTY>  <!ELEMENT DD    - O EMPTY>
127    
128  <!ELEMENT (%list) - -  (%text;|LI|A|P)+>  <!ELEMENT (UL|OL) - -  (%htext;|LI|P)+>
129  <!--    Content should match ((LI,(A|%text;)+)+)  <!ELEMENT (DIR|MENU) - -  (%htext;|LI)+>
130          But mixed content is messy.  <!--    Content should match ((LI,(%htext;)+)+)
131            But mixed content is messy.
132    -->    -->
133  <!ATTLIST (%list)  <!ATTLIST (%list)
134          STYLE NAME #IMPLIED -- COMPACT, etc.--          COMPACT NAME #IMPLIED -- COMPACT, etc.--
135          >          >
136    
137  <!ELEMENT LI    - O EMPTY>  <!ELEMENT LI    - O EMPTY>
138    
139  <!ELEMENT BLOCKQUOTE - - (%text;|A|P|ADDRESS)+  <!ELEMENT BLOCKQUOTE - - (%htext;|P)+
140          -- for quoting some other source -->          -- for quoting some other source -->
 <!ATTLIST BLOCKQUOTE  
         SOURCE CDATA #IMPLIED  
         >  
141    
142  <!ELEMENT ADDRESS - - (%text;|A|P)+>  <!ELEMENT ADDRESS - - (%htext;|P)+>
143    
144  <!ELEMENT PRE - - (#PCDATA|A|P)+>  <!ELEMENT PRE - - (#PCDATA|%inline|A|P)+>
145  <!ATTLIST PRE  <!ATTLIST PRE
146          WIDTH NUMBER #implied          WIDTH NUMBER #implied
147          >          >
148    
149    <!-- Mnemonic character entities. -->
150    <!ENTITY AElig "&#198;"  -- capital AE diphthong (ligature) -->
151    <!ENTITY Aacute "&#193;" -- capital A, acute accent -->
152    <!ENTITY Acirc "&#194;"  -- capital A, circumflex accent -->
153    <!ENTITY Agrave "&#192;" -- capital A, grave accent -->
154    <!ENTITY Aring "&#197;"  -- capital A, ring -->
155    <!ENTITY Atilde "&#195;" -- capital A, tilde -->
156    <!ENTITY Auml "&#196;"   -- capital A, dieresis or umlaut mark -->
157    <!ENTITY Ccedil "&#199;" -- capital C, cedilla -->
158    <!ENTITY ETH "&#208;"    -- capital Eth, Icelandic -->
159    <!ENTITY Eacute "&#201;" -- capital E, acute accent -->
160    <!ENTITY Ecirc "&#202;"  -- capital E, circumflex accent -->
161    <!ENTITY Egrave "&#200;" -- capital E, grave accent -->
162    <!ENTITY Euml "&#203;"   -- capital E, dieresis or umlaut mark -->
163    <!ENTITY Iacute "&#205;" -- capital I, acute accent -->
164    <!ENTITY Icirc "&#206;"  -- capital I, circumflex accent -->
165    <!ENTITY Igrave "&#204;" -- capital I, grave accent -->
166    <!ENTITY Iuml "&#207;"   -- capital I, dieresis or umlaut mark -->
167    <!ENTITY Ntilde "&#209;" -- capital N, tilde -->
168    <!ENTITY Oacute "&#211;" -- capital O, acute accent -->
169    <!ENTITY Ocirc "&#212;"  -- capital O, circumflex accent -->
170    <!ENTITY Ograve "&#210;" -- capital O, grave accent -->
171    <!ENTITY Oslash "&#216;" -- capital O, slash -->
172    <!ENTITY Otilde "&#213;" -- capital O, tilde -->
173    <!ENTITY Ouml "&#214;"   -- capital O, dieresis or umlaut mark -->
174    <!ENTITY THORN "&#222;"  -- capital THORN, Icelandic -->
175    <!ENTITY Uacute "&#218;" -- capital U, acute accent -->
176    <!ENTITY Ucirc "&#219;"  -- capital U, circumflex accent -->
177    <!ENTITY Ugrave "&#217;" -- capital U, grave accent -->
178    <!ENTITY Uuml "&#220;"   -- capital U, dieresis or umlaut mark -->
179    <!ENTITY Yacute "&#221;" -- capital Y, acute accent -->
180    <!ENTITY aacute "&#225;" -- small a, acute accent -->
181    <!ENTITY acirc "&#226;"  -- small a, circumflex accent -->
182    <!ENTITY aelig "&#230;"  -- small ae diphthong (ligature) -->
183    <!ENTITY agrave "&#224;" -- small a, grave accent -->
184    <!ENTITY amp "&#38;"     -- ampersand -->
185    <!ENTITY aring "&#229;"  -- small a, ring -->
186    <!ENTITY atilde "&#227;" -- small a, tilde -->
187    <!ENTITY auml "&#228;"   -- small a, dieresis or umlaut mark -->
188    <!ENTITY ccedil "&#231;" -- small c, cedilla -->
189    <!ENTITY eacute "&#233;" -- small e, acute accent -->
190    <!ENTITY ecirc "&#234;"  -- small e, circumflex accent -->
191    <!ENTITY egrave "&#232;" -- small e, grave accent -->
192    <!ENTITY eth "&#240;"    -- small eth, Icelandic -->
193    <!ENTITY euml "&#235;"   -- small e, dieresis or umlaut mark -->
194    <!ENTITY gt "&#62;"      -- greater than -->
195    <!ENTITY iacute "&#237;" -- small i, acute accent -->
196    <!ENTITY icirc "&#238;"  -- small i, circumflex accent -->
197    <!ENTITY igrave "&#236;" -- small i, grave accent -->
198    <!ENTITY iuml "&#239;"   -- small i, dieresis or umlaut mark -->
199    <!ENTITY lt "&#60;"      -- less than -->
200    <!ENTITY nbsp "&#32;"    --  should be NON_BREAKING space -->
201    <!ENTITY ntilde "&#241;" -- small n, tilde -->
202    <!ENTITY oacute "&#243;" -- small o, acute accent -->
203    <!ENTITY ocirc "&#244;"  -- small o, circumflex accent -->
204    <!ENTITY ograve "&#242;" -- small o, grave accent -->
205    <!ENTITY oslash "&#248;" -- small o, slash -->
206    <!ENTITY otilde "&#245;" -- small o, tilde -->
207    <!ENTITY ouml "&#246;"   -- small o, dieresis or umlaut mark -->
208    <!ENTITY szlig "&#223;"  -- small sharp s, German (sz ligature) -->
209    <!ENTITY thorn "&#254;"  -- small thorn, Icelandic -->
210    <!ENTITY uacute "&#250;" -- small u, acute accent -->
211    <!ENTITY ucirc "&#251;"  -- small u, circumflex accent -->
212    <!ENTITY ugrave "&#249;" -- small u, grave accent -->
213    <!ENTITY uuml "&#252;"   -- small u, dieresis or umlaut mark -->
214    <!ENTITY yacute "&#253;" -- small y, acute accent -->
215    <!ENTITY yuml "&#255;"   -- small y, dieresis or umlaut mark -->
216    
217  <!-- deprecated elements -->  <!-- deprecated elements -->
218    
219  <!ELEMENT (%literal) - -  RCDATA>  <!ELEMENT (%literal) - -  CDATA>
220    
221  <!ELEMENT PLAINTEXT - O EMPTY>  <!ELEMENT PLAINTEXT - O EMPTY>
222    
# Line 216  FEATURES Line 224  FEATURES
224  <!-- mode: sgml -->  <!-- mode: sgml -->
225  <!-- compile-command: "sgmls -s -p " -->  <!-- compile-command: "sgmls -s -p " -->
226  <!-- end: -->  <!-- end: -->
 ]>  

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24