ZVON > References > SOAP Reference

Go to standard

nonPositiveInteger

Standard excerpt:

nonPositiveInteger is derived from integer by fixing the value of maxInclusive to be 0. This results in the standard mathematical concept of the non-positive integers. The value space of nonPositiveInteger is the infinite set {...,-2,-1,0}. The base type of nonPositiveInteger is integer.


Examples:

<SOAP-ENC:nonPositiveInteger>-2131421</SOAP-ENC:nonPositiveInteger>
<foo xsi:type="SOAP-ENC:nonPositiveInteger">-2131421</foo>
<SOAP-ENC:nonPositiveInteger>-2</SOAP-ENC:nonPositiveInteger>
<foo xsi:type="SOAP-ENC:nonPositiveInteger">-2</foo>
<SOAP-ENC:nonPositiveInteger>0</SOAP-ENC:nonPositiveInteger>
<foo xsi:type="SOAP-ENC:nonPositiveInteger">0</foo>