/[pub]/test/html.dtd
Suika

Diff of /test/html.dtd

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

revision 1.24 by connolly, Mon Feb 6 21:28:45 1995 UTC revision 1.30 by connolly, Thu Sep 21 23:30:19 1995 UTC
# Line 5  Line 5 
5    
6          $Id$          $Id$
7    
8          Author: Daniel W. Connolly <connolly@hal.com>          Author: Daniel W. Connolly <connolly@w3.org>
9          See Also: html.decl, html-0.dtd, html-1.dtd          See Also: html.decl, html-1.dtd
10            http://www.hal.com/%7Econnolly/html-spec/index.html            http://www.w3.org/hypertext/WWW/MarkUp/MarkUp.html
           http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html  
11  -->  -->
12    
13  <!ENTITY % HTML.Version  <!ENTITY % HTML.Version
# Line 42  Line 41 
41  <!ENTITY % HTML.Deprecated "INCLUDE"  <!ENTITY % HTML.Deprecated "INCLUDE"
42          -- Certain features of the language are necessary for          -- Certain features of the language are necessary for
43             compatibility with earlier versions of the specification,             compatibility with earlier versions of the specification,
44             but they tend to be used an implemented inconsistently,             but they tend to be used and implemented inconsistently,
45             and their use is deprecated. This feature test entity             and their use is deprecated. This feature test entity
46             enables a document type definition that eliminates             enables a document type definition that eliminates
47             these features.             these features.
# Line 71  Line 70 
70          -- as per HTTP specification, in progress          -- as per HTTP specification, in progress
71          -->          -->
72    
 <!ENTITY % URI "CDATA"  
         -- The term URI means a CDATA attribute  
            whose value is a Uniform Resource Identifier,  
            as defined by  
         "Universal Resource Identifiers" by Tim Berners-Lee  
         aka RFC 1630  
   
         Note that CDATA attributes are limited by the LITLEN  
         capacity (1024 in the current version of html.decl),  
         so that URIs in HTML have a bounded length.  
   
         -->  
   
   
73  <!--========= DTD "Macros" =====================-->  <!--========= DTD "Macros" =====================-->
74    
75  <!ENTITY % heading "H1|H2|H3|H4|H5|H6">  <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
# Line 160  SDA & ICADD: Line 145  SDA & ICADD:
145  <!-- <I>        Italic text                             -->  <!-- <I>        Italic text                             -->
146    
147  <!-- <EM>       Emphasized phrase                       -->  <!-- <EM>       Emphasized phrase                       -->
148  <!-- <STRONG>   Strong emphais                          -->  <!-- <STRONG>   Strong emphasis                         -->
149  <!-- <CODE>     Source code phrase                      -->  <!-- <CODE>     Source code phrase                      -->
150  <!-- <SAMP>     Sample text or characters               -->  <!-- <SAMP>     Sample text or characters               -->
151  <!-- <KBD>      Keyboard phrase, e.g. user input        -->  <!-- <KBD>      Keyboard phrase, e.g. user input        -->
152  <!-- <VAR>      Variable phrase or substituable         -->  <!-- <VAR>      Variable phrase or substitutable        -->
153  <!-- <CITE>     Name or title of cited work             -->  <!-- <CITE>     Name or title of cited work             -->
154    
155  <!ENTITY % pre.content "#PCDATA | A | HR | BR | %font | %phrase">  <!ENTITY % pre.content "#PCDATA | A | HR | BR | %font | %phrase">
# Line 183  SDA & ICADD: Line 168  SDA & ICADD:
168    
169  <!--========= Link Markup ======================-->  <!--========= Link Markup ======================-->
170    
171  <![ %HTML.Recommended [  <!ENTITY % linkType "NAMES">
         <!ENTITY % linkName "ID">  
 ]]>  
   
 <!ENTITY % linkName "CDATA">  
   
 <!ENTITY % linkType "NAME"  
         -- a list of these will be specified at a later date -->  
172    
173  <!ENTITY % linkExtraAttributes  <!ENTITY % linkExtraAttributes
174          "REL %linkType #IMPLIED          "REL %linkType #IMPLIED
# Line 212  SDA & ICADD: Line 190  SDA & ICADD:
190    
191  <!ELEMENT A     - - %A.content -(A)>  <!ELEMENT A     - - %A.content -(A)>
192  <!ATTLIST A  <!ATTLIST A
193          HREF %URI #IMPLIED          HREF CDATA #IMPLIED
194          NAME %linkName #IMPLIED          NAME CDATA #IMPLIED
195          %linkExtraAttributes;          %linkExtraAttributes;
196          %SDAPREF; "<Anchor: #AttList>"          %SDAPREF; "<Anchor: #AttList>"
197          >          >
# Line 231  SDA & ICADD: Line 209  SDA & ICADD:
209    
210  <!ELEMENT IMG    - O EMPTY>  <!ELEMENT IMG    - O EMPTY>
211  <!ATTLIST IMG  <!ATTLIST IMG
212          SRC %URI;  #REQUIRED          SRC CDATA  #REQUIRED
213          ALT CDATA #IMPLIED          ALT CDATA #IMPLIED
214          ALIGN (top|middle|bottom) #IMPLIED          ALIGN (top|middle|bottom) #IMPLIED
215          ISMAP (ISMAP) #IMPLIED          ISMAP (ISMAP) #IMPLIED
# Line 455  SDA & ICADD: Line 433  SDA & ICADD:
433    
434  <!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)>  <!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)>
435  <!ATTLIST FORM  <!ATTLIST FORM
436          ACTION %URI #IMPLIED          ACTION CDATA #IMPLIED
437          METHOD (%HTTP-Method) GET          METHOD (%HTTP-Method) GET
438          ENCTYPE %Content-Type; "application/x-www-form-urlencoded"          ENCTYPE %Content-Type; "application/x-www-form-urlencoded"
439          %SDAPREF; "<Para>Form:</Para>"          %SDAPREF; "<Para>Form:</Para>"
# Line 475  SDA & ICADD: Line 453  SDA & ICADD:
453          TYPE %InputType TEXT          TYPE %InputType TEXT
454          NAME CDATA #IMPLIED          NAME CDATA #IMPLIED
455          VALUE CDATA #IMPLIED          VALUE CDATA #IMPLIED
456          SRC %URI #IMPLIED          SRC CDATA #IMPLIED
457          CHECKED (CHECKED) #IMPLIED          CHECKED (CHECKED) #IMPLIED
458          SIZE CDATA #IMPLIED          SIZE CDATA #IMPLIED
459          MAXLENGTH NUMBER #IMPLIED          MAXLENGTH NUMBER #IMPLIED
# Line 541  SDA & ICADD: Line 519  SDA & ICADD:
519  <!--======= Document Head ======================-->  <!--======= Document Head ======================-->
520    
521  <![ %HTML.Recommended [  <![ %HTML.Recommended [
522          <!ENTITY % head.extra "META* & LINK*">          <!ENTITY % head.extra "">
523  ]]>  ]]>
524    <!ENTITY % head.extra "& NEXTID?">
525    
526  <!ENTITY % head.extra "NEXTID? & META* & LINK*">  <!ENTITY % head.content "TITLE & ISINDEX? & BASE? %head.extra">
   
 <!ENTITY % head.content "TITLE & ISINDEX? & BASE? &  
                          (%head.extra)">  
527    
528  <!ELEMENT HEAD O O  (%head.content)>  <!ELEMENT HEAD O O  (%head.content) +(META|LINK)>
529    
530  <!-- <HEAD>     Document head   -->  <!-- <HEAD>     Document head   -->
531    
532  <!ELEMENT TITLE - -  (#PCDATA)*>  <!ELEMENT TITLE - -  (#PCDATA)*  -(META|LINK)>
533  <!ATTLIST TITLE  <!ATTLIST TITLE
534          %SDAFORM; "Ti"    >          %SDAFORM; "Ti"    >
535    
# Line 561  SDA & ICADD: Line 537  SDA & ICADD:
537    
538  <!ELEMENT LINK - O EMPTY>  <!ELEMENT LINK - O EMPTY>
539  <!ATTLIST LINK  <!ATTLIST LINK
540          HREF %URI #REQUIRED          HREF CDATA #REQUIRED
541          %linkExtraAttributes;          %linkExtraAttributes;
542          %SDAPREF; "Linked to : #AttVal (TITLE) (URN) (HREF)>"    >          %SDAPREF; "Linked to : #AttVal (TITLE) (URN) (HREF)>"    >
543    
# Line 582  SDA & ICADD: Line 558  SDA & ICADD:
558    
559  <!ELEMENT BASE - O EMPTY>  <!ELEMENT BASE - O EMPTY>
560  <!ATTLIST BASE  <!ATTLIST BASE
561          HREF %URI; #REQUIRED     >          HREF CDATA #REQUIRED     >
562    
563  <!-- <BASE>             Base context document                   -->  <!-- <BASE>             Base context document                   -->
564  <!-- <BASE HREF="...">  Address for this document               -->  <!-- <BASE HREF="...">  Address for this document               -->
565    
566  <!ELEMENT NEXTID - O EMPTY>  <!ELEMENT NEXTID - O EMPTY>
567  <!ATTLIST NEXTID  <!ATTLIST NEXTID
568          N %linkName #REQUIRED     >          N CDATA #REQUIRED     >
569    
570  <!-- <NEXTID>           Next ID to use for link name            -->  <!-- <NEXTID>           Next ID to use for link name            -->
571  <!-- <NEXTID N=...>     Next ID to use for link name            -->  <!-- <NEXTID N=...>     Next ID to use for link name            -->
# Line 600  SDA & ICADD: Line 576  SDA & ICADD:
576          NAME        NAME    #IMPLIED          NAME        NAME    #IMPLIED
577          CONTENT     CDATA   #REQUIRED    >          CONTENT     CDATA   #REQUIRED    >
578    
579  <!-- <META>                     Generic Metainformation         -->  <!-- <META>                     Generic Meta-information        -->
580  <!-- <META HTTP-EQUIV=...>      HTTP response header name       -->  <!-- <META HTTP-EQUIV=...>      HTTP response header name       -->
581  <!-- <META HTTP-EQUIV=...>      Metainformation name            -->  <!-- <META NAME=...>            Meta-information name           -->
582  <!-- <META CONTENT="...">       Associated information          -->  <!-- <META CONTENT="...">       Associated information          -->
583    
584  <!--======= Document Structure =================-->  <!--======= Document Structure =================-->

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.30

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24