W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2007

Re: xs:int vs. xs:integer

From: Pete Cordell <petexmldev@tech-know-ware.com>
Date: Tue, 22 May 2007 09:33:36 +0100
Message-ID: <005301c79c4b$e84f4d60$3b00a8c0@Codalogic>
To: "Rich Adili" <Rich.Adili@xata.com>, <xmlschema-dev@w3.org>

----- Original Message From: "Rich Adili" <Rich.Adili@xata>

> Any difference between xs:int and xs:integer types?

xs:int is a signed 32-bit integer,whereas xs:integer is unbounded in terms 
of bits.

You can see more information on the types of integers that XSD defines at:


I recommend avoiding the unbounded and partially bounded integers that XML 
schema provides, because a lot of programming languages don't readily 
support them.  However, that is influenced by the domain in which I use 
schemas (data oriented) and your mileage may vary.


Pete Cordell
Tech-Know-Ware Ltd
for XML Schema to C++ data binding visit
Received on Tuesday, 22 May 2007 08:33:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:12 UTC