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

Re: FPWD Review Request: HTML+RDFa

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 03 Sep 2009 16:16:59 -0400
Message-ID: <4AA0243B.1030105@mit.edu>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:48 GMT