4 |
as used by the World Wide Web application (HTML DTD). |
as used by the World Wide Web application (HTML DTD). |
5 |
|
|
6 |
$Id$ |
$Id$ |
7 |
|
|
8 |
--> |
--> |
9 |
|
|
10 |
<!-- Feature Test Entities --> |
<!-- Feature Test Entities --> |
26 |
|
|
27 |
<!ENTITY % HTML.Minimal "IGNORE"> |
<!ENTITY % HTML.Minimal "IGNORE"> |
28 |
<!ENTITY % HTML.Obsolete "IGNORE"> |
<!ENTITY % HTML.Obsolete "IGNORE"> |
29 |
|
<!ENTITY % HTML.Prescriptive "IGNORE"> |
30 |
|
|
31 |
<![ %HTML.Minimal [ |
<![ %HTML.Minimal [ |
32 |
<!ENTITY % HTML.linkRelationships "IGNORE"> |
<!ENTITY % HTML.linkRelationships "IGNORE"> |
35 |
<!ENTITY % HTML.forms "IGNORE"> |
<!ENTITY % HTML.forms "IGNORE"> |
36 |
<!-- @@ nested lists --> |
<!-- @@ nested lists --> |
37 |
<!-- @@ phrases --> |
<!-- @@ phrases --> |
38 |
|
<!-- @@ headers inside A --> |
39 |
|
<!-- @@ nested phrases, fonts --> |
40 |
]]> |
]]> |
41 |
|
|
42 |
<![ %HTML.Obsolete [ |
<![ %HTML.Obsolete [ |
|
<!ENTITY % HTML.PLAINTEXT "INCLUDE"> |
|
43 |
<!ENTITY % HTML.titleCDATA "INCLUDE"> |
<!ENTITY % HTML.titleCDATA "INCLUDE"> |
44 |
<!ENTITY % HTML.litCDATA "INCLUDE"> |
<!ENTITY % HTML.litCDATA "INCLUDE"> |
|
<!ENTITY % HTML.NEXTID "INCLUDE"> |
|
|
<!ENTITY % HTML.font-phrase "INCLUDE"> |
|
|
<!ENTITY % HTML.anchorNameCDATA "INCLUDE"> |
|
45 |
<!ENTITY % HTML.pSeparator "INCLUDE"> |
<!ENTITY % HTML.pSeparator "INCLUDE"> |
46 |
]]> |
]]> |
47 |
|
|
48 |
|
<![ %HTML.Prescriptive [ |
49 |
|
<!ENTITY % HTML.font-phrase "IGNORE"> |
50 |
|
<!ENTITY % HTML.anchorNameCDATA "IGNORE"> |
51 |
|
<!ENTITY % HTML.PLAINTEXT "IGNORE"> |
52 |
|
<!ENTITY HTML.Version |
53 |
|
"-//connolly hal.com//DTD WWW HTML |
54 |
|
$Date 1994/04/19 17:24:06 $ Prescriptive//EN"> |
55 |
|
]]> |
56 |
|
|
57 |
|
<!ENTITY HTML.Version |
58 |
|
"-//connolly hal.com//DTD WWW HTML $Date 1994/04/19 17:24:06 $//EN" |
59 |
|
-- public identifier for "default" version -- |
60 |
|
-- actually, take the $'s out to get the real public identifer, -- |
61 |
|
-- since $ is illegal in public identifier. When DTD stabilizes, -- |
62 |
|
-- we'll need to stop using RCS keywords to version the pub id -- |
63 |
|
> |
64 |
|
|
65 |
|
<!ENTITY % HTML.GO "IGNORE" |
66 |
|
-- The GO element used in ORA GNN. What is this??? --> |
67 |
|
|
68 |
|
<!ENTITY % HTML.aEndOmissable "IGNORE" |
69 |
|
-- infer </A> tags, as in ORA GNN stuff --> |
70 |
|
|
71 |
|
<!ENTITY % HTML.isindexAtEnd "IGNORE" |
72 |
|
-- allow ISINDEX after HEAD and BODY, as in ORA GNN stuff --> |
73 |
|
|
74 |
<!ENTITY % HTML.pSeparator "IGNORE" |
<!ENTITY % HTML.pSeparator "IGNORE" |
75 |
-- use P element as paragraph separator, rather that container. |
-- use P element as paragraph separator, rather that container. |
76 |
This means not all paragraphs need to start with a <P> tag. |
This means not all paragraphs need to start with a <P> tag. |
93 |
like URN, content type, title... |
like URN, content type, title... |
94 |
--> |
--> |
95 |
|
|
96 |
<!ENTITY % HTML.anchorNameCDATA "IGNORE" |
<!ENTITY % HTML.anchorNameCDATA "INCLUDE" |
97 |
-- Anchor names should be distinct. SGML parser can validate |
-- Anchor names should be distinct. SGML parser can validate |
98 |
this if the NAME attribute of the A element is declared as ID. |
this if the NAME attribute of the A element is declared as ID. |
99 |
But that restricts the syntax of an anchor name to an SGML name, |
But that restricts the syntax of an anchor name to an SGML name, |
101 |
up to NAMELEN (34) characters long. |
up to NAMELEN (34) characters long. |
102 |
--> |
--> |
103 |
|
|
104 |
<!ENTITY % HTML.PLAINTEXT "IGNORE" |
<!ENTITY % HTML.PLAINTEXT "INCLUDE" |
105 |
-- Support for the <PLAINTEXT> tag as a sign of the |
-- Support for the <PLAINTEXT> tag as a sign of the |
106 |
end of th HTML data stream and the beginning of a stream |
end of th HTML data stream and the beginning of a stream |
107 |
of text/plain data |
of text/plain data |
113 |
it's more like CDATA, but not quite. |
it's more like CDATA, but not quite. |
114 |
--> |
--> |
115 |
|
|
116 |
<!ENTITY % HTML.NEXTID "IGNORE" |
<!ENTITY % HTML.NEXTID "INCLUDE" |
117 |
-- Used by the NeXT implementation to keep track of the |
-- Used by the NeXT implementation to keep track of the |
118 |
next anchor id to use |
next anchor id to use |
119 |
--> |
--> |
120 |
|
|
121 |
<!ENTITY % HTML.font-phrase "IGNORE" |
<!ENTITY % HTML.font-phrase "INCLUDE" |
122 |
-- allow B, I, TT, U outside PRE, |
-- allow B, I, TT, U outside PRE, |
123 |
CITE, VAR, etc. inside PRE |
CITE, VAR, etc. inside PRE |
124 |
--> |
--> |
192 |
<!-- Document Element --> |
<!-- Document Element --> |
193 |
|
|
194 |
|
|
195 |
<![ %HTML.PLAINTEXT [ <!ENTITY % html-content "(HEAD, BODY), PLAINTEXT?"> ]]> |
<![ %HTML.PLAINTEXT [ <!ENTITY % obsolete-plaintext ", PLAINTEXT?"> ]]> |
196 |
<!ENTITY % html-content "HEAD, BODY"> |
<!ENTITY % obsolete-plaintext ""> |
197 |
|
<![ %HTML.isindexAtEnd [ <!ENTITY % end-isindex ", ISINDEX?"> ]]> |
198 |
|
<!ENTITY % end-isindex ""> |
199 |
|
|
200 |
|
<!ENTITY % html-content "HEAD, BODY %obsolete-plaintext; %end-isindex"> |
201 |
<!ELEMENT HTML O O (%html-content)> |
<!ELEMENT HTML O O (%html-content)> |
202 |
|
|
203 |
<![ %HTML.NEXTID [ <!ENTITY % head-content "TITLE? & ISINDEX? & LINK* & BASE? |
<![ %HTML.NEXTID [ <!ENTITY % head-content "TITLE? & ISINDEX? & LINK* & BASE? |
252 |
<!ENTITY % inline "%phrase %obsolete-font"> |
<!ENTITY % inline "%phrase %obsolete-font"> |
253 |
<!ENTITY % pre-inline "%font %obsolete-phrase %obsolete-p"> |
<!ENTITY % pre-inline "%font %obsolete-phrase %obsolete-p"> |
254 |
|
|
255 |
<!ENTITY % text "#PCDATA | IMG | %inline | BR %obsolete-p"> |
<![ %HTML.GO [ |
256 |
|
<!ELEMENT GO - O EMPTY> |
257 |
|
<!ENTITY % go-text "| GO"> |
258 |
|
]]> |
259 |
|
<!ENTITY % go-text ""> |
260 |
|
|
261 |
|
<!ENTITY % text "#PCDATA | IMG | %inline | BR %go-text %obsolete-p"> |
262 |
|
|
263 |
<!ENTITY % htext "A | %text" -- Plus links, no structure --> |
<!ENTITY % htext "A | %text" -- Plus links, no structure --> |
264 |
|
|
270 |
|
|
271 |
<!ENTITY % pre "PRE | XMP | LISTING"> |
<!ENTITY % pre "PRE | XMP | LISTING"> |
272 |
|
|
273 |
<![ %HTML.forms [ <!ENTITY % block-form "| FORM"> ]]> |
<![ %HTML.forms [ <!ENTITY % block-form "| FORM | ISINDEX"> ]]> |
274 |
<!ENTITY % block-form ""> |
<!ENTITY % block-form ""> |
275 |
|
|
276 |
<![ %HTML.pSeparator [ |
<![ %HTML.pSeparator [ |
285 |
%block-form %block-p"> |
%block-form %block-p"> |
286 |
|
|
287 |
|
|
288 |
<!ENTITY % body-content "%heading | %block %obsolete-htext"> |
<!ENTITY % body-content "%heading | %block | %htext"> |
289 |
<!ELEMENT BODY O O (%body-content)*> |
<!ELEMENT BODY O O (%body-content)*> |
290 |
|
|
291 |
|
|
292 |
<!ELEMENT A - - (%heading|%block|%text)+ -(A) |
<![ %HTML.aEndOmissable [ <!ENTITY % a-end "O"> ]]> |
293 |
|
<!ENTITY % a-end "-"> |
294 |
|
|
295 |
|
<!ELEMENT A - %a-end (%heading|%block|%text)+ -(A) |
296 |
-- @# Technically, this allows silliness like: |
-- @# Technically, this allows silliness like: |
297 |
<H2><A>xyz<H1>h1</H1></A></H2> |
<H2><A>xyz<H1>h1</H1></A></H2> |
298 |
The right way to do anchors outside of %htext is more like: |
The right way to do anchors outside of %htext is more like: |
321 |
|
|
322 |
<!ELEMENT DL - - (DT*, DD?)+> |
<!ELEMENT DL - - (DT*, DD?)+> |
323 |
<!ATTLIST DL |
<!ATTLIST DL |
324 |
STYLE (COMPACT) #IMPLIED> |
COMPACT (COMPACT) #IMPLIED> |
325 |
|
|
326 |
<!ELEMENT DT - O (%htext)+> |
<!ELEMENT DT - O (%htext)+> |
327 |
<!ELEMENT DD - O (%htext|%block)+> |
<!ELEMENT DD - O (%htext|%block)+> |
330 |
|
|
331 |
<!ELEMENT LI - O (%htext|%block)+> |
<!ELEMENT LI - O (%htext|%block)+> |
332 |
|
|
333 |
<!ELEMENT BLOCKQUOTE - - ((%htext)+, ADDRESS?)+ -- @# Hmm... -- |
<!ELEMENT BLOCKQUOTE - - (%htext|%block)+ -- @# Hmm... -- |
334 |
-- for quoting some other source --> |
-- for quoting some other source --> |
335 |
|
|
336 |
<!ELEMENT ADDRESS - - (%htext;)+> |
<!ELEMENT ADDRESS - - (%htext;|%block)+> |
337 |
|
|
338 |
<!ELEMENT PRE - - (#PCDATA|%pre-inline|A)+> |
<!ELEMENT PRE - - (#PCDATA|%pre-inline|A)+> |
339 |
<!ATTLIST PRE |
<!ATTLIST PRE |
346 |
"ISO 8879:1986//ENTITIES Added Latin 1//EN"> |
"ISO 8879:1986//ENTITIES Added Latin 1//EN"> |
347 |
%ISOlat1; |
%ISOlat1; |
348 |
|
|
349 |
|
<!ENTITY #DEFAULT SDATA "&unkown;" --display the markup--> |
350 |
<!ENTITY amp "&" -- ampersand --> |
<!ENTITY amp "&" -- ampersand --> |
351 |
<!ENTITY gt ">" -- greater than --> |
<!ENTITY gt ">" -- greater than --> |
352 |
<!ENTITY lt "<" -- less than --> |
<!ENTITY lt "<" -- less than --> |
353 |
|
<!ENTITY quot """ -- less than --> |
354 |
<!ENTITY nbsp "<? nonbreaking-space>"> |
<!ENTITY nbsp "<? nonbreaking-space>"> |
355 |
<!-- @# should add entites for processing instructions |
<!-- @# should add entites for processing instructions |
356 |
for line break, centering, etc. --> |
for line break, centering, etc. --> |
369 |
<![ %HTML.forms [ |
<![ %HTML.forms [ |
370 |
|
|
371 |
<!ENTITY % HTTP-Method "(GET | POST)"> |
<!ENTITY % HTTP-Method "(GET | POST)"> |
372 |
<!ELEMENT FORM - - (%body-content) -(FORM) +(INPUT|SELECT|TEXTAREA)> |
<!ELEMENT FORM - - (%body-content)* -(FORM) +(INPUT|SELECT|TEXTAREA)> |
373 |
<!ATTLIST FORM |
<!ATTLIST FORM |
374 |
ACTION %URI #REQUIRED |
ACTION %URI #REQUIRED |
375 |
METHOD %HTTP-Method #IMPLIED -- @# MAILTO? -- |
METHOD %HTTP-Method #IMPLIED -- @# MAILTO? -- |
385 |
NAME CDATA #IMPLIED -- required for all but submit and reset -- |
NAME CDATA #IMPLIED -- required for all but submit and reset -- |
386 |
VALUE CDATA #IMPLIED |
VALUE CDATA #IMPLIED |
387 |
SRC %URI #IMPLIED -- for image inputs -- |
SRC %URI #IMPLIED -- for image inputs -- |
388 |
STATE (CHECKED) #IMPLIED |
CHECKED (CHECKED) #IMPLIED |
389 |
SIZE CDATA #IMPLIED -- @# should be NUMBERS: delimit with space, not comma -- |
SIZE CDATA #IMPLIED -- @# should be NUMBERS: delimit with space, not comma -- |
390 |
MAXLENGTH NUMBER #IMPLIED |
MAXLENGTH NUMBER #IMPLIED |
391 |
ALIGN (top|middle|bottom|left|center|right) #IMPLIED --@#supported?-- |
ALIGN (top|middle|bottom|left|center|right) #IMPLIED --@#supported?-- |
395 |
<!ATTLIST SELECT |
<!ATTLIST SELECT |
396 |
NAME CDATA #REQUIRED |
NAME CDATA #REQUIRED |
397 |
SIZE NUMBER #IMPLIED |
SIZE NUMBER #IMPLIED |
398 |
SELECTIONS (MULTIPLE) #IMPLIED |
MULTIPLE (MULTIPLE) #IMPLIED |
399 |
> |
> |
400 |
|
|
401 |
<!ELEMENT OPTION - O (#PCDATA)> |
<!ELEMENT OPTION - O (#PCDATA)> |
402 |
<!ATTLIST OPTION |
<!ATTLIST OPTION |
403 |
STATE (SELECTED) #IMPLIED |
SELECTED (SELECTED) #IMPLIED |
404 |
VALUE CDATA #IMPLIED |
VALUE CDATA #IMPLIED |
405 |
> |
> |
406 |
|
|