The datatypes module This module defines a set of core datatypes for reference globally. More information about this module is available at http://www.daisy.org/z3998/2012/auth/cm/#z3998.datatypes.moduleMarkus Gyllingmgylling@daisy.org200920102011201220132014DAISY ConsortiumThis module is licensed under a Creative Commons Attribution 3.0 license, a copy of which is available at
http://creativecommons.org/licenses/by/3.0/
For complete licensing information, please refer to the LICENSE file that came with this distribution, a copy of which is also available from the DAISY web site at
www.daisy.org
2014-10-15MGaFixed ID/IDREF(s) to NCName to avoid validation errors using wildcards. Manual verification of these must be added where appropriate.2012-12-19MGyInitial version
Datatypes defined in XML 1.0 An ID TokenizedType, as defined in section 3.3.1 of refXML . An IDREF TokenizedType, as defined in section 3.3.1 of refXML . A space-separated list of IDREF TokenizedTypes. An NMTOKEN TokenizedType, as defined in section 3.3.1 of refXML . A space-separated list of NMTOKEN.datatype TokenizedTypes. An XML non-colonized Name, as defined in section 3.3.7 of refXML . A single character, as per section 2.2 of refXML .
1
A range (0..n) of characters, as per section 2.2 of refXML . A language identifier, as per Language Identification in refXML .
0
Datatypes defined in or derived from XSD datatypes Specifies a value that must contain at least one non-whitespace character after whitespace normalization rules have been applied to the attribute value, as expressed through the XSD normalizedString datatype.
1
A date and/or time statement, expressed using any of the XSD gYear, gYearMonth, gMonthDay, gDay, gMonth, date, time or dateTime datatypes, or the Z39.98-defined TimeNoSeconds.datatype datatype. A derivation of the XSD time datatype that only includes hour and minute specifications. The lexical expression is hh:mm.
\d\d:\d\d
Date and time information, as defined by the dateTime type in refXMLSchemaPart2 . A non-negative integer.
[0-9]+
A positive integer.
[0-9]+
An integer. A Uniform Resource Identifier Reference, as defined by the anyURI type in refXMLSchemaPart2 . A space-separated list of URI.datatype s.
A namespace qualified name as per refXMLNamespaces . One or more whitespace separated QName.datatype s. A prefixed QName.datatype .
[\i-[:]][\c-[:]]*:[\i-[:]][\c-[:]]*
ContentType and MediaType Datatypes Media type, as per refRFC2046 .
[a-zA-Z0-9!#$&+\-\^_]+/[a-zA-Z0-9!#$&+\-\^_]+.*
CSS Datatypes A time value as defined in CSS 2.1 Times , e.g. 250ms, 3s.
([0-9]+\.)?[0-9]+m?s
CURIE Datatypes A single CURIE, as defined in refRDFa11 .
(([\i-[:]][\c-[:]]*)?:)?[\i-[:]][\c-[:]]*
A whitespace separated list of CURIE.datatype s. A single safe CURIE, as defined in refRDFa11 .
\[(([\i-[:]][\c-[:]]*)?:)?.+\]
3
A whitespace separated list of SafeCURIE.datatype s. A URI.datatype or a SafeCURIE.datatype . A whitespace separated list of URIorSafeCURIE.datatype s.
A single positive number or range.
([0-9]|[1-9][0-9]+)(-[1-9][0-9]*)?