[Bug 5801] Conformance rules for xmlns unintuitively different for HTML and foreign content

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





--- Comment #3 from Henri Sivonen <hsivonen@iki.fi>  2008-06-26 07:25:46 ---
(In reply to comment #1)
> Or it could be changed so that xmlns is only allowed on foreign content
> elements if their parent is in a different namespace than the element itself.

If one is writing aesthetically pure text/html from scratch, there's no point
in putting any xmlns attribute anywhere.

The purpose of allowing xmlns in text/html source is to support copying and
pasting XML-serialized SVG and MathML and HTML-compatible XHTML. In the copying
source, it is permitted to have redundant xmlns anywhere. Allowing it in some
places but not others in the paste target is pretty arbitrary--particularly
when allowing it *at all* is about supporting easy pasting. 


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 26 June 2008 07:26:23 UTC