W3C home > Mailing lists > Public > www-validator@w3.org > May 2009

Why is xmlns attribute mandatory on html element ?

From: Daniel Muller <Daniel.Muller@ec-lyon.fr>
Date: Mon, 11 May 2009 23:12:44 +0200
Message-ID: <20090511231244.6ptbngvms0s48og0@webmail.ec-lyon.fr>
To: www-validator@w3.org

I am surprised that the validator claims that xmlns should be mandatory on the
html element of xhtml documents.

As far as I know, xmlns is declared as #FIXED.
I always interpreted a #FIXED attribute as not being mandatory in the  
source xml document, but having to be returned in any case by the  
parser (being present or not). Is this wrong ?

Does it mean that #FIXED attributes MUST appear in the source document ?
or is xmlns a special case ?

Any answer would be appreciated.

Received on Tuesday, 12 May 2009 13:10:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:58 UTC