--- a/rdf-concepts/index.html Mon Nov 21 20:59:06 2011 +0000
+++ b/rdf-concepts/index.html Mon Nov 21 21:06:47 2011 +0000
@@ -673,15 +673,6 @@
</li>
</ul>
- <p class="note">Certain XML Schema built-in datatypes are not suitable
- for use within RDF. For example, the
- <a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#QName">QName</a>
- datatype requires a namespace declaration to be in scope during
- the mapping, and is not recommended for use in RDF.
- [[RDF-MT]] contains a
- <a href="http://www.w3.org/TR/2004/REC-rdf-mt-20040210/#dtype_interp">more detailed discussion</a>
- of specific XML Schema built-in datatypes.</p>
-
<div class="note">
<p>When the datatype is defined using XML Schema:
</p>
@@ -697,20 +688,17 @@
Schema mechanisms that control the lexical space and the value space;
however, RDF does not define a standard mechanism to access these facets.</li>
-<li>In [[XMLSCHEMA11-1]],
-<a href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#section-White-Space-Normalization-during-Validation">
-white space normalization</a> occurs
-during
-<a href="http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#key-vn">validation</a>
-according to the value of the
-<a href="http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#rf-whiteSpace">whiteSpace
-facet</a>. The lexical-to-value mapping used in RDF datatyping
-occurs after this, so that the whiteSpace facet has no
-effect in RDF datatyping.
-</li>
-</ul>
-
-</div>
+ <li>In [[XMLSCHEMA11-1]],
+ <a href="http://www.w3.org/TR/xmlschema11-1/#sec-wsnormalization">white space normalization</a>
+ occurs during
+ <a href="http://www.w3.org/TR/xmlschema11-1/#key-vn">validation</a>
+ according to the value of the
+ <a href="http://www.w3.org/TR/xmlschema11-2/#rf-whiteSpace">whiteSpace
+ facet</a>. The lexical-to-value mapping used in RDF datatyping
+ occurs after this, so that the whiteSpace facet has no
+ effect in RDF datatyping.</li>
+ </ul>
+ </div>
<p class="note"><a title="language-tagged string">Language-tagged
strings</a> have the <a>datatype IRI</a>
@@ -794,55 +782,55 @@
<table class="xsd-types" rules="all">
<tr><th></th><th>Datatype</th><th>Value space (informative)</th></tr>
- <tr><th rowspan="4">Core types</th><td><a href="http://www.w3.org/TR/xmlschema-2/#string"><code>xsd:string</code></a></td><td>Character strings</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#boolean"><code>xsd:boolean</code></a></td><td>true, false</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#decimal"><code>xsd:decimal</code></a></td><td>Arbitrary-precision decimal numbers</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#integer"><code>xsd:integer</code></a></td><td>Arbitrary-size integer numbers</td></tr>
+ <tr><th rowspan="4">Core types</th><td><a href="http://www.w3.org/TR/xmlschema11-2/#string"><code>xsd:string</code></a></td><td>Character strings</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#boolean"><code>xsd:boolean</code></a></td><td>true, false</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#decimal"><code>xsd:decimal</code></a></td><td>Arbitrary-precision decimal numbers</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#integer"><code>xsd:integer</code></a></td><td>Arbitrary-size integer numbers</td></tr>
<tr><th rowspan="2">IEEE floating-point<br />numbers</th>
- <td><a href="http://www.w3.org/TR/xmlschema-2/#double"><code>xsd:double</code></a></td><td>64-bit floating point numbers incl. ±Inf, ±0, NaN</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#float"><code>xsd:float</code></a></td><td>32-bit floating point numbers incl. ±Inf, ±0, NaN</td></tr>
+ <td><a href="http://www.w3.org/TR/xmlschema11-2/#double"><code>xsd:double</code></a></td><td>64-bit floating point numbers incl. ±Inf, ±0, NaN</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#float"><code>xsd:float</code></a></td><td>32-bit floating point numbers incl. ±Inf, ±0, NaN</td></tr>
<tr><th rowspan="3">Time and date</th>
- <td><a href="http://www.w3.org/TR/xmlschema-2/#date"><code>xsd:date</code></a></td><td>Dates (yyyy-mm-dd) with or without timezone</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#time"><code>xsd:time</code></a></td><td>Times (hh:mm:ss.sss…) with or without timezone</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#dateTime"><code>xsd:dateTime</code></a></td><td>Date and time with or without timezone</td></tr>
+ <td><a href="http://www.w3.org/TR/xmlschema11-2/#date"><code>xsd:date</code></a></td><td>Dates (yyyy-mm-dd) with or without timezone</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#time"><code>xsd:time</code></a></td><td>Times (hh:mm:ss.sss…) with or without timezone</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#dateTime"><code>xsd:dateTime</code></a></td><td>Date and time with or without timezone</td></tr>
<tr><th rowspan="5">Recurring and<br />partial dates</th>
- <td><a href="http://www.w3.org/TR/xmlschema-2/#gYear"><code>xsd:gYear</code></a></td><td>Gregorian calendar year</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#gMonth"><code>xsd:gMonth</code></a></td><td>Gregorian calendar month</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#gDay"><code>xsd:gDay</code></a></td><td>Gregorian calendar day of the month</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#gYearMonth"><code>xsd:gYearMonth</code></a></td><td>Gregorian calendar year and month</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#gMonthDay"><code>xsd:gMonthDay</code></a></td><td>Gregorian calendar month and day</td></tr>
+ <td><a href="http://www.w3.org/TR/xmlschema11-2/#gYear"><code>xsd:gYear</code></a></td><td>Gregorian calendar year</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#gMonth"><code>xsd:gMonth</code></a></td><td>Gregorian calendar month</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#gDay"><code>xsd:gDay</code></a></td><td>Gregorian calendar day of the month</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#gYearMonth"><code>xsd:gYearMonth</code></a></td><td>Gregorian calendar year and month</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#gMonthDay"><code>xsd:gMonthDay</code></a></td><td>Gregorian calendar month and day</td></tr>
<tr><th rowspan="12">Limited-range<br />integer numbers</th>
- <td><a href="http://www.w3.org/TR/xmlschema-2/#byte"><code>xsd:byte</code></a></td><td>-128…+127 (8 bit)</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#short"><code>xsd:short</code></a></td><td>-32768…+32767 (16 bit)</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#int"><code>xsd:int</code></a></td><td>-2147483648…+2147483647 (32 bit)</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#long"><code>xsd:long</code></a></td><td>-9223372036854775808…+9223372036854775807 (64 bit)</td></tr>
+ <td><a href="http://www.w3.org/TR/xmlschema11-2/#byte"><code>xsd:byte</code></a></td><td>-128…+127 (8 bit)</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#short"><code>xsd:short</code></a></td><td>-32768…+32767 (16 bit)</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#int"><code>xsd:int</code></a></td><td>-2147483648…+2147483647 (32 bit)</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#long"><code>xsd:long</code></a></td><td>-9223372036854775808…+9223372036854775807 (64 bit)</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedByte"><code>xsd:unsignedByte</code></a></td><td>0…255 (8 bit)</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedShort"><code>xsd:unsignedShort</code></a></td><td>0…65535 (16 bit)</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedInt"><code>xsd:unsignedInt</code></a></td><td>0…4294967295 (32 bit)</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedLong"><code>xsd:unsignedLong</code></a></td><td>0…18446744073709551615 (64 bit)</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#unsignedByte"><code>xsd:unsignedByte</code></a></td><td>0…255 (8 bit)</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#unsignedShort"><code>xsd:unsignedShort</code></a></td><td>0…65535 (16 bit)</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#unsignedInt"><code>xsd:unsignedInt</code></a></td><td>0…4294967295 (32 bit)</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#unsignedLong"><code>xsd:unsignedLong</code></a></td><td>0…18446744073709551615 (64 bit)</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#positiveInteger"><code>xsd:positiveInteger</code></a></td><td>Integer numbers >0</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger"><code>xsd:nonNegativeInteger</code></a></td><td>Integer numbers ≥0</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#negativeInteger"><code>xsd:negativeInteger</code></a></td><td>Integer numbers <0</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger"><code>xsd:nonPositiveInteger</code></a></td><td>Integer numbers ≤0</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#positiveInteger"><code>xsd:positiveInteger</code></a></td><td>Integer numbers >0</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#nonNegativeInteger"><code>xsd:nonNegativeInteger</code></a></td><td>Integer numbers ≥0</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#negativeInteger"><code>xsd:negativeInteger</code></a></td><td>Integer numbers <0</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#nonPositiveInteger"><code>xsd:nonPositiveInteger</code></a></td><td>Integer numbers ≤0</td></tr>
<tr><th rowspan="2">Encoded binary data</th>
- <td><a href="http://www.w3.org/TR/xmlschema-2/#hexBinary"><code>xsd:hexBinary</code></a></td><td>Hex-encoded binary data</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#base64Binary"><code>xsd:base64Binary</code></a></td><td>Base64-encoded binary data</td></tr>
+ <td><a href="http://www.w3.org/TR/xmlschema11-2/#hexBinary"><code>xsd:hexBinary</code></a></td><td>Hex-encoded binary data</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#base64Binary"><code>xsd:base64Binary</code></a></td><td>Base64-encoded binary data</td></tr>
<tr><th rowspan="7">Miscellaneous<br />XSD types</th>
- <td><a href="http://www.w3.org/TR/xmlschema-2/#anyURI"><code>xsd:anyURI</code></a></td><td>Absolute or relative URIs and IRIs</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#language"><code>xsd:language</code></a></td><td>Language tags per [[BCP47]]</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#normalizedString"><code>xsd:normalizedString</code></a></td><td>Whitespace-normalized strings</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#token"><code>xsd:token</code></a></td><td>Tokenized strings</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#NMTOKEN"><code>xsd:NMTOKEN</code></a></td><td>XML NMTOKENs</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#Name"><code>xsd:Name</code></a></td><td>XML Names</td></tr>
- <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#NCName"><code>xsd:NCName</code></a></td><td>XML NCNames</td></tr>
+ <td><a href="http://www.w3.org/TR/xmlschema11-2/#anyURI"><code>xsd:anyURI</code></a></td><td>Absolute or relative URIs and IRIs</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#language"><code>xsd:language</code></a></td><td>Language tags per [[BCP47]]</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#normalizedString"><code>xsd:normalizedString</code></a></td><td>Whitespace-normalized strings</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#token"><code>xsd:token</code></a></td><td>Tokenized strings</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#NMTOKEN"><code>xsd:NMTOKEN</code></a></td><td>XML NMTOKENs</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#Name"><code>xsd:Name</code></a></td><td>XML Names</td></tr>
+ <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#NCName"><code>xsd:NCName</code></a></td><td>XML NCNames</td></tr>
</table>
<div class="note">
@@ -850,24 +838,24 @@
for various reasons, and SHOULD NOT be used:
<ul>
- <li><a href="http://www.w3.org/TR/xmlschema-2/#duration"><code>xsd:duration</code></a>
+ <li><a href="http://www.w3.org/TR/xmlschema11-2/#duration"><code>xsd:duration</code></a>
does not have a well-defined value space (this may be corrected
in later revisions of XML Schema datatypes, in which case the
revised datatype would be suitable for use in RDF datatyping).</li>
- <li><a href="http://www.w3.org/TR/xmlschema-2/#QName"><code>xsd:QName</code></a>
- and
- <a href="http://www.w3.org/TR/xmlschema-2/#ENTITY"><code>xsd:ENTITY</code></a>
- require an enclosing XML document context.</li>
- <li><a href="http://www.w3.org/TR/xmlschema-2/#ID"><code>xsd:ID</code></a>
+ <li><a href="http://www.w3.org/TR/xmlschema11-2/#QName"><code>xsd:QName</code></a>
and
- <a href="http://www.w3.org/TR/xmlschema-2/#IDREF"><code>xsd:IDREF</code></a>
+ <a href="http://www.w3.org/TR/xmlschema11-2/#ENTITY"><code>xsd:ENTITY</code></a>
+ require an enclosing XML document context.</li>
+ <li><a href="http://www.w3.org/TR/xmlschema11-2/#ID"><code>xsd:ID</code></a>
+ and
+ <a href="http://www.w3.org/TR/xmlschema11-2/#IDREF"><code>xsd:IDREF</code></a>
are for cross references within an XML document.</li>
- <li><a href="http://www.w3.org/TR/xmlschema-2/#NOTATION"><code>xsd:NOTATION</code></a>
+ <li><a href="http://www.w3.org/TR/xmlschema11-2/#NOTATION"><code>xsd:NOTATION</code></a>
is not intended for direct use.</li>
- <li><a href="http://www.w3.org/TR/xmlschema-2/#IDREFS"><code>xsd:IDREFS</code></a>,
- <a href="http://www.w3.org/TR/xmlschema-2/#ENTITIES"><code>xsd:ENTITIES</code></a>
+ <li><a href="http://www.w3.org/TR/xmlschema11-2/#IDREFS"><code>xsd:IDREFS</code></a>,
+ <a href="http://www.w3.org/TR/xmlschema11-2/#ENTITIES"><code>xsd:ENTITIES</code></a>
and
- <a href="http://www.w3.org/TR/xmlschema-2/#NMTOKENS"><code>xsd:NMTOKENS</code></a>
+ <a href="http://www.w3.org/TR/xmlschema11-2/#NMTOKENS"><code>xsd:NMTOKENS</code></a>
are sequence-valued datatypes which do not fit the RDF <a>datatype</a>
model.</li>
</ul>
@@ -966,12 +954,11 @@
nodeset corresponding to the lexical form, with an appropriate equality
function.</p>
- <p class="note">RDF applications may use additional equivalence relations, such as
-that which relates an
-<a href="http://www.w3.org/TR/xmlschema-2/#string"><code>xsd:string</code></a>
-
-with an <code>rdf:XMLLiteral</code> corresponding to
-a single text node of the same string.</p>
+ <p class="note">RDF applications may use additional equivalence relations,
+ such as that which relates an
+ <a href="http://www.w3.org/TR/xmlschema11-2/#string"><code>xsd:string</code></a>
+ with an <code>rdf:XMLLiteral</code> corresponding to a single text node
+ of the same string.</p>
<p class="note">If language annotation of XML literals is required,
it must be explicitly included as markup, usually by means of an