Maximum Size of integer field

Hi all,

I am checking the code of a binding and a question came to my mind.

I was looking at the Thing xml description and I have something similar to this

<parameter name="test type=“integer” required=“true” min=“0”>

  • there’sany checking done by oh on the min/max/step values?a lot of binding did that check themselves but then I don’t understand the need of specifying it in the thing xml file…
  • the integer is converted as BigInteger. Now the current max size of a BigInteger is (2^32)^32-1 which is pretty big that means that if I don’t check for max can I hav e problems without of memory errors?

Cheers
Nicola Lunghi

I moved this to the Development category.