Re: What is "-//W3C//DTD HTML//EN" ?

Le 23 Jan 2003 20:17:03 +0200, tu as ecrit :

>> I have a question about the public text "-//W3C//DTD HTML//EN": which DTD
>> should be associated with it ?
>
>I don't think that public id exists.  "-//IETF//DTD HTML//EN" would be
>HTML 2, though.

That's what I understand from http://www.w3.org/QA/2002/04/valid-dtd-list

>> I would expect it to mean "the latest HTML recommandation", is it right ?
>> So which one would it be, XHTML 1.0 ? Strict or transitional ?
>
>Why would you expect this?

Because the Debian package that contains the HTML DTD (sgml-data) used to
contain the following lines in its catalog:

   -- generalized HTML reference, meaning 'latest HTML recommendation' --
   --   aka, what is published at http://www.w3.org/TR/html --
PUBLIC   "-//W3C//DTD HTML//EN"
xml/1.0/xhtml1-strict.dtd
DTDDECL  "-//W3C//DTD HTML//EN"
xml/1.0/xhtml1.dcl
PUBLIC   "-//W3C//DTD XHTML//EN"
xml/1.0/xhtml1-strict.dtd
DTDDECL  "-//W3C//DTD XHTML//EN"
xml/1.0/xhtml1.dcl

Is there anything wrong using these ids, or are they just "non-official" ?

Frédéric

Received on Thursday, 23 January 2003 19:30:26 UTC