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

RE: SVG12: trait access vs "an error"

From: Scott Hayman <shayman@rim.com>
Date: Wed, 7 Sep 2005 14:41:16 -0400
Message-ID: <F88DB8752C2F644E91BE66DC3ACFF480095C5CDD@XCL01YYZ.rim.net>
To: "Bjoern Hoehrmann" <derhoermi@gmx.net>
Cc: <www-svg@w3.org>

Hi Bjoern, 

> From: Bjoern Hoehrmann

> http://www.w3.org/TR/2005/WD-SVGMobile12-20050413/svgudom.html
>  states that "each element has a well-defined set of traits 
> and attempting to access an undefined trait is an error", 
> this is inconsistent with the section on error processing as 
> error processing is suspended during script executing, so 
> this can't really be "an error" as defined in the draft. 
> Please change the draft to have more consistent requirements.

I think that you might have mixed up the cases when a document is in
error, as described in the error processing section [1], with when an
error is encountered during an API call, as described in the section
covering trait access [2].  An API may raise an exception when a method
is called regardless of the state of error processing on the document.
The spec is consistent as these two things are independent.

Regards,
Scott Hayman
On behalf of the SVG Working Group
--
Scott Hayman
mailto:shayman@rim.com

[1] http://www.w3.org/TR/SVGMobile12/implnote.html#ErrorProcessing
[2] http://www.w3.org/TR/SVGMobile12/svgudom.html#svg::TraitAccess



---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Received on Wednesday, 7 September 2005 18:41:18 GMT

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