cancel
Showing results for 
Search instead for 
Did you mean: 

Int Values Range

manigram
Active Participant
0 Kudos

HI All,

As per XSD the data type "int" represents a 32-bit signed integer in the range [-2,147,483,648, 2,147,483,647].

So in PI if the values range exceed  this value "2,147,483,647" it should throw error right?

If am giving input as lke this "165165415616551453131655645644646546546546546" it is taking and processing sucessfully.

I want to understand this please share your inputs.

Regards,

Manigandan

Accepted Solutions (1)

Accepted Solutions (1)

manigram
Active Participant
0 Kudos

HI,

Any inputs plz.

Regards,

Manigandan

former_member184720
Active Contributor
0 Kudos

Hi Mani - Did you select the option to validate the xml in the sender agreement? If not your xml will never be validated against the XSD.

Please check below link..

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/02/15/michals-pi-tips-xml-validation--c...

Answers (1)

Answers (1)

Harish
Active Contributor
0 Kudos

Hi Mani,

PI will not throw errors when you give out of range integer because it will not validate the data (by default). But if you perform any arithmetic operation on data then it will give wrong result (wierd behavior).

regards,

Harish