W3C home > Mailing lists > Public > www-validator@w3.org > September 2003

Re: Custom DTD for case-insensitive ID values ?

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 15 Sep 2003 07:34:33 +0300 (EEST)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0309150652390.22613@korppi.cs.tut.fi>

On Mon, 15 Sep 2003, Nick Kew wrote:

> On Sun, 14 Sep 2003, Jukka K. Korpela wrote:
> > Interestingly, the W3C "markup validator" then says that
> > "This page is not Valid HTML 4.01 Transitional!"
> > (something I really did not ask it to check)
> Didn't you?

I definitely didn't. I asked it to validate the markup. That is,
to report whether it is valid or not.

> Did you by any chance hack that DTD but forget to set HTML.Version?

I submitted a document, and the validator reported
"This page is not Valid HTML 4.01 Transitional!"
Whether someone thinks that the DTD is "hacked" should be no concern of a
validator. Neither should the origin of the DTD.

If I changed the definition of the entity HTML.Version, _that_ would be
hacking, wouldn't it? And if I change it to
<!ENTITY HTML.Version "my way">
then I get the report
"This page is not Valid !"
when it actually is. Should I be happier now?

I don't know what game the validator is playing with HTML.Version.
If I have missed something and it is actually doing the right thing,
please cite the relevant clause of the SGML standard.

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Monday, 15 September 2003 00:34:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:38 UTC