W
WideBoy
Hi,
In an XML schema there is little difference between the data types
'int' and 'integer', however, if you use a tool such as WSDL.exe to
generate proxy classes to handle such schemas you find that
Xsd:int is deserialised as a 32-bit int whereas
Xsd:integer is deserialised as a string.
Which leads me to the conclusion that 'ints' should be used in XML
schemas unless your requirement really demands a humongous number so as
to avoid overheads in dealing with the string-integer representations.
Has any one else experienced this sort of issue? if so are there any
other resolutions to this problem aside from not using 'integer' unless
required.
I look forward to your comments,
Naran
In an XML schema there is little difference between the data types
'int' and 'integer', however, if you use a tool such as WSDL.exe to
generate proxy classes to handle such schemas you find that
Xsd:int is deserialised as a 32-bit int whereas
Xsd:integer is deserialised as a string.
Which leads me to the conclusion that 'ints' should be used in XML
schemas unless your requirement really demands a humongous number so as
to avoid overheads in dealing with the string-integer representations.
Has any one else experienced this sort of issue? if so are there any
other resolutions to this problem aside from not using 'integer' unless
required.
I look forward to your comments,
Naran