W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > September 2009

Re: FPWD Review Request: HTML+RDFa

From: Shane McCarron <shane@aptest.com>
Date: Thu, 03 Sep 2009 15:00:06 -0500
Message-ID: <4AA02046.4030306@aptest.com>
To: Sam Ruby <rubys@intertwingly.net>
CC: 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>

Sam Ruby wrote:
> As currently defined, section 9.3 defines 6 known namespaces.  What 
> namespace a given element or attribute is assigned to is defined by 
> the parser.  xmlns attributes have no bearing on this mapping.  
> However, section indicates that xmlns (no colon, i.e., default 
> namespace) attributes may be used on elements, but such usage is only 
> conformant if the value of the xmlns attribute exactly matches the 
> namespace that the parser assigns to the element.
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?  And I cannot use SVG elements that 
are namespace qualified and in the non-default namespace (e.g. 
xmlns:svg="...").  And if I omit the xmlns="..." it is still valid and 
meaningful because the parser magically knows it is an SVG element?

Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com
Received on Thursday, 3 September 2009 20:01:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:04 UTC