Skip to content

expansion algorithm checking language map value against BCP47 #563

Open
@Johann150

Description

@Johann150

In the expansion algorithm, while processing language mappings in step 13.7 and substeps, a variable name seems to be swapped:

Step 13.7.4.2.3 says to check item as being well-formed accoding to BCP47. This implies that item is a language tag. However, it is defined in step 13.7.4.2 that item comes from the language value, i.e. the value which is mapped to a language tag, not the language tag itself. The language tag is actually in language, which should thus be checked instead of item.

I think <var>item</var> should be replaced with <var>language</var> on the following line:

<span class="changed">If <var>item</var> is neither `@none` nor <a>well-formed</a> according to

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Errata

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions