Re: Not detecting XHTML1.1 DTD

From: Masayasu Ishikawa (mimasa@w3.org)
Date: Wed, Sep 19 2001

  • Next message: grandane@grandane.com: "Trouble: ....document type..."

    Date: Wed, 19 Sep 2001 14:40:48 +0900 (JST)
    Message-Id: <20010919.144048.74741675.mimasa@w3.org>
    From: Masayasu Ishikawa <mimasa@w3.org>
    To: ascent@zetnet.co.uk
    Cc: www-validator@w3.org
    Subject: Re: Not detecting XHTML1.1 DTD
    
    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