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

Re: Not detecting XHTML1.1 DTD

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Wed, 19 Sep 2001 14:40:48 +0900 (JST)
Message-Id: <20010919.144048.74741675.mimasa@w3.org>
To: ascent@zetnet.co.uk
Cc: www-validator@w3.org
Christopher Thomas McGinlay <ascent@zetnet.co.uk> wrote:

> The HTML validator seemed not to pick up the following document type, 
> although it went on validate without difficulty.
> 
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Strict//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> 
> Seems a bit odd, or perhaps I have made an error?

You made a bunch of errors.

 - The FPI for XHTML 1.1 is "-//W3C//DTD XHTML 1.1//EN"
 - A typical system identifier for XHTML 1.1 is
     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
 - There's no "lang" attribute in XHTML 1.1

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Wednesday, 19 September 2001 01:40:59 GMT

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