Quantcast
Channel: xsd2Code community edition .net class generator from XSD schema
Viewing all articles
Browse latest Browse all 543

Commented Issue: xs:integer will become a string in some cases. [15554]

$
0
0
When a type is referenced it will not use the correct type.
In my example i expect the year month and day properties to be of type int.
Comments: ** Comment from web user: pego **

xs:integer is unbounded so it might be bigger than the [int] class in .NET can hold - remember the size in .NET is Signed 32-bit.

Try defining your type as xs:int and everything works fine!


Viewing all articles
Browse latest Browse all 543

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>