Name
xsd:long — 64-bit signed integers
Synopsis
<xsd:simpleType name="long” id="long"> <xsd:restriction base="xsd:integer"> <xsd:minInclusive value="-9223372036854775808"/> <xsd:maxInclusive value="9223372036854775807"/> </xsd:restriction> </xsd:simpleType>
Derived from
xsd:integer
Primary
xsd:decimal
Known subtypes
xsd:int
Data parameters (facets)
enumeration
, fractionDigits
,
maxExclusive
, maxInclusive
,
minExclusive
, minInclusive
,
pattern
, totalDigits
Description
The value space of xsd:long
is the set of common
double-size integers (64 bits)—the integers between
-9223372036854775808 and 9223372036854775807. Its lexical space
allows any number of insignificant leading zeros.
Restrictions
The decimal point (even when followed only by insignificant zeros) is forbidden.
Example
Valid values for xsd:long
include
-9223372036854775808
, 0
,
-0000000000000000000005
, and
9223372036854775807
.
Invalid values include 9223372036854775808
and
1
..
Get RELAX NG now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.