ISSUE-3
Mapping Simple Numeric Types with Infinite Value Space
- State:
- CLOSED
- Product:
- Basic
- Raised by:
- Paul Downey
- Opened on:
- 2005-12-19
- Description:
Created on behalf of Erik Johnson (Epicor)
http://lists.w3.org/Archives/Public/public-xsd-databinding/2005Dec/0015.html
The xs:integer simple type (which is derived from xs:decimal, BTW) has a
value space defined as "the infinite set {...,-2,-1,0,1,2,...}" (see
http://www.w3.org/TR/2000/WD-xmlschema-2-20000922/#integer). Most
programming language and database implementations have (unsigned)
integer value spaces of 0 to some power of 2 minus 1. Some schema
processors map xs:integer and derived types like xs:nonNegativeInteger
to string types to avoid potential overflow problems. However, many
schema users are not aware that many languages/databases cannot consume
xs:nonNegativeInteger in the way developers may expect.
I think the only sound way to go forward is to ensure that schema
processors do not map simple types with an infinite value space to a
toolkit construct with a non-infinite value space.
- Related emails:
- ISSUE-3: Mapping Simple Numeric Types with Infinite Value Space (from dean+cgi@w3.org on 2005-12-19)
- Agenda: XML Schema Patterns for Databinding Telcon 20 December 2005 (from paul.downey@bt.com on 2005-12-19)
- Re: ISSUE-3: Mapping Simple Numeric Types with Infinite Value Space (from petexmldev@tech-know-ware.com on 2005-12-20)
- Draft Minutes from XML Schema Patterns for Databinding telcon 20 December 2005 (from paul.downey@bt.com on 2005-12-20)
- Agenda: XML Schema Patterns for Databinding Telcon 10 Jan 2006 (from paul.downey@bt.com on 2006-01-09)
- Re: Agenda: XML Schema Patterns for Databinding Telcon 10 Jan 2006 (from paul@wso2.com on 2006-01-10)
- Minutes: XML Schema Patterns for Databinding Telcon 10 January 2006 (from paul.downey@bt.com on 2006-01-10)
- Agenda: XML Schema Patterns for Databinding Telcon 24 January 2006 (from paul.downey@bt.com on 2006-01-23)
- Minutes from XML Schema Patterns for Databinding call 24 January 2006 (from paul.downey@bt.com on 2006-01-24)
- Agenda: XML Schema Patterns for Databinding F2F 27-28 February 2006 (from paul.downey@bt.com on 2006-02-22)
- Revised Agenda: XML Schema Patterns for Databinding F2F 27-28 February 2006 (from paul.downey@bt.com on 2006-02-27)
- proposed text for ISSUE-3 - Mapping Types with Infinite Value Space (from paul.downey@bt.com on 2006-03-28)
- Agenda: XML Schema Patterns for Databinding Telcon 28 March 2006 (from paul.downey@bt.com on 2006-03-28)
- Minutes from XML Schema Patterns for Databinding call 28 March 2006 (from paul.downey@bt.com on 2006-03-28)
- RE: proposed text for ISSUE-3 - Mapping Types with Infinite Value Space (from paul.downey@bt.com on 2006-03-28)
- Agenda: XML Schema Patterns for Databinding Telcon 4 April 2006 (from paul.downey@bt.com on 2006-04-01)
- Agenda: XML Schema Patterns for Databinding Telcon 18 April 2006 (from paul.downey@bt.com on 2006-04-15)
- Minutes from XML Schema Patterns for Databinding call 18 April 2006 (from paul.downey@bt.com on 2006-04-18)
- ACTION-80: review ISSUES list against the edtodo list (from paul.downey@bt.com on 2006-10-12)
Related notes: