@@ -1015,6 +1015,56 @@ <h3>The XML Schema Built-in Datatypes</h3>
1015
1015
1016
1016
</ section >
1017
1017
1018
+ < section >
1019
+ < h3 > Datatype IRIs</ h3 >
1020
+
1021
+ < p > Datatypes are identified by < a > IRIs</ a > . If
1022
+ < var > D</ var > is a set of IRIs which are used to refer to
1023
+ datatypes, then the elements of < var > D</ var > are called
1024
+ < span id ="dfn-recognized-datatype-iris "> <!-- obsolete term--> </ span > < dfn data-lt ="recognized datatype IRI "> recognized datatype IRIs</ dfn > .
1025
+ Recognized IRIs have fixed
1026
+ < a href ="#referents "> referents</ a > . If any IRI of the form
1027
+ < code > http://www.w3.org/2001/XMLSchema#xxx</ code > is recognized, it
1028
+ MUST refer to the RDF-compatible XSD type named < code > xsd:xxx</ code > for
1029
+ every XSD type listed in < a href ="#xsd-datatypes "> section 5.1</ a > .
1030
+ Furthermore, the following IRIs are allocated for non-normative
1031
+ datatypes:
1032
+
1033
+ < ul >
1034
+ < li > The IRI < code > http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral</ code >
1035
+ refers to the datatype < code > < a > rdf:XMLLiteral</ a > </ code > </ li >
1036
+ < li > The IRI < code > http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML</ code >
1037
+ refers to the datatype < code > < a > rdf:HTML</ a > </ code > </ li >
1038
+ </ ul >
1039
+
1040
+ < p class ="note "> Semantic extensions of RDF might choose to
1041
+ recognize other datatype IRIs
1042
+ and require them to refer to a fixed datatype. See the RDF
1043
+ Semantics specification [[RDF12-SEMANTICS]] for more information on
1044
+ semantic extensions.</ p >
1045
+
1046
+ < p > RDF processors are not required to recognize datatype IRIs.
1047
+ Any literal typed with an unrecognized IRI is treated just like
1048
+ an unknown IRI, i.e. as referring to an unknown thing. Applications
1049
+ MAY give a warning message if they are unable to determine the
1050
+ referent of an IRI used in a typed literal, but they SHOULD NOT
1051
+ reject such RDF as either a syntactic or semantic error.< p >
1052
+
1053
+ < p > Other specifications MAY impose additional constraints on
1054
+ < a > datatype IRIs</ a > , for example, require support
1055
+ for certain datatypes.</ p >
1056
+
1057
+ < p class ="note " id ="note-custom-datatypes "> The Web Ontology Language
1058
+ [[OWL2-OVERVIEW]] offers facilities for formally defining
1059
+ < a data-cite ="OWL2-SYNTAX#Datatype_Definitions "> custom
1060
+ datatypes</ a > that can be used with RDF. Furthermore, a practice for
1061
+ identifying
1062
+ < a data-cite ="swbp-xsch-datatypes#sec-userDefined ">
1063
+ user-defined simple XML Schema datatypes</ a >
1064
+ is suggested in [[SWBP-XSCH-DATATYPES]]. RDF implementations
1065
+ are not required to support either of these facilities.</ p >
1066
+ </ section >
1067
+
1018
1068
< section id ="section-html " class ="informative ">
1019
1069
< h3 > The < code > rdf:HTML</ code > Datatype</ h3 >
1020
1070
@@ -1133,56 +1183,6 @@ <h3>The <code>rdf:XMLLiteral</code> Datatype</h3>
1133
1183
< a data-cite ="RDF12-XML#parseTypeLiteralPropertyElt "> < code > @parseType="literal"</ code > </ a >
1134
1184
in RDF/XML [[RDF12-XML]].</ p >
1135
1185
</ section >
1136
-
1137
- < section >
1138
- < h3 > Datatype IRIs</ h3 >
1139
-
1140
- < p > Datatypes are identified by < a > IRIs</ a > . If
1141
- < var > D</ var > is a set of IRIs which are used to refer to
1142
- datatypes, then the elements of < var > D</ var > are called
1143
- < span id ="dfn-recognized-datatype-iris "> <!-- obsolete term--> </ span > < dfn data-lt ="recognized datatype IRI "> recognized datatype IRIs</ dfn > .
1144
- Recognized IRIs have fixed
1145
- < a href ="#referents "> referents</ a > . If any IRI of the form
1146
- < code > http://www.w3.org/2001/XMLSchema#xxx</ code > is recognized, it
1147
- MUST refer to the RDF-compatible XSD type named < code > xsd:xxx</ code > for
1148
- every XSD type listed in < a href ="#xsd-datatypes "> section 5.1</ a > .
1149
- Furthermore, the following IRIs are allocated for non-normative
1150
- datatypes:
1151
-
1152
- < ul >
1153
- < li > The IRI < code > http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral</ code >
1154
- refers to the datatype < code > < a > rdf:XMLLiteral</ a > </ code > </ li >
1155
- < li > The IRI < code > http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML</ code >
1156
- refers to the datatype < code > < a > rdf:HTML</ a > </ code > </ li >
1157
- </ ul >
1158
-
1159
- < p class ="note "> Semantic extensions of RDF might choose to
1160
- recognize other datatype IRIs
1161
- and require them to refer to a fixed datatype. See the RDF
1162
- Semantics specification [[RDF12-SEMANTICS]] for more information on
1163
- semantic extensions.</ p >
1164
-
1165
- < p > RDF processors are not required to recognize datatype IRIs.
1166
- Any literal typed with an unrecognized IRI is treated just like
1167
- an unknown IRI, i.e. as referring to an unknown thing. Applications
1168
- MAY give a warning message if they are unable to determine the
1169
- referent of an IRI used in a typed literal, but they SHOULD NOT
1170
- reject such RDF as either a syntactic or semantic error.< p >
1171
-
1172
- < p > Other specifications MAY impose additional constraints on
1173
- < a > datatype IRIs</ a > , for example, require support
1174
- for certain datatypes.</ p >
1175
-
1176
- < p class ="note " id ="note-custom-datatypes "> The Web Ontology Language
1177
- [[OWL2-OVERVIEW]] offers facilities for formally defining
1178
- < a data-cite ="OWL2-SYNTAX#Datatype_Definitions "> custom
1179
- datatypes</ a > that can be used with RDF. Furthermore, a practice for
1180
- identifying
1181
- < a data-cite ="swbp-xsch-datatypes#sec-userDefined ">
1182
- user-defined simple XML Schema datatypes</ a >
1183
- is suggested in [[SWBP-XSCH-DATATYPES]]. RDF implementations
1184
- are not required to support either of these facilities.</ p >
1185
- </ section >
1186
1186
</ section >
1187
1187
1188
1188
< section id ="section-fragID " class ="informative ">
0 commit comments