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

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 UTC