w3c / rdf-concepts

https://w3c.github.io/rdf-concepts/
Other
16 stars 2 forks source link

Literal equality and language tags #100

Closed iherman closed 4 weeks ago

iherman commented 1 month ago

The last paragraph of Section §3.3 Literals says

Literal term equality: Two literals are term-equal (the same RDF literal) if and only if the two lexical forms, the two datatype IRIs, the two language tags (if any), and the two base directions (if any) compare equal, using case sensitive matching 

But the third bullet point at the beginning of the section says:

The language tag MUST be well-formed according to section 2.2.9 of [BCP47], and MUST be treated consistently, that is, in a case insensitive manner.

The two statements seem to contradict one another on the language tags: they are to be compared in a case-insensitive manner...