W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 1997

%HTML.Version for strict.dtd

From: Gerald Oskoboiny <gerald@w3.org>
Date: Thu, 18 Dec 1997 16:50:32 -0500 (EST)
To: www-html-editor@w3.org
Message-ID: <Pine.SOL.3.96.971218164444.4567H-100000@anansi>
Hi,

I just noticed that %HTML.Version seems to be missing from strict.dtd.
Is this on purpose?

www20: /afs/w3.org/pub/WWW/TR/REC-html40> egrep -i html.version *dtd
frameset.dtd:<!ENTITY % HTML.Version "-//W3C//DTD HTML 4.0 Frameset//EN"
loose.dtd:<!ENTITY % HTML.Version "-//W3C//DTD HTML 4.0 Transitional//EN"
loose.dtd:<!ENTITY % version "version CDATA #FIXED '%HTML.Version;'">
www20: /afs/w3.org/pub/WWW/TR/REC-html40> 

I use this "version" attribute in the validation service to see
which DTD the SGML parser used on the document; since it seems
to be missing from the strict DTD, the validation service currently
says "unknown" for validation results with 4.0 strict. :-(

I haven't researched this very carefully yet, but the above grep
results seem to indicate that it isn't defined for strict.dtd?

Gerald
-- 
Gerald Oskoboiny            <gerald@w3.org>  +1 617 253 2920
System Administrator, W3C   http://www.w3.org/People/Gerald/
World Wide Web Consortium, MIT Labatory for Computer Science
545 Technology Square, Room NE43-353  Cambridge MA 02139 USA
Received on Thursday, 18 December 1997 16:50:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:43 GMT