[Bug 3385] xmlns in html tag is not mandatory

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 UTC