Data Type
|
Facets
|
Description
|
string
|
length,
pattern, maxLength, minLength, enumeration, whiteSpace
|
Represents
a string.
|
boolean
|
pattern,
whiteSpace
|
Represents
Boolean either true or false.
|
decimal
|
enumeration,
pattern, totalDigits, fractionDigits, minInclusive, maxInclusive,
maxExclusive, whiteSpace
|
Represents
aribitrary precision numbers.
|
float
|
pattern,
enumeration, minInclusive, minExclusive, maxInclusive, maxExclusive,
whiteSpace
|
Represents
single-precision 32-bit floating-point numbers.
|
double
|
pattern,
enumeration, minInclusive, minExclusive, maxInclusive, maxExclusive,
whiteSpace
|
Represents
double-precision 64-bit floating-point numbers.
|
duration
|
enumeration,
pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, whiteSpace
|
Represents
a duration of time, duration is used to specify time interval.
The
pattern for duration is PnYnMnDTnHnMnS, where P indicates the period
(required), nY represents the number of years, nM the number of months, nD the number of days, T the date/time separator, nH the number of hours, nM the number of minutes, and nS the number of seconds.
Example
P1Y5M9DT123S, which means a duration of 1
year, 5 months, 9 days and 123 seconds.
|
dateTime
|
enumeration,
pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, whiteSpace
|
Represents
a specific instance of time.
The
pattern for dateTime is CCYY-MM-DDThh:mm:ss where CC
represents the century, YY the year, MM
the month, and DD the day, hh represents hour, mm
represents minutes, ss represents seconds.
|
time
|
enumeration,
pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, whiteSpace
|
Represents
time. The pattern for time is hh:mm:ss.sss with optional time zone
indicator.
|
date
|
enumeration,
pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, whiteSpace
|
Represents
a Gregorian calendar date in the format
CCYY-MM-DD where CC represents the century, YY the year, MM the month and DD the day. |
gYearMonth
|
enumeration,
pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, whiteSpace
|
epresents
a specific Gregorian month in a specific Gregorian year.
The
pattern for gYearMonth is CCYY-MM.
|
gYear
|
enumeration,
pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, whiteSpace
|
Represents
a Gregorian year. The pattern for gYear
is CCYY.
|
gMonthDay
|
enumeration,
pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, whiteSpace
|
Represents
a specific day that recurs every year. The letter
g signifies "Gregorian." xsd:gMonthDay can be used to say, for example,
that your birthday is on the 6th of June every year.
The
format of
xsd:gMonthDay is --MM-DD |
gDay
|
enumeration,
pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, whiteSpace
|
Represents
a day that recurs every month. The letter
g signifies "Gregorian."
The
format of
gDay is ---DD . |
gMonth
|
enumeration,
pattern, minInclusive, minExclusive, maxInclusive, maxExclusive, whiteSpace
|
Represents
a specific month that recurs every year.
The
format for gMonth is --MM-- with optional time zone indicator
as allowed for date.
|
hexBinary
|
length,
pattern, maxLength, minLength, enumeration, whiteSpace
|
Represents
binary data as a sequence of binary octets.
For
example,
0FA8 and 0BF8 . |
base64Binary
|
length,
pattern, maxLength, minLength, enumeration, whiteSpace
|
Represents
Base64-encoded arbitrary binary data. A base64Binary is the set of finite-length sequences of binary
octets.
|
anyURI
|
length,
pattern, maxLength, minLength, enumeration, whiteSpace
|
Represents
a URI as defined by RFC 2396. An anyURI
value can be absolute or relative, and may have an optional fragment
identifier.
|
QName
|
length,
enumeration, pattern, maxLength, minLength, whiteSpace
|
Represents
an XML namespace-qualified name. A
xsd:QName value consists of a prefix and a
local part, separated by a colon, both of which are NCName values. The prefix
and colon are optional, but if they are not present, it is assumed that
either the name is namespace-qualified by other means (e.g., by a default
namespace declaration), or the name is not in a namespace. |
NOTATION
|
length,
enumeration, pattern, maxLength, minLength, whiteSpace
|
Represents
a NOTATION attribute type. A
set of QNames.
|
Prevoius Next Home
No comments:
Post a Comment