46 |
]]> |
]]> |
47 |
|
|
48 |
<![ %HTML.Prescriptive [ |
<![ %HTML.Prescriptive [ |
49 |
|
<!-- |
50 |
|
This feature test entity prescribes that certain |
51 |
|
idioms detract from the structural integrity of an |
52 |
|
HTML document, and are therefore disallowed. |
53 |
|
--> |
54 |
<!ENTITY % HTML.font-phrase "IGNORE"> |
<!ENTITY % HTML.font-phrase "IGNORE"> |
55 |
<!ENTITY % HTML.anchorNameCDATA "IGNORE"> |
<!ENTITY % HTML.anchorNameCDATA "IGNORE"> |
56 |
<!ENTITY % HTML.PLAINTEXT "IGNORE"> |
<!ENTITY % HTML.PLAINTEXT "IGNORE"> |
57 |
<!ENTITY HTML.Version |
<!ENTITY % HTML.bodyBlockOnly "INCLUDE"> |
|
"-//connolly hal.com//DTD WWW HTML |
|
|
$Date 1994/04/19 17:24:06 $ Prescriptive//EN"> |
|
58 |
]]> |
]]> |
59 |
|
|
60 |
<!ENTITY HTML.Version |
<!ENTITY HTML.Version |
65 |
-- we'll need to stop using RCS keywords to version the pub id -- |
-- we'll need to stop using RCS keywords to version the pub id -- |
66 |
> |
> |
67 |
|
|
68 |
<!ENTITY % HTML.GO "IGNORE" |
<!ENTITY % HTML.bodyBlockOnly "IGNORE" |
69 |
-- The GO element used in ORA GNN. What is this??? --> |
-- only allow block elements in the BODY element |
70 |
|
This means all paragraphs need to start with a <P> tag. |
71 |
<!ENTITY % HTML.aEndOmissable "IGNORE" |
--> |
|
-- infer </A> tags, as in ORA GNN stuff --> |
|
|
|
|
|
<!ENTITY % HTML.isindexAtEnd "IGNORE" |
|
|
-- allow ISINDEX after HEAD and BODY, as in ORA GNN stuff --> |
|
72 |
|
|
73 |
<!ENTITY % HTML.pSeparator "IGNORE" |
<!ENTITY % HTML.pSeparator "IGNORE" |
74 |
-- use P element as paragraph separator, rather that container. |
-- use P element as paragraph separator, rather that container. |
|
This means not all paragraphs need to start with a <P> tag. |
|
75 |
--> |
--> |
76 |
|
|
77 |
<!ENTITY % HTML.linkRelationships "INCLUDE" |
<!ENTITY % HTML.linkRelationships "INCLUDE" |
121 |
CITE, VAR, etc. inside PRE |
CITE, VAR, etc. inside PRE |
122 |
--> |
--> |
123 |
|
|
124 |
|
<!ENTITY % HTML.KEY "IGNORE" |
125 |
|
-- There was once a KEY element, for keyboard keys, menu items, |
126 |
|
buttons, etc. but it's not supported or widely documented |
127 |
|
--> |
128 |
|
|
129 |
|
<!ENTITY % HTML.U "IGNORE" |
130 |
|
-- There was also a U element, but since it clashes with |
131 |
|
the common pracitce of underlining hypertext links, it is |
132 |
|
not widely supported |
133 |
|
--> |
134 |
|
|
135 |
<!ENTITY % HTML.litCDATA "IGNORE" |
<!ENTITY % HTML.litCDATA "IGNORE" |
136 |
-- treat XMP, LISTING as CDATA, as per linemodeWWW |
-- treat XMP, LISTING as CDATA, as per linemodeWWW |
137 |
--> |
--> |
157 |
Note that CDATA attributes are limited by the LITLEN |
Note that CDATA attributes are limited by the LITLEN |
158 |
capacity (1024 in the current version of html.decl), |
capacity (1024 in the current version of html.decl), |
159 |
so that URIs in HTML have a bounded length. |
so that URIs in HTML have a bounded length. |
160 |
|
|
161 |
|
@@ Need to discuss relative addresses. |
162 |
--> |
--> |
163 |
|
|
164 |
<!ENTITY % Content-Type "CDATA" |
<!ENTITY % Content-Type "CDATA" |
165 |
-- meaning a MIME content type, as per RFC1341 or any of its updates. |
-- meaning a MIME content type, as per RFC1521 |
166 |
--> |
--> |
167 |
|
|
168 |
<![ %HTML.anchorNameCDATA [ <!ENTITY % anchor-name "CDATA"> ]]> |
<![ %HTML.anchorNameCDATA [ <!ENTITY % anchor-name "CDATA"> ]]> |
205 |
|
|
206 |
<![ %HTML.PLAINTEXT [ <!ENTITY % obsolete-plaintext ", PLAINTEXT?"> ]]> |
<![ %HTML.PLAINTEXT [ <!ENTITY % obsolete-plaintext ", PLAINTEXT?"> ]]> |
207 |
<!ENTITY % obsolete-plaintext ""> |
<!ENTITY % obsolete-plaintext ""> |
|
<![ %HTML.isindexAtEnd [ <!ENTITY % end-isindex ", ISINDEX?"> ]]> |
|
|
<!ENTITY % end-isindex ""> |
|
208 |
|
|
209 |
<!ENTITY % html-content "HEAD, BODY %obsolete-plaintext; %end-isindex"> |
<!ENTITY % html-content "HEAD, BODY %obsolete-plaintext;"> |
210 |
<!ELEMENT HTML O O (%html-content)> |
<!ELEMENT HTML O O (%html-content)> |
211 |
|
|
212 |
<![ %HTML.NEXTID [ <!ENTITY % head-content "TITLE? & ISINDEX? & LINK* & BASE? |
<![ %HTML.NEXTID [ <!ENTITY % head-content "TITLE? & ISINDEX? & LINK* & BASE? |
240 |
<!ELEMENT BASE - O EMPTY -- Reference context for URIs --> |
<!ELEMENT BASE - O EMPTY -- Reference context for URIs --> |
241 |
<!ATTLIST BASE |
<!ATTLIST BASE |
242 |
|
|
243 |
HREF %URI; #IMPLIED |
HREF %URI; #REQUIRED |
244 |
|
|
245 |
> |
> |
246 |
|
|
247 |
<!ENTITY % font "TT | B | I | U "> |
<![ %HTML.KEY [ |
248 |
<!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | KEY | VAR | DFN | CITE"> |
<!ENTITY % key-emph "| KEY"> |
249 |
|
]]> |
250 |
|
<!ENTITY % key-emph ""> |
251 |
|
|
252 |
|
<![ %HTML.U [ |
253 |
|
<!ENTITY % u-font "| U"> |
254 |
|
]]> |
255 |
|
<!ENTITY % u-font ""> |
256 |
|
|
257 |
|
<!ENTITY % font "TT | B | I %u-font"> |
258 |
|
<!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | DFN | CITE |
259 |
|
| STRIKE %key-emph"> |
260 |
|
|
261 |
|
|
262 |
<![ %HTML.font-phrase [ |
<![ %HTML.font-phrase [ |
263 |
<!ENTITY % obsolete-font "| %font"> |
<!ENTITY % obsolete-font "| %font"> |
273 |
<!ENTITY % inline "%phrase %obsolete-font"> |
<!ENTITY % inline "%phrase %obsolete-font"> |
274 |
<!ENTITY % pre-inline "%font %obsolete-phrase %obsolete-p"> |
<!ENTITY % pre-inline "%font %obsolete-phrase %obsolete-p"> |
275 |
|
|
276 |
<![ %HTML.GO [ |
<!ENTITY % text "#PCDATA | IMG | %inline | BR %obsolete-p"> |
|
<!ELEMENT GO - O EMPTY> |
|
|
<!ENTITY % go-text "| GO"> |
|
|
]]> |
|
|
<!ENTITY % go-text ""> |
|
|
|
|
|
<!ENTITY % text "#PCDATA | IMG | %inline | BR %go-text %obsolete-p"> |
|
277 |
|
|
278 |
<!ENTITY % htext "A | %text" -- Plus links, no structure --> |
<!ENTITY % htext "A | %text" -- Plus links, no structure --> |
279 |
|
|
300 |
%block-form %block-p"> |
%block-form %block-p"> |
301 |
|
|
302 |
|
|
303 |
<!ENTITY % body-content "%heading | %block | %htext"> |
<![ %HTML.bodyBlockOnly [ |
304 |
<!ELEMENT BODY O O (%body-content)*> |
<!ENTITY % current-htext ""> |
305 |
|
]]> |
306 |
|
<!ENTITY % current-htext "| %htext"> |
307 |
|
|
308 |
|
<!ENTITY % body-content "%heading | %block %current-htext"> |
309 |
|
<!ELEMENT BODY O O (%body-content)*> |
310 |
|
|
|
<![ %HTML.aEndOmissable [ <!ENTITY % a-end "O"> ]]> |
|
|
<!ENTITY % a-end "-"> |
|
311 |
|
|
312 |
<!ELEMENT A - %a-end (%heading|%block|%text)+ -(A) |
<!ELEMENT A - - (%heading|%block|%text)+ -(A) |
313 |
-- @# Technically, this allows silliness like: |
-- @# Technically, this allows silliness like: |
314 |
<H2><A>xyz<H1>h1</H1></A></H2> |
<H2><A>xyz<H1>h1</H1></A></H2> |
315 |
The right way to do anchors outside of %htext is more like: |
The right way to do anchors outside of %htext is more like: |
364 |
%ISOlat1; |
%ISOlat1; |
365 |
|
|
366 |
<!ENTITY #DEFAULT SDATA "&unkown;" --display the markup--> |
<!ENTITY #DEFAULT SDATA "&unkown;" --display the markup--> |
367 |
<!ENTITY amp "&" -- ampersand --> |
<!ENTITY amp CDATA "&" -- ampersand --> |
368 |
<!ENTITY gt ">" -- greater than --> |
<!ENTITY gt CDATA ">" -- greater than --> |
369 |
<!ENTITY lt "<" -- less than --> |
<!ENTITY lt CDATA "<" -- less than --> |
370 |
<!ENTITY quot """ -- less than --> |
<!ENTITY quot CDATA """ -- double quote --> |
371 |
|
|
372 |
|
<!-- Processing Entities --> |
373 |
|
|
374 |
<!ENTITY nbsp "<? nonbreaking-space>"> |
<!ENTITY nbsp "<? nonbreaking-space>"> |
375 |
<!-- @# should add entites for processing instructions |
<!-- @# should add entites for processing instructions |
376 |
for line break, centering, etc. --> |
for line break, centering, etc. --> |
377 |
|
|
378 |
|
|
|
<![ %HTML.litCDATA [ <!ENTITY % lit-content "CDATA"> ]]> |
|
|
<!ENTITY % lit-content "RCDATA"> |
|
|
<!ELEMENT (%literal) - - %lit-content> |
|
|
|
|
|
<![ %HTML.PLAINTEXT [ |
|
|
<!ELEMENT PLAINTEXT - O EMPTY> |
|
|
]]> |
|
|
|
|
|
|
|
379 |
<!-- Forms --> |
<!-- Forms --> |
380 |
<![ %HTML.forms [ |
<![ %HTML.forms [ |
381 |
|
|
423 |
> |
> |
424 |
]]> |
]]> |
425 |
|
|
426 |
|
<!-- Obsolete Elements --> |
427 |
|
|
428 |
|
<![ %HTML.litCDATA [ <!ENTITY % lit-content "CDATA"> ]]> |
429 |
|
<!ENTITY % lit-content "RCDATA"> |
430 |
|
<!ELEMENT (%literal) - - %lit-content> |
431 |
|
|
432 |
|
<![ %HTML.PLAINTEXT [ |
433 |
|
<!ELEMENT PLAINTEXT - O EMPTY> |
434 |
|
]]> |