The field "Comments" can appear multiple times but is only parsed once #4

Closed
opened 2024-06-17 02:20:40 +02:00 by nnmrts · 2 comments

See for example the entry for the variant "vaidika" at https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry.

It has these two "Comments" values:

Comments: The most ancient dialect of Sanskrit used in verse and prose
  composed until about the 4th century B.C.E.
Comments: Preferred tag is vsn

But in https://www.langtag.net/registries/lsr-variant.txt only the first comment is included.

This probably happens because the schema at https://forge.chapril.org/bortzmeyer/Web-LangTag/src/branch/master/registries/ltru.rnc describes "Comments" as a field that can only appear once (because it has no + suffix, I suppose).

See for example the entry for the variant "vaidika" at https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry. It has these two "Comments" values: ``` Comments: The most ancient dialect of Sanskrit used in verse and prose composed until about the 4th century B.C.E. Comments: Preferred tag is vsn ``` But in https://www.langtag.net/registries/lsr-variant.txt only the first comment is included. This probably happens because the schema at https://forge.chapril.org/bortzmeyer/Web-LangTag/src/branch/master/registries/ltru.rnc describes "Comments" as a field that can only appear once (because it has no `+` suffix, I suppose).
nnmrts changed title from The field "Comments" can appear multiple times is only parsed once to The field "Comments" can appear multiple times but is only parsed once 2024-06-17 02:20:48 +02:00
Owner

Actually a bug in GaBuZoMeu bortzmeyer/GaBuZoMeu#11

Actually a bug in GaBuZoMeu https://forge.chapril.org/bortzmeyer/GaBuZoMeu/issues/11
Owner

Now fixed.

Now fixed.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: bortzmeyer/Web-LangTag#4
No description provided.