W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2008

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

From: <bugzilla@wiggum.w3.org>
Date: Thu, 26 Jun 2008 07:25:47 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1KBlrX-0002Tc-2G@wiggum.w3.org>


--- 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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:34 UTC