Skip to content

Commit 932e335

Browse files
committed
Change option values for rdfDirection per @pchampin's suggestions.
1 parent 95c41f7 commit 932e335

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12840,8 +12840,8 @@ <h3>Serializing/Deserializing RDF</h3>
1284012840
<p>Datatypes based on this namespace allow round-tripping of JSON-LD documents using base direction,
1284112841
although the mechanism is not otherwise standardized.</p>
1284212842
<p>The <a data-cite="JSON-LD11-API#deserialize-json-ld-to-rdf-algorithm">Deserialize JSON-LD to RDF Algorithm</a>
12843-
can be used with the <dfn data-cite="JSON-LD11-API#dom-jsonldoptions-rdfDirection">rdfDirection</dfn>
12844-
set to `datatype` to generate <a>RDF literals</a> using the `i18n` base to create an IRI
12843+
can be used with the <dfn data-cite="JSON-LD11-API#dom-jsonldoptions-rdfDirection">rdfDirection</dfn> option
12844+
set to `i18n-datatype` to generate <a>RDF literals</a> using the `i18n` base to create an IRI
1284512845
encoding the <a>base direction</a> along with optional <a>language tag</a> from
1284612846
value objects containing `@direction` by appending to `https://www.w3.org/ns/i18n#`
1284712847
the value of `@language`, if any, followed by an underscore (`"_"`) followed
@@ -12889,8 +12889,8 @@ <h3>Serializing/Deserializing RDF</h3>
1288912889
</dl>
1289012890

1289112891
<p>The <a data-cite="JSON-LD11-API#deserialize-json-ld-to-rdf-algorithm">Deserialize JSON-LD to RDF Algorithm</a>
12892-
can be used with the <a>rdfDirection</a>
12893-
set to `bnode` to generate <a>RDF literals</a> using these properties to
12892+
can be used with the <a>rdfDirection</a> option
12893+
set to `compound-literal` to generate <a>RDF literals</a> using these properties to
1289412894
describe the <a>base direction</a> and optional <a>language tag</a> from
1289512895
value objects containing `@direction` and optionally `@language`.</p>
1289612896

@@ -12950,11 +12950,11 @@ <h3>Internationalization Considerations</h3>
1295012950
properly record <a>JSON-LD Values</a> which are <a>strings</a> with left-to-right or right-to-left direction indicators.
1295112951
Both JSON-LD and RDF provide a mechanism for specifying the language associated with
1295212952
a string (<a>language-tagged string</a>), but do not provide a means of indicating
12953-
the base direction of the string.</p>
12953+
the <a>base direction</a> of the string.</p>
1295412954

1295512955
<p>Unicode provides a mechanism for signaling direction within a string
1295612956
(see [[[UAX9]]] [[UAX9]]),
12957-
however, when a string has an overall base direction which cannot be determined by the
12957+
however, when a string has an overall <a>base direction</a> which cannot be determined by the
1295812958
beginning of the string, an external indicator is required,
1295912959
such as the [[HTML]] <a data-cite="HTML/dom.html#the-dir-attribute">dir attribute</a>,
1296012960
which currently has no counterpart for <a>RDF literals</a>.</p>
@@ -12966,7 +12966,7 @@ <h3>Internationalization Considerations</h3>
1296612966

1296712967
<p>Until a more comprehensive solution can be addressed in a future version of this
1296812968
specification, publishers should consider this issue when representing strings
12969-
where the base direction of the string cannot otherwise be correctly inferred
12969+
where the <a>base direction</a> of the string cannot otherwise be correctly inferred
1297012970
based on the content of the string.
1297112971
See [[?string-meta]] for a discussion best practices for
1297212972
identifying language and base direction for strings used on the Web.</p>

0 commit comments

Comments
 (0)