Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: xs:int vs. xs:integer

From: "Pete Cordell" <petexmldev@--------------.--->
To: "Rich Adili" <Rich.Adili@----.--->, <xmlschema-dev@--.--->
Date: 5/22/2007 10:34:00 AM
----- 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:

http://www.tech-know-ware.com/lmx/xsd-overview.html#DefiningElementsPart1

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.

HTH,

Pete.
--
=============================================
Pete Cordell
Tech-Know-Ware Ltd
for XML Schema to C++ data binding visit
 http://www.tech-know-ware.com/lmx/
 http://www.codalogic.com/lmx/
=============================================



From mike@s... Tue May 22 08:40:48 2007
Received: from maggie.w


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent