W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2006

[Bug 3385] xmlns in html tag is not mandatory

From: <bugzilla@wiggum.w3.org>
Date: Tue, 19 Dec 2006 16:03:31 +0000
CC:
To: www-validator-cvs@w3.org
Message-Id: <E1GwhRD-0004le-7X@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3385


martin.kliehm@bluemars.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.kliehm@bluemars.net




------- Comment #4 from martin.kliehm@bluemars.net  2006-12-19 16:03 -------
In XHTML 1.1, the XHTML namespace is required to be the fixed value
"http://www.w3.org/1999/xhtml", but it is also allowed to expand the namespace:

<html xmlns="http://www.w3.org/1999/xhtml"
  xmlns:wairole= "http://www.w3.org/2005/01/wai-rdf/ GUIRoleTaxonomy#"
  xmlns:x2="http://www.w3.org/2002/06/xhtml2"
  xmlns:aaa="http://www.w3.org/2005/07/aaa">

In http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-qname-1.mod the xmlns
attribute is set to #FIXED with the value "http://www.w3.org/1999/xhtml":

<!ENTITY % XHTML.xmlns.attrib.prefixed
     "xmlns:%XHTML.prefix;  %URI.datatype;   #FIXED '%XHTML.xmlns;'"
>

But it is allowed to extend the namespaces via %XHTML.xmlns.extra.attrib -
that's the "X" in "XHTML".
Received on Tuesday, 19 December 2006 16:06:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:55 GMT