on 2006 Nov 28 7:08 AM
Hi Everyone,
i have one of the elements in the Schema As Integer. But when iam passing the value as '456,09' it is getting validated. is this a valid value for integer type.
Regards,
Sita Rama Raju
Hi Raj,
Genreally it should not except the floating point values:
Check this link : http://www.xml.dvint.com/docs/SchemaDataTypesQR-2.pdf
http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#int
Regards,
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i have one of the elements in the Schema As Integer
>>>
in this case it wouldnt be appropriate if you are passing 456,09 or even 456.09.
Integers in XML:
+ integer is ·derived· from decimal by fixing the value of ·fractionDigits· to be 0. This results in the standard mathematical concept of the integer numbers. The ·value space· of integer is the infinite set {...,-2,-1,0,1,2,...}. The ·base type· of integer is decimal.
Lexical representation -
integer has a lexical representation consisting of a finite-length sequence of decimal digits (#x30-#x39) with an optional leading sign. If the sign is omitted, "+" is assumed. For example: -1, 0, 12678967543233, 100000.
So you cant use . as it would be a decimal data type and not integer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
Message was edited by:
Rajiv Subramanian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Your web service only accepts integer right... '456,09' one is not an integer.. change it to '456.09'
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Inbound messages are not validated in XI. You can have error when you use it as target in message mapping.
Regards,
Wojciech
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
10 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.