Skip to content

Commit b1caa2e

Browse files
committed
Change option values for rdfDirection per @pchampin's suggestions.
1 parent 01ef1e0 commit b1caa2e

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
@@ -12845,8 +12845,8 @@ <h3>Serializing/Deserializing RDF</h3>
1284512845
<p>Datatypes based on this namespace allow round-tripping of JSON-LD documents using base direction,
1284612846
although the mechanism is not otherwise standardized.</p>
1284712847
<p>The <a data-cite="JSON-LD11-API#deserialize-json-ld-to-rdf-algorithm">Deserialize JSON-LD to RDF Algorithm</a>
12848-
can be used with the <dfn data-cite="JSON-LD11-API#dom-jsonldoptions-rdfDirection">rdfDirection</dfn>
12849-
set to `datatype` to generate <a>RDF literals</a> using the `i18n` base to create an IRI
12848+
can be used with the <dfn data-cite="JSON-LD11-API#dom-jsonldoptions-rdfDirection">rdfDirection</dfn> option
12849+
set to `i18n-datatype` to generate <a>RDF literals</a> using the `i18n` base to create an IRI
1285012850
encoding the <a>base direction</a> along with optional <a>language tag</a> from
1285112851
value objects containing `@direction` by appending to `https://www.w3.org/ns/i18n#`
1285212852
the value of `@language`, if any, followed by an underscore (`"_"`) followed
@@ -12894,8 +12894,8 @@ <h3>Serializing/Deserializing RDF</h3>
1289412894
</dl>
1289512895

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

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

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

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

0 commit comments

Comments
 (0)