[Bug 800] xmlns attribute for XML namespace not allowed

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


jontesreklampost@arrak.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




------- Additional Comments From jontesreklampost@arrak.fi  2005-12-27 00:25 -------
Comment #1 cleverly avoids stating the original bugreport is invalid. :-)

I get the same error when I have a 'xmlns="http://www.w3.org/1999/xhtml"' 
attribute on an nonroot-element in my document. The DTD only alows (and 
requires) it on the html element.

But isn't the xmlns attribute part of the XML-specification. It is kind of 
part of the layer under XHTML?

The XHTML recommendation states (in http://www.w3.org/TR/xhtml1/#well-formed) 
states that other namespaces MAY be used. But the document is then 
nolonger "strictly conforming". It does not state what the document then is.

But in my case I am not using another namespace. And according to 
http://www.w3.org/TR/REC-xml-names/ the xmlns-attribute is valid on any 
element.

Received on Tuesday, 27 December 2005 00:25:56 UTC