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:
  1. ISSUE-3: Mapping Simple Numeric Types with Infinite Value Space (from dean+cgi@w3.org on 2005-12-19)
  2. Agenda: XML Schema Patterns for Databinding Telcon 20 December 2005 (from paul.downey@bt.com on 2005-12-19)
  3. Re: ISSUE-3: Mapping Simple Numeric Types with Infinite Value Space (from petexmldev@tech-know-ware.com on 2005-12-20)
  4. Draft Minutes from XML Schema Patterns for Databinding telcon 20 December 2005 (from paul.downey@bt.com on 2005-12-20)
  5. Agenda: XML Schema Patterns for Databinding Telcon 10 Jan 2006 (from paul.downey@bt.com on 2006-01-09)
  6. Re: Agenda: XML Schema Patterns for Databinding Telcon 10 Jan 2006 (from paul@wso2.com on 2006-01-10)
  7. Minutes: XML Schema Patterns for Databinding Telcon 10 January 2006 (from paul.downey@bt.com on 2006-01-10)
  8. Agenda: XML Schema Patterns for Databinding Telcon 24 January 2006 (from paul.downey@bt.com on 2006-01-23)
  9. Minutes from XML Schema Patterns for Databinding call 24 January 2006 (from paul.downey@bt.com on 2006-01-24)
  10. Agenda: XML Schema Patterns for Databinding F2F 27-28 February 2006 (from paul.downey@bt.com on 2006-02-22)
  11. Revised Agenda: XML Schema Patterns for Databinding F2F 27-28 February 2006 (from paul.downey@bt.com on 2006-02-27)
  12. proposed text for ISSUE-3 - Mapping Types with Infinite Value Space (from paul.downey@bt.com on 2006-03-28)
  13. Agenda: XML Schema Patterns for Databinding Telcon 28 March 2006 (from paul.downey@bt.com on 2006-03-28)
  14. Minutes from XML Schema Patterns for Databinding call 28 March 2006 (from paul.downey@bt.com on 2006-03-28)
  15. RE: proposed text for ISSUE-3 - Mapping Types with Infinite Value Space (from paul.downey@bt.com on 2006-03-28)
  16. Agenda: XML Schema Patterns for Databinding Telcon 4 April 2006 (from paul.downey@bt.com on 2006-04-01)
  17. Agenda: XML Schema Patterns for Databinding Telcon 18 April 2006 (from paul.downey@bt.com on 2006-04-15)
  18. Minutes from XML Schema Patterns for Databinding call 18 April 2006 (from paul.downey@bt.com on 2006-04-18)
  19. ACTION-80: review ISSUES list against the edtodo list (from paul.downey@bt.com on 2006-10-12)

Related notes:

2006-04-23: http://www.w3.org/2002/ws/databinding/6/4/18-databinding-minutes.html#item03 Resolution: http://lists.w3.org/Archives/Public/public-xsd-databinding/2006Mar/0019.html