W3C home > Mailing lists > Public > public-ddwg-comments@w3.org > April 2008

DDR Simple API - Reserved code numbers

From: Rotan Hanrahan <rotan.hanrahan@mobileaware.com>
Date: Mon, 14 Apr 2008 06:22:47 -0400
Message-ID: <D5306DC72D165F488F56A9E43F2045D3018B1053@FTO.mobileaware.com>
To: <public-ddwg-comments@w3.org>

In the DDR Simple API Exceptions:

  http://www.w3.org/TR/2008/WD-DDR-Simple-API-20080404/#sec-exceptions

several integer values are defined to represent status or cause of
exceptions. The following numbers are observed (in the following order):

500, 400, 65536, 300, 100, 800, 200, 900, 600, 10000.

On behalf of our development team, here is a question relating to these
integers:

Are these integer values intended to be unique across all of the DDR
Simple API exception classes? If so, then implementations that extend
the API will require guidance on the choice of custom integer values for
exception codes. Such extensions are anticipated in the text of section
4.4.

Proposed remedy:

State in the specification that exception codes below "some number" are
reserved for this and future editions of this specification, and that
numbers above "some number" are recommended for custom implementations
that extend this specification.

On behalf of MobileAware Ltd, Development Team,

Dr Rotan Hanrahan
Chief Innovations Architect
MobileAware
Received on Monday, 14 April 2008 10:24:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:41:40 UTC