W3C home > Mailing lists > Public > public-svg-wg@w3.org > October to December 2008

New wording for @attributeType

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 23 Oct 2008 10:06:49 +1100
To: public-svg-wg@w3.org
Message-ID: <20081022230648.GC20693@arc.mcc.id.au>

Hello WG.

The new wording for attributeType="auto" for ISSUE-2082 includes this
text:

  For 'attributeName' values with no prefix, the user agent must use
  the default XML namespace for the element, and if the 'attributeName'
  value does have a prefix, the user agent must use the namespace
  associated with the prefix.
   — http://dev.w3.org/SVG/profiles/1.2T/publish/animate.html#AttributeTypeAttribute

This should say that if the @attributeName value has no prefix, it
should look for an attribute in no namespace.

It should be clarified here that when a prefix is present, the namespace
is looked up based on the declarations in scope on the animation
element.  (Something like that is currently said in the
attributeType="XML" section.)


I notice that in attributeType="XML" it says:

  This specifies that the value of 'attributeName' is the name of an XML
  attribute defined in the default XML namespace for the target element.
  If the value for 'attributeName' has a prefix, the user agent must use
  the associated namespace name as defined in the scope of the target
  element.

So in the first sentence it states that it uses the default XML
namespace, but this is then contradicted in the second sentence for the
case when a prefix is present.


If you agree I’ll make changes for both of these issues.

Thanks,

Cameron

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 22 October 2008 23:07:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 October 2008 23:07:31 GMT