W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2009

[Bug 7510] Allow elements beyond just HTML, MathML, and SVG into SVG element

From: <bugzilla@wiggum.w3.org>
Date: Tue, 22 Sep 2009 16:42:42 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Mq8Ru-0007Cd-Mr@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7510





--- Comment #9 from Shelley Powers <shelleyp@burningbird.net>  2009-09-22 16:42:42 ---
I saw your change, in response to comment 5. You added:


The HTML syntax does not support namespace declarations, even in foreign
elements.

For instance, consider the following HTML fragment:

<p>
 <svg>
  <metadata>
   <!-- this is invalid -->
   <cdr:license xmlns:cdr="http://www.example.com/cdr/metadata" name="MIT"/>
  </metadata>
 </svg>
</p>

The innermost element, cdr:license, is actually in the SVG namespace, as the
"xmlns:cdr" attribute has no effect (unlike in XML). In fact, as the comment in
the fragment above says, the fragment is actually non-conforming. This is
because the SVG specification does not define any elements called "cdr:license"
in the SVG namespace.

---

This means every legitimate use of namespaces in an SVG document embedded into
HTML will now generate a conformance error. 

This is NOT allowing the SVG specification to determine what is, or is not,
valid within SVG. 


-- 
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 Tuesday, 22 September 2009 16:42:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:01 UTC