Skip to content

Normalize language tag component of i18n datatype IRI? #337

Closed
@kasei

Description

@kasei

Object to RDF Conversion step 13.2 constructs a datatype IRI based on language and direction:

If rdfDirection is i18n-datatype, set datatype to the result of appending language and the value of @direction in item separated by an underscore ("_") to https://www.w3.org/ns/i18n#. Initialize literal as an RDF literal using value and datatype.

While there is "MAY" normative text about normalizing language tags, there doesn't seem to be any text about normalizing the language tag values when included in a datatype IRI like this. Test tdi10 seems to assume the value is normalized in lowercase. Moreover, I would think that not normalizing could cause lots of trouble with unexpected data (e.g. two literals that differ only in the case of the language tag component of this datatype IRI; shouldn't such literals have the same value?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.wr:commenter-agreedwr:spec-updated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions