W3C home > Mailing lists > Public > www-validator@w3.org > October 2005

Re: XHTML STRICT NL acting different then XHTML STRICT?

From: Olivier Thereaux <ot@w3.org>
Date: Wed, 12 Oct 2005 16:50:52 +0900
To: Jesper Jeeninga <j.jeeninga@student.utwente.nl>
Cc: www-validator@w3.org
Message-ID: <20051012075051.GA14132@w3.mag.keio.ac.jp>

Hello Jesper,

On Tue, Oct 11, 2005, Jesper Jeeninga wrote:
> 
> I have 2 versions of my website, one is dutch and the other english. The
> first part of the sources look like this:
> 
> --Dutch--
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//NL"
> 		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" lang="nl">
> <head>
> 	
> 	<meta name="generator" content="HTML Tidy, see www.w3.org" />
> 
> --/Dutch--

you should not use //NL in the DOCTYPE declaration, it's a declaration
of what the DTD is written in, not your document. Your usage of
xml:lang="nl" lang="nl" is enough. 
 
Regards,
-- 
olivier
Received on Wednesday, 12 October 2005 07:51:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:20 GMT