Re: XHTML STRICT NL acting different then XHTML STRICT?

> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//NL"
>                 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

> The only difference in the source is that all "en" is replaced with "nl".
> The english version is validated as XHTML 1.0 Strict and the dutch one is
> not... Why? Is this a bug or am I missing something?

The public identifier of your document type declaration is wrong. It should be:

    "-//W3C//DTD XHTML 1.0 Strict//EN"

as defined in the XHTML 1.0 Strict DTD at
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd

Please note that the language code relates to the language of the DTD,
not the language your pages are written in.

Cheers,

jens

--
Jens Brueckmann
http://www.yalf.de
http://www.j-a-b.net

Received on Wednesday, 12 October 2005 07:54:05 UTC