Skip to content

Commit 8815226

Browse files
afsTallTed
andauthored
Apply suggestions from code review
Co-authored-by: Ted Thibodeau Jr <[email protected]>
1 parent 4a69519 commit 8815226

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

spec/index.html

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -753,10 +753,10 @@ <h2>Literals and datatypes</h2>
753753

754754
<p>RDF literals and datatypes are fully described in
755755
<a data-cite="RDF12-CONCEPTS#section-Datatypes">Section 5</a> of [[!RDF12-CONCEPTS]].
756-
In summary: with two exceptions, RDF literals combine a string and an IRI <a data-lt="identify">identifing</a> a datatype.
756+
In summary: with two exceptions, RDF literals combine a string and an IRI <a data-lt="identify">identifying</a> a datatype.
757757
The exceptions are <a data-cite="RDF12-CONCEPTS#dfn-language-tagged-string">language-tagged strings</a>, assigned the type <code>rdf:langString</code>,
758758
which have two syntactic components, a string and a language tag; and
759-
<a data-cite="RDF12-CONCEPTS#dfn-directional-language-tagged string">directional language-tagged string</a>,
759+
<a data-cite="RDF12-CONCEPTS#dfn-directional-language-tagged string">directional language-tagged strings</a>,
760760
assigned the type <code>rdf:dirLangString</code>,
761761
which have three syntactic components, a string, a language tag, and a base direction.
762762
A datatype is understood to define a partial mapping, called the
@@ -782,7 +782,19 @@ <h2>Literals and datatypes</h2>
782782
<a data-cite="RDF12-CONCEPTS#dfn-dir-lang-string"><code>rdf:dirLangString</code></a>
783783
but when IRIs listed in
784784
<a data-cite="RDF12-CONCEPTS#section-Datatypes">Section 5</a> of [[!RDF12-CONCEPTS]]
785-
are <a>recognized</a>, they MUST be interpreted as described there, and when the IRI <code>rdf:PlainLiteral</code> is <a>recognized</a>, it MUST be interpreted to denote the datatype defined in [[!RDF-PLAIN-LITERAL]]. RDF processors MAY recognize other datatype IRIs, but when other datatype IRIs are <a>recognized</a>, the mapping between the datatype IRI and the datatype it <a>denotes</a> MUST be specified unambiguously, and MUST be fixed during all RDF transformations or manipulations. In practice, this can be achieved by the IRI linking to an external specification of the datatype which describes both the components of the datatype itself and the fact that the IRI identifies the datatype, thereby fixing a value of the <a>datatype map</a> of this IRI.</p>
785+
<em>are</em> <a>recognized</a>, they MUST be interpreted as described there, and
786+
when the IRI <code>rdf:PlainLiteral</code> is <a>recognized</a>,
787+
it MUST be interpreted to denote the datatype defined in [[!RDF-PLAIN-LITERAL]].
788+
RDF processors MAY recognize other datatype IRIs,
789+
but when other datatype IRIs are <a>recognized</a>,
790+
the mapping between the datatype IRI and the datatype it <a>denotes</a>
791+
MUST be specified unambiguously,
792+
and MUST be fixed during all RDF transformations or manipulations.
793+
In practice, this can be achieved by the IRI linking
794+
to an external specification of the datatype
795+
which describes both the components of the datatype itself
796+
and the fact that the IRI identifies the datatype,
797+
thereby fixing a value of the <a>datatype map</a> of this IRI.</p>
786798

787799
<p>Literals with <a data-cite="RDF12-CONCEPTS#dfn-language-tagged-string"><code>rdf:langString</code></a>
788800
or <a data-cite="RDF12-CONCEPTS#dfn-directional-language-tagged-string"><code>rdf:dirLangString</code></a>
@@ -795,7 +807,7 @@ <h2>Literals and datatypes</h2>
795807
The <a>value space</a> of <code>rdf:dirLangString</code>
796808
is the set of all
797809
3-tuples of a string, a language tag, and a base direction.
798-
The semantics of literals with these as their datatype are given below.
810+
The semantics of literals with either of these as their datatype are given below.
799811
</p>
800812

801813
<p>RDF allows any IRI to be used in a literal,
@@ -954,7 +966,7 @@ <h2>RDF Interpretations</h2>
954966
</table>
955967

956968
<p>An <dfn>RDF interpretation</dfn> <strong>recognizing D</strong> is a <a>D-interpretation</a> I
957-
where D includes <code>rdf:langString</code>, <code>rdf:dirLangString</code> and <code>xsd:string</code>, and which satisfies:</p>
969+
where D includes <code>rdf:langString</code>, <code>rdf:dirLangString</code>, and <code>xsd:string</code>, and which satisfies:</p>
958970

959971
<table>
960972
<caption>RDF semantic conditions.</caption>
@@ -998,9 +1010,9 @@ <h2>RDF Interpretations</h2>
9981010
and <a data-cite="XMLSCHEMA11-2#string"><code>xsd:string</code></a>
9991011
MUST be <a>recognized</a> by all RDF interpretations.</p>
10001012

1001-
<p>Three other datatypes, <a data-cite="RDF12-CONCEPTS#section-XMLLiteral"><code>rdf:XMLLiteral</code></a>,
1002-
<a data-cite="RDF12-CONCEPTS#section-html"><code>rdf:HTML</code></a> and
1003-
<a data-cite="RDF12-CONCEPTS#section-json"><code>rdf:JSON</code></a>,
1013+
<p>Three other datatypes &mdash; <a data-cite="RDF12-CONCEPTS#section-XMLLiteral"><code>rdf:XMLLiteral</code></a>,
1014+
<a data-cite="RDF12-CONCEPTS#section-html"><code>rdf:HTML</code></a>, and
1015+
<a data-cite="RDF12-CONCEPTS#section-json"><code>rdf:JSON</code></a> &mdash;
10041016
are defined in [[!RDF12-CONCEPTS]].
10051017
RDF-D interpretations MAY fail to <a>recognize</a> these datatypes.</p>
10061018

0 commit comments

Comments
 (0)