W3C home > Mailing lists > Public > public-ws-addressing-comments@w3.org > April 2005

Feedback on xs:nonNegativeInteger (SOAP, clarification)

From: Jonathan Marsh <jmarsh@microsoft.com>
Date: Tue, 12 Apr 2005 14:29:23 -0700
Message-ID: <7DA77BF2392448449D094BCEF67569A507280FB5@RED-MSG-30.redmond.corp.microsoft.com>
To: <public-ws-addressing-comments@w3.org>

Regarding the request for feedback on the use of xs:nonNegativeInteber,
we prefer xs:unsignedInt.

xs:nonNegativeInteger allows an arbitrary number of digits, which is
inconvenient when mapping to native types in our tooling, and introduces
implementation-specific limitations which may affect interop.

xs:duration also allows arbitrary precision and the accompanying
implementation-specific limitations, yet is difficult to restrict this
type via pattern facets and even then doesn't map well into native types
in our tooling.

xs:unsignedLong may also be acceptable because it's easy to tool and
manipulate, although we don't see a need for 50 million year durations
in this case.

We therefore prefer xs:unsignedInt.
Received on Tuesday, 12 April 2005 21:29:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:48:59 UTC