hygene in XHTML 1.0 strict DTD

The XHTML 1.0 strict DTD as shipped with XHTML 1.0 spec
REC-xhtml1-20000126
 (which also carries this revision info:
   $Revision: 1.14 $
   $Date: 2000/01/25 23:52:20 $)

has some hygenic problems which emit warnings during validation.

To wit, a perfectly valid document will cause it to emit these
warnings:

> onsgmls -wxml -wall -s xhtml-1.0-strict.xml 
onsgmls:/usr/lib/sgml/dtd/xhtml-1.0/xhtml1-strict.dtd:97:0:W: unused parameter entity "MultiLengths"
onsgmls:/usr/lib/sgml/dtd/xhtml-1.0/xhtml1-strict.dtd:166:0:W: unused parameter entity "focus"
onsgmls:/usr/lib/sgml/dtd/xhtml-1.0/xhtml1-strict.dtd:885:0:W: unused parameter entity "CAlign"
onsgmls:/usr/lib/sgml/dtd/xhtml-1.0/xhtml1-strict.dtd:88:0:W: unused parameter entity "FrameTarget"
onsgmls:/usr/lib/sgml/dtd/xhtml-1.0/xhtml1-strict.dtd:844:0:W: unused parameter entity "TAlign"



Proposed remedy:

Apply the attached patch to the DTD, which fixes the problem (and also
actually makes the DTD a bit smaller, by actually taking advantage of
the %focus parameter entity).


Rationale:

It's disorienting to the user who is fastidious enough to check all
warnings against their document to find that the DTD itself has some
hygenic problems.

Please let me know if this information is useful -- I can go through
the rest of the XHTML 1.0 DTDs and correspondingly check and scrub
those as well.

-- 
.....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>

Received on Sunday, 4 February 2001 22:35:05 UTC