
INTEGER
The ASN.1 INTEGER type is converted into one of several XSD built-in types depending on value range constraints on the integer type definition.
If the integer has a value range constraint that allows a more restrictive XSD type to be used, then that type will be used. For example, if a range of 0 to 255 (inclusive) is specified, an XSD unsignedByte would be used because it maps exactly to this range. The following table shows the range values for each of the INTEGER type mappings:
Ranges beyond "long" or "unsignedLong" will cause the integer value to be treated as a "big integer". This will map to an xsd:string type. An integer can also be specified to be a big integer using the ASN1C <isBigInteger/> configuration file setting.
Objective Systems, Inc.102 Pickering Way, Suite #506Exton, Pennsylvania 19341 http://www.obj-sys.com Phone: (484) 875-9841 Toll-free: (877) 307-6855 (US only) Fax: (484) 875-9830 info@obj-sys.com |