W3C home > Mailing lists > Public > www-svg@w3.org > April 2005

SVG12: Namespaced traits

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 11 Apr 2005 00:16:49 +0200
To: www-svg@w3.org
Message-ID: <4320a5cd.137811484@smtp.bjoern.hoehrmann.de>

Dear Scalable Vector Graphics Working Group,

  http://www.w3.org/TR/2004/WD-SVG12-20041027/binding.html allows to
define traits using the traitDef element for attributes in certain
namespaces. An example could be

  <xbl:definition element="foo:button">
    <traitDef name="x" namespace=""

    <traitDef name="x" namespace="http://example.org/#"

It is however not clear how one could use getFloatTrait() to access
the "x" trait here, from the definition of getFloatTrait() it seems
that it matches only on the localName so I could get either trait in
this case. This does not seem sound to me. Clearly, if it is not
possible to consider those distinct (except when it is a string trait)
I question the value of having a 'namespace' attribute on the traitDef
element in the first place.

Please change the specification such that it, uuhmm, makes more sense.

Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Sunday, 10 April 2005 22:16:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:02 UTC