W3C home > Mailing lists > Public > www-svg@w3.org > March 2012

SVG namespace for attributes? (was Re: review comments for SVG-related parts of css3-transforms)

From: Dirk Schulze <dschulze@adobe.com>
Date: Thu, 15 Mar 2012 07:38:22 -0700
To: Chris Lilley <chris@w3.org>
CC: Cameron McCormack <cam@mcc.id.au>, SVG public list <www-svg@w3.org>
Message-ID: <BAB03D14-7A95-40F8-8F13-AF245F96985D@adobe.com>

On Mar 15, 2012, at 6:00 AM, Chris Lilley wrote:

> On Wednesday, March 14, 2012, 7:01:02 AM, Dirk wrote:
> 
> (Cameron wrote)
> DS> In 7. The SVG 'transform' attribute:
> 
> DS>    This specification will also introduce the new presentation
> DS>    attributes ‘transform-origin’, ‘perspective’, ‘perspective-origin’,
> DS>    ‘transform-style’ and ‘backface-visibility’ in the SVG namespace. All
> DS>    new introduced presentation attributes are animateable.
> 
> DS> These attributes are not in the SVG namespace; rather they're in no
> DS> namespace (or in the "null" namespace, not sure what's the preferred
> DS> terminology).  I think you can just drop "in the SVG namespace".
> 
> DS> Can you point me to the section in the SVG specification? 
> 
> This comes from XML (actually, Namespace in XML), not from SVG.
> 
> DS> In general SVG attributes should be in the SVG namespace, no? 
> 
> No.
> 
> "A default namespace declaration applies to all unprefixed element names within its scope. Default namespace declarations do not apply directly to attribute names; the interpretation of unprefixed attributes is determined by the element on which they appear. "
> http://www.w3.org/TR/xml-names/#defaulting
> 
> 
> DS> The
> DS> question is if presentation attributes do belong to the SVG namespace.
> 
> No, because they are not prefixed.

Thank you very much for the clarification. I removed the mention of the SVG namespace for attributes in the last editor's draft.

Greetings,
Dirk

> 
> 
> -- 
> Chris Lilley   Technical Director, Interaction Domain                 
> W3C Graphics Activity Lead, Fonts Activity Lead
> Co-Chair, W3C Hypertext CG
> Member, CSS, WebFonts, SVG Working Groups
> 
Received on Thursday, 15 March 2012 14:39:04 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:50 GMT