negativeInteger data type

The xs:negativeInteger data type represents an integer that is less than zero. Derived from data type xs:nonPositiveInteger.

The lexical form of xs:negativeInteger is negative sign (-) that is followed by a finite-length sequence of decimal digits. The range that can be represented by this data type is from -9223372036854775808 to -1. The following numbers are valid examples of this data type: -1, -12678967543233, and -100000.