- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Thu, 03 Sep 2009 16:16:59 -0400
- To: Shane McCarron <shane@aptest.com>
- CC: Sam Ruby <rubys@intertwingly.net>, Anne van Kesteren <annevk@opera.com>, Manu Sporny <msporny@digitalbazaar.com>, HTML WG <public-html@w3.org>, RDFa Developers <public-rdf-in-xhtml-tf@w3.org>
Shane McCarron wrote: > Errr... ok. So if I am writing an HTML5 document that incorporates SVG, > I would embed an SVG element and indicate it's namespace ONLY if I were > defining the new default namespace? You wouldn't indicate its namespace period, unless you need source-level interop with XHTML. Then you would indicate xmlns="the svg namespace". Anything else is non-conformant. > And I cannot use SVG elements that > are namespace qualified and in the non-default namespace (e.g. > xmlns:svg="...") Correct. > And if I omit the xmlns="..." it is still valid and > meaningful because the parser magically knows it is an SVG element? Yes. -Boris
Received on Thursday, 3 September 2009 20:18:18 UTC