XSD datatype
xs:unsignedInt
An unsigned 32-bit integer: 0 to 4,294,967,295.
The unsigned family — unsignedLong, unsignedInt, unsignedShort, unsignedByte — mirrors the signed one with a lower bound of zero and correspondingly higher maxima.
xs:unsignedByte is 0–255, which makes it the natural type for a value that must fit in an octet.
- Lexical space
- Optional plus sign, then digits, within 0 to 4294967295.
- Derives from
xs:unsignedLong- Category
- Numeric types
- Facets
- minInclusive, maxInclusive, minExclusive, maxExclusive, pattern, enumeration, whiteSpace, totalDigits, fractionDigits
The schema used
This is the exact schema the literals above are validated against. Paste it into the validator with one of them to see the result yourself.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="v" type="xs:unsignedInt"/>
</xs:schema>Related
Get started
Bring order to the XML your team can't afford to ignore.
Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.