@@ -930,18 +930,21 @@ <h3>Literals</h3>
930
930
< li > A < dfn > datatype IRI</ dfn > , being an < a > IRI</ a >
931
931
identifying a datatype that determines how the lexical form maps
932
932
to a < a > literal value</ a > .</ li >
933
- < li > If and only if the < a > datatype IRI</ a > is
933
+ < li > An optional < dfn > language tag</ dfn > as defined by [[!BCP47]].
934
+ This language tag MUST be present
935
+ if and only if the < a > datatype IRI</ a > is
934
936
< code > http://www.w3.org/1999/02/22-rdf-syntax-ns#langString</ code > or
935
- < code > http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString</ code > , a
936
- non-empty < dfn > language tag</ dfn > as defined by [[!BCP47]]. The
937
- language tag MUST be well-formed according to
937
+ < code > http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString</ code > ,
938
+ It MUST be well-formed according to
938
939
< a data-cite ="bcp47#section-2.2.9 "> section 2.2.9</ a >
939
940
of [[!BCP47]],
940
941
and MUST be treated accordingly, that is, in a case-insensitive manner.
941
942
Two [[!BCP47]]-complying strings that differ only by case represent the same [=language tag=].</ li >
942
- < li > If and only if the < a > datatype IRI</ a > is
943
+ < li > An optional < dfn > base direction</ dfn > .
944
+ It MUST be present
945
+ if and only if the < a > datatype IRI</ a > is
943
946
< code > http://www.w3.org/1999/02/22-rdf-syntax-ns#dirLangString</ code > ,
944
- a < dfn > base direction </ dfn > that MUST be one of the following:< ul >
947
+ and MUST be one of the following:< ul >
945
948
< li > `ltr`, indicating that the initial text direction is set to left-to-right</ li >
946
949
< li > `rtl`, indicating that the initial text direction is set to right-to-left</ li >
947
950
</ ul > </ li >
0 commit comments