Skip to content

Explicit requirements for rdf:langString and rdf:dirLangString - alternative #213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -930,18 +930,21 @@ <h3>Literals</h3>
<li>A <dfn>datatype IRI</dfn>, being an <a>IRI</a>
identifying a datatype that determines how the lexical form maps
to a <a>literal value</a>.</li>
<li>If and only if the <a>datatype IRI</a> is
<li>An optional <dfn>language tag</dfn> as defined by [[!BCP47]].
This language tag MUST be present
if and only if the <a>datatype IRI</a> is
<code>http://www.w3.org/1999/02/22-rdf-syntax-ns#langString</code> or
<code>http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString</code>, a
non-empty <dfn>language tag</dfn> as defined by [[!BCP47]]. The
language tag MUST be well-formed according to
<code>http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString</code>,
It MUST be well-formed according to
Comment on lines +937 to +938
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<code>http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString</code>,
It MUST be well-formed according to
<code>http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString</code>
and it MUST be well-formed according to

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<code>http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString</code>,
It MUST be well-formed according to
<code>http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString</code>.
It MUST be well-formed according to

I would rather cut the sentence, because the resulting sentence would be very long, and it alteady contains an "and" (line 941).

<a data-cite="bcp47#section-2.2.9">section 2.2.9</a>
of [[!BCP47]],
and MUST be treated accordingly, that is, in a case-insensitive manner.
Two [[!BCP47]]-complying strings that differ only by case represent the same [=language tag=].</li>
<li>If and only if the <a>datatype IRI</a> is
<li>An optional <dfn>base direction</dfn>.
It MUST be present
if and only if the <a>datatype IRI</a> is
<code>http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString</code>,
a <dfn>base direction</dfn> that MUST be one of the following:<ul>
and MUST be one of the following:<ul>
<li>`ltr`, indicating that the initial text direction is set to left-to-right</li>
<li>`rtl`, indicating that the initial text direction is set to right-to-left</li>
</ul></li>
Expand Down
Loading