added new XSD types (ISSUE-66)
authorRichard Cyganiak <richard@cyganiak.de>
Wed, 02 May 2012 18:13:17 +0100
changeset 310 a6a915a6767a
parent 309 92c5bdc8857d
child 311 0716893e0f84
added new XSD types (ISSUE-66)
rdf-concepts/index.html
--- a/rdf-concepts/index.html	Wed May 02 10:40:54 2012 -0400
+++ b/rdf-concepts/index.html	Wed May 02 18:13:17 2012 +0100
@@ -767,18 +767,6 @@
 <section id="xsd-datatypes">
     <h3>The XML Schema Built-in Datatypes</h3>
 
-    <p class="issue">XML Schema 1.1 added a number of new datatypes:
-    <code><a href="http://www.w3.org/TR/xmlschema11-2/#dateTimeStamp">xsd:dateTimeStamp</a></code>,
-    <code><a href="http://www.w3.org/TR/xmlschema11-2/#dayTimeDuration">xsd:dayTimeDuration</a></code>,
-    <code><a href="http://www.w3.org/TR/xmlschema11-2/#yearMonthDuration">xsd:yearMonthDuration</a></code>, and
-    <code><a href="http://www.w3.org/TR/xmlschema11-2/#precisionDecimal">xsd:precisionDecimal</a></code>.
-    Some of them are already used in RIF and OWL2. They should possibly be added
-    here as well. Also,
-    <code><a href="http://www.w3.org/TR/xmlschema11-2/#duration">xsd:duration</a></code>
-    is noted below as being unsuitable for use in RDF. The design of the type
-    has changed, so this should be reviewed. This is
-    <a href="http://www.w3.org/2011/rdf-wg/track/issues/66">ISSUE-66</a>.</p>
-
     <p><a title="IRI">IRIs</a> of the form
     <code>http://www.w3.org/2001/XMLSchema#<em>xxx</em></code>,
     where <code><em>xxx</em></code>
@@ -800,17 +788,20 @@
         <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>
+    <tr><th rowspan="4">Time and date</th>
         <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><td><a href="http://www.w3.org/TR/xmlschema11-2/#dateTimeStamp"><code>xsd:dateTimeStamp</code></a></td><td>Date and time with required timezone</td></tr>
 
-    <tr><th rowspan="5">Recurring and<br />partial dates</th>
+    <tr><th rowspan="7">Recurring and<br />partial dates</th>
         <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><td><a href="http://www.w3.org/TR/xmlschema11-2/#yearMonthDuration"><code>xsd:yearMonthDuration</code></a></td><td>Duration of time (months and years)</td></tr>
+    <tr><td><a href="http://www.w3.org/TR/xmlschema11-2/#dayTimeDuration"><code>xsd:dayTimeDuration</code></a></td><td>Duration of time (days, hours, minutes, seconds)</td></tr>
 
     <tr><th rowspan="12">Limited-range<br />integer numbers</th>
         <td><a href="http://www.w3.org/TR/xmlschema11-2/#byte"><code>xsd:byte</code></a></td><td>-128…+127 (8 bit)</td></tr>
@@ -848,9 +839,7 @@
     <div class="note">
     <ul>
     <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>
+    does not have a well-defined value space.</li>
     <li><a href="http://www.w3.org/TR/xmlschema11-2/#QName"><code>xsd:QName</code></a> 
     and
     <a href="http://www.w3.org/TR/xmlschema11-2/#ENTITY"><code>xsd:ENTITY</code></a> 
@@ -870,6 +859,12 @@
     </ul>
     </div>
 
+    <p class="issue">
+    <code><a href="http://www.w3.org/TR/xmlschema11-2/#duration">xsd:duration</a></code>
+    is noted above as being unsuitable for use in RDF. The design of the type
+    has changed in XSD 1.1, so this should be reviewed. This is
+    <a href="http://www.w3.org/2011/rdf-wg/track/issues/88">ISSUE-88</a>.</p>
+
 </section>
 
 
@@ -1170,6 +1165,7 @@
   <h2>Changes from RDF 2004</h2>
 
   <ul>
+    <li>2012-05-02: Added the new XSD 1.1 datatypes <a href="http://www.w3.org/TR/xmlschema11-2/#dayTimeDuration">xsd:dayTimeDuration</a>, <a href="http://www.w3.org/TR/xmlschema11-2/#yearMonthDuration">xsd:yearMonthDuration</a> and <a href="http://www.w3.org/TR/xmlschema11-2/#dateTimeStamp">xsd:dateTimeStamp</a> to the list of <a>RDF-compatible XSD types</a> (<a href="https://www.w3.org/2011/rdf-wg/track/issues/66">ISSUE-66</a>)</li>
     <li>2012-04-26: Remove normative definition of “property” as it disagreed with RDF Semantics; small editorial changes.</li>
     <li>2011-11-21: Updated XHTML 1.0 reference to XHTML 1.1</li>
     <li>2011-11-20: Added table of <a>RDF-compatible XSD types</a>, and definition of <a>datatype map</a>, both adapted from previous content in [[RDF-MT]]