W3C home > Mailing lists > Public > www-html-editor@w3.org > January to March 2001

hygene in XHTML 1.0 strict DTD

From: Adam Di Carlo <adam@onshore.com>
Date: 04 Feb 2001 22:35:38 -0500
To: www-html-editor@w3.org
Cc: debian-sgml@lists.debian.org
Message-ID: <oa3ddtssxh.fsf@arroz.fake>

The XHTML 1.0 strict DTD as shipped with XHTML 1.0 spec
 (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

> 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).


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

This archive was generated by hypermail 2.3.1 : Friday, 13 July 2018 08:58:42 UTC