The W3C XML Schema recommendation specifies that the xs:integer type map to
a type with infinite precision. Since the System.Decimal type has a larger
maximum value than the System.Int32 type we picked that.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Ted" <te********@yahoo.com> wrote in message
news:67**************************@posting.google.c om...
I have some code which processes an xsd. For elements of type
xs:integer the XmlSchemaDatatype object gotten from the schema
elements ElementType member contains a ValueType of System.Decimal. I
don't get it it should be System.Int32 or some other integer type but
not a decimal. Any ideas why this is happening?
btw: I'm using msxml 4.0.
Ted