Re: Custom DTD for case-insensitive ID values ?

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