Re: Possible error in xhtml-1.0 dtd (fwd)

FYI, the reason these are unused is that the document in question
was validated as Strict; the 'unused' parameter entities are used 
only in the Transitional/Frameset DTD. While nsgmls may flag these
as warnings when explicitly asked to do so, they are not errors in
the specification, ie., there's nothing wrong with declaring 
entities you don't use. Heck, think of all of those character 
entities...

> ---------- Forwarded message ----------
> Date: Sat, 6 Nov 1999 11:24:30 -0500 (EST)
> From: Jean Pierre LeJacq <jplejacq@quoininc.com>
> To: www-html-editor@w3.org
> Subject: Possible error in xhtml-1.0 dtd
[...]
> If I validate the following:
> 
>   <?xml version="1.0" encoding="UTF-8"?>
>   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>     "http://www.w3.org/TR/xhtml1/DTD/strict.dtd">
[...] 
> with the nsgml command:
> 
>   nsgmls -s -e -g -wall /usr/lib/sgml/declaration/xml.decl page.html
> 
> I receive the following errors:
> 
>   In entity html included from page.html:2:83
>   nsgmls:/usr/lib/sgml/dtd/xhtml-1.0/strict.dtd:97:0:W: unused
                                                      ^^^
The "W" is for "WARNING"; would be an "E" if it were an error.

>   parameter entity "MultiLengths"
> 
>   In entity html included from page.html:2:83
>   nsgmls:/usr/lib/sgml/dtd/xhtml-1.0/strict.dtd:166:0:W: unused
>   parameter entity "focus"
> 
>   In entity html included from page.html:2:83
>   nsgmls:/usr/lib/sgml/dtd/xhtml-1.0/strict.dtd:885:0:W: unused
>   parameter entity "CAlign"
> 
>   In entity html included from page.html:2:83
>   nsgmls:/usr/lib/sgml/dtd/xhtml-1.0/strict.dtd:88:0:W: unused
>   parameter entity "FrameTarget"
> 
>   In entity html included from page.html:2:83
>   nsgmls:/usr/lib/sgml/dtd/xhtml-1.0/strict.dtd:844:0:W: unused
>   parameter entity "TAlign"

Murray

...........................................................................
Murray Altheim, SGML Grease Monkey         <mailto:altheim&#64;eng.sun.com>
Member of Technical Staff, Tools Development & Support
Sun Microsystems, 901 San Antonio Rd., UMPK17-102, Palo Alto, CA 94303-4900

   the honey bee is sad and cross and wicked as a weasel
   and when she perches on you boss she leaves a little measle -- archy

Received on Wednesday, 10 November 1999 14:10:14 UTC