Bosnian (Cyrillic)

Bosnian (Cyrillic)

Second-Level Reference Label Generation Rules, 25 October 2024 Current

Summary

Version3 — Second Level Reference LGR
Date
Tag bs-Cyrl (Bosnian)
Unicode11.0.0
Source filelgr-second-level-bosnian-cyrillic-language-25oct24-en.xml (18.6kb)

This ruleset is integrated into the Common (integrated set) ruleset of this release.

Description

INSTRUCTIONS

  • These instructions cover how to adopt an LGR based on this reference LGR for a given zone and how to prepare the file for deposit in the IANA Repository of IDN Practices.
  • As described the IANA procedure (https://www.iana.org/help/idn-repository-procedure) an LGR MUST contain the following elements in its header:
    • Script or Language Designator (see below for guidance)
    • Version Number (this must increase with each amendment to the LGR, even if the updates are limited to the header itself)
    • Effective Date (the date at which the policy becomes applicable in operational use)
    • Registry Contact Details (contact name, email address, and/or phone number)
  • The following information is optional:
    • Document creation date
    • Applicable Domain(s)
    • Changes made to the Reference LGR before adopting

Please add or modify the following items in the XML source code for this file before depositing the document in the IANA Repository. (https://www.iana.org/domains/idn-tables)

Meta Data

Note: version numbers start at 1. RFC 7940 recommends using simple integers. The version comment is optional, please replace or delete the default comment. Version comments may be used by some tools as part of the page header.

<version comment="[Please replace (or delete) the optional comment]">[Please fill in version number, starting at 1]</version>

<date>[Please fill in with publication date, in YYYY-MM-DD format]</date>

<validity-start>[Please fill in effective date, in YYYY-MM-DD format]</validity-start>

Note: the scope element may be repeated, so that the same document can serve for multiple domains.

<scope type="domain">[Please provide, in ".domain" format]</scope>

Registry Contact Information:

Please fill in the Registry Contact Details.

Change History

If you made technical modifications to the LGR, please summarize them in the Change History (and also note the details in the appropriate section of the description).

PLEASE DELETE THESE INSTRUCTIONS BEFORE DEPOSITING THE DOCUMENT

Read the rest of the description Show less

Registry Contact Details

  • Contact Name: [Please fill in Contact Name]
  • Email address: [Please fill in Email address]
  • Phone Number: [Please fill in optional Phone Number]

Label Generation Rules for the Bosnian language using the Cyrillic script

Overview

This document specifies a set of Label Generation Rules (LGR) for Bosnian in Cyrillic script using a language-specific repertoire for the second level domain or domains identified above. The format of this file follows [RFC 7940]. This LGR is adapted from the “Reference LGR for the Second Level for the Bosnian (Cyrillic) Language” [Ref-LGR-bs-Cyrl], for details, see Change History below.

Standalone LGR: This LGR is designed to be used in a zone that does not cater to IDNs other than those valid under this LGR. This LGR lacks features that would allow its use in the context of another LGR in the same zone, and it may contain other features incompatible with such use.

Repertoire

All references converge on 30 Cyrillic code points (23 + 7 as defined by RFC 5992 [130]), identical to the Serbian Cyrillic set.

There is no IDN table published in the IANA Repository of IDN Practices by .ba (Bosnia-Herzegovina cctld). Because the repertoire is identical to Serbian Cyrillic, any IDNA practice for Bosnian is likely to follow the same guidelines as for Serbian.

There is some historic use of U+044C CYRILLIC SMALL LETTER SOFT SIGN, U+044E CYRILLIC SMALL LETTER YU, and U+0461 CYRILLIC SMALL LETTER OMEGA, attested in [201] but included in a repertoire with terms that call for their exclusion in modern use: “Some of the letters used in the Modern Bosnian Cyrillic alphabet were not used in this version, and there are some extra letters that are no longer used." The 3 letters mentioned above belong to these ‘extra’ letters.

Excluded code points

Letters documented in some references but not included:

  • U+044C CYRILLIC SMALL LETTER SOFT SIGN

  • U+044E CYRILLIC SMALL LETTER YU

  • U+0461 CYRILLIC SMALL LETTER OMEGA

Extended code points

None.

Any code points outside the Bosnian (Cyrillic) Language repertoire that are targets for out-of-repertoire variants would be included here only if the variant is listed in this file. In this case they are identified as a reflexive (identity) variant of type “out-of-repertoire-var”. Whether or not they are listed, they do not form part of the repertoire.

Variants

There are no variants defined between Cyrillic letters.

No ASCII Variants: Note that this LGR does not contain definitions for “blocked” variants for letters that look indistinguishable from ASCII letters (homoglyphs). If concurrent use of LDH labels is desired, the resulting conflicts can be handled by using the “Common LGR” in processing. For details, see Section 3, “Use of Multiple Reference LGRs in the Same Zone” in [Level-2-Overview].

Character Classes

This LGR does not define named character classes.

Rules

Common Rules

By default, the LGR includes the rules and actions to implement the following restrictions mandated by the IDNA protocol. They are marked with ⍟.

  • Hyphen Restrictions — restrictions on the allowable placement of hyphens (no leading/ending hyphen and no hyphen in positions 3 and 4). These restrictions are described in Section 4.2.3.1 of RFC 5891 [150]. They are implemented here as context rule on U+002D (-) HYPHEN-MINUS.
  • Leading Combining Marks — restrictions on the allowable placement of combining marks (no leading combining mark). This rule is described in Section 4.2.3.2 of RFC 5891 [150].

Actions

This LGR includes the default actions for LGRs as well as the action needed to invalidate labels with misplaced combining marks. They are marked with ⍟. For a description see [RFC 7940].

Variant-related actions included to facilitate integration as appropriate.

Methodology and Contributors

The LGR in this document has been adapted from the corresponding Reference LGR for the Second Level. The Second Level Reference LGR for the Bosnian (Cyrillic) Language was developed by Michel Suignard and Asmus Freytag, including input by Michael Everson, Nicholas Ostler, and Wil Tan, and based on multiple open public consultations.

Changes from Version Dated 10 October 2016

Language tag has been updated.

Changes from Version Dated 18 May 2021

Unicode Version has been updated.

Changes from Version Dated 25 October 2024

Adopted from the Second Level Reference LGR for the Bosnian (Cyrillic) Language [Ref-LGR-bs-Cyrl] without normative changes.

References

General reference for the language:

  • Uzicanin, Nikolina. 1996. Hippocrene compact dictionary: Bosnian-English English-Bosnian. New York: Hippocrene Books. ISBN 0-7818-0499-X

Other references cited in this document:

[Level-2-Overview]
Internet Corporation for Assigned Names and Numbers, (ICANN),“Reference Label Generation Rules (LGR) for the Second Level: Overview and Summary” (PDF), (Los Angeles, California: ICANN, 25 October 2024), https://www.icann.org/en/system/files/files/level2-lgr-overview-summary-25oct24-en.pdf
[RFC 7940]
Davies, K. and A. Freytag, “Representing Label Generation Rulesets Using XML”, RFC 7940, August 2016, https://www.rfc-editor.org/info/rfc7940
[RFC 8228]
A. Freytag, “Guidance on Designing Label Generation Rulesets (LGRs) Supporting Variant Labels”, RFC 8228, August 2017, https://www.rfc-editor.org/info/rfc8228
[Ref-LGR-bs-Cyrl]
ICANN, Second Level Reference Label Generation Rules for the Bosnian (Cyrillic) Language (bs-Cyrl), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-bosnian-cyrillic-language-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-bosnian-cyrillic-language-25oct24-en.html
[Unicode 11.0.0]
The Unicode Consortium. The Unicode Standard, Version 11.0.0, (Mountain View, CA: The Unicode Consortium, 2018. ISBN 978-1-936213-19-1) https://www.unicode.org/versions/Unicode11.0.0/

In the listing of the repertoire by code point, references starting from [0] refer to the version of the Unicode Standard in which the corresponding code point was initially encoded. Other references (starting from [100]) document usage of code points. Entries in the table may have multiple source reference values. In the listing of whole label evaluation and context rules, reference [150] indicates the source for common rules. For more details, see the Table of References below.

Repertoire

Glyph Code point Tags and context Variants
- U+002D HYPHEN-MINUS 0 HYPHEN-MINUS Tagsc:Zyyy Contextnot hyphen-minus-disallowed
0 U+0030 DIGIT ZERO 0 DIGIT ZERO; TagCommon-digitTagsc:Zyyy
1 U+0031 DIGIT ONE 0 DIGIT ONE; TagCommon-digitTagsc:Zyyy
2 U+0032 DIGIT TWO 0 DIGIT TWO; TagCommon-digitTagsc:Zyyy
3 U+0033 DIGIT THREE 0 DIGIT THREE; TagCommon-digitTagsc:Zyyy
4 U+0034 DIGIT FOUR 0 DIGIT FOUR; TagCommon-digitTagsc:Zyyy
5 U+0035 DIGIT FIVE 0 DIGIT FIVE; TagCommon-digitTagsc:Zyyy
6 U+0036 DIGIT SIX 0 DIGIT SIX; TagCommon-digitTagsc:Zyyy
7 U+0037 DIGIT SEVEN 0 DIGIT SEVEN; TagCommon-digitTagsc:Zyyy
8 U+0038 DIGIT EIGHT 0 DIGIT EIGHT; TagCommon-digitTagsc:Zyyy
9 U+0039 DIGIT NINE 0 DIGIT NINE; TagCommon-digitTagsc:Zyyy
а U+0430 CYRILLIC SMALL LETTER A 0 100 130 201 301 401 CYRILLIC SMALL LETTER A Tagsc:Cyrl
б U+0431 CYRILLIC SMALL LETTER BE 0 100 130 201 301 401 CYRILLIC SMALL LETTER BE Tagsc:Cyrl
в U+0432 CYRILLIC SMALL LETTER VE 0 100 130 201 301 401 CYRILLIC SMALL LETTER VE Tagsc:Cyrl
г U+0433 CYRILLIC SMALL LETTER GHE 0 100 130 201 301 401 CYRILLIC SMALL LETTER GHE Tagsc:Cyrl
д U+0434 CYRILLIC SMALL LETTER DE 0 100 130 201 301 401 CYRILLIC SMALL LETTER DE Tagsc:Cyrl
е U+0435 CYRILLIC SMALL LETTER IE 0 100 130 201 301 401 CYRILLIC SMALL LETTER IE Tagsc:Cyrl
ж U+0436 CYRILLIC SMALL LETTER ZHE 0 100 130 201 301 401 CYRILLIC SMALL LETTER ZHE Tagsc:Cyrl
з U+0437 CYRILLIC SMALL LETTER ZE 0 100 130 201 301 401 CYRILLIC SMALL LETTER ZE Tagsc:Cyrl
и U+0438 CYRILLIC SMALL LETTER I 0 100 130 201 301 401 CYRILLIC SMALL LETTER I Tagsc:Cyrl
к U+043A CYRILLIC SMALL LETTER KA 0 100 130 201 301 401 CYRILLIC SMALL LETTER KA Tagsc:Cyrl
л U+043B CYRILLIC SMALL LETTER EL 0 100 130 201 301 401 CYRILLIC SMALL LETTER EL Tagsc:Cyrl
м U+043C CYRILLIC SMALL LETTER EM 0 100 130 201 301 401 CYRILLIC SMALL LETTER EM Tagsc:Cyrl
н U+043D CYRILLIC SMALL LETTER EN 0 100 130 201 301 401 CYRILLIC SMALL LETTER EN Tagsc:Cyrl
о U+043E CYRILLIC SMALL LETTER O 0 100 130 201 301 401 CYRILLIC SMALL LETTER O Tagsc:Cyrl
п U+043F CYRILLIC SMALL LETTER PE 0 100 130 201 301 401 CYRILLIC SMALL LETTER PE Tagsc:Cyrl
р U+0440 CYRILLIC SMALL LETTER ER 0 100 130 201 301 401 CYRILLIC SMALL LETTER ER Tagsc:Cyrl
с U+0441 CYRILLIC SMALL LETTER ES 0 100 130 201 301 401 CYRILLIC SMALL LETTER ES Tagsc:Cyrl
т U+0442 CYRILLIC SMALL LETTER TE 0 100 130 201 301 401 CYRILLIC SMALL LETTER TE Tagsc:Cyrl
у U+0443 CYRILLIC SMALL LETTER U 0 100 130 201 301 401 CYRILLIC SMALL LETTER U Tagsc:Cyrl
ф U+0444 CYRILLIC SMALL LETTER EF 0 100 130 201 301 401 CYRILLIC SMALL LETTER EF Tagsc:Cyrl
х U+0445 CYRILLIC SMALL LETTER HA 0 100 130 201 301 401 CYRILLIC SMALL LETTER HA Tagsc:Cyrl
ц U+0446 CYRILLIC SMALL LETTER TSE 0 100 130 201 301 401 CYRILLIC SMALL LETTER TSE Tagsc:Cyrl
ч U+0447 CYRILLIC SMALL LETTER CHE 0 100 130 201 301 401 CYRILLIC SMALL LETTER CHE Tagsc:Cyrl
ш U+0448 CYRILLIC SMALL LETTER SHA 0 100 130 201 301 401 CYRILLIC SMALL LETTER SHA Tagsc:Cyrl
ђ U+0452 CYRILLIC SMALL LETTER DJE 0 100 130 201 301 401 CYRILLIC SMALL LETTER DJE Tagsc:Cyrl
ј U+0458 CYRILLIC SMALL LETTER JE 0 100 130 201 301 401 CYRILLIC SMALL LETTER JE Tagsc:Cyrl
љ U+0459 CYRILLIC SMALL LETTER LJE 0 100 130 201 301 401 CYRILLIC SMALL LETTER LJE Tagsc:Cyrl
њ U+045A CYRILLIC SMALL LETTER NJE 0 100 130 201 301 401 CYRILLIC SMALL LETTER NJE Tagsc:Cyrl
ћ U+045B CYRILLIC SMALL LETTER TSHE 0 100 130 201 301 401 CYRILLIC SMALL LETTER TSHE Tagsc:Cyrl
џ U+045F CYRILLIC SMALL LETTER DZHE 0 100 130 201 301 401 CYRILLIC SMALL LETTER DZHE Tagsc:Cyrl

Rules

Conditions evaluated against a whole label, or against the context around a single code point. The notation borrows from regular expressions: ^ and $ anchor to the start and end of a label, . matches any code point, (?= ) and (?<= ) look ahead and behind, and * and + repeat. Two symbols are specific to rulesets: ◆ is the code point being tested, and ⟨name⟩ refers to another rule.

leading-combining-mark MSR default 150

RFC 5891 restrictions on placement of combining marks

^ ({gc:Mn} ∪ {gc:Mc})
Structure
  • ^ start
  • ({gc:Mn} ∪ {gc:Mc}) union
    • {gc:Mn} class
    • {gc:Mc} class
Referenced by 1 definition
  • action 1 (invalid)

hyphen-minus-disallowed MSR default 150

RFC 5891 restrictions on placement of U+002D HYPHEN-MINUS

( ( (?<= ^ ) ◆ ) │ ( ◆ (?= $ ) ) │ ( (?<= ^ . . U+002D ) ◆ ) )
Structure
  • ( ( (?<= ^ ) ◆ ) │ ( ◆ (?= $ ) ) │ ( (?<= ^ . . U+002D ) ◆ ) ) choice
    • (?<= ^ ) ◆ rule no leading hyphen
      • (?<= ^ ) look-behind
        • ^ start
      • ◆ anchor
    • ◆ (?= $ ) rule no trailing hyphen
      • ◆ anchor
      • (?= $ ) look-ahead
        • $ end
    • (?<= ^ . . U+002D ) ◆ rule no consecutive hyphens in third and fourth
      • (?<= ^ . . U+002D ) look-behind
        • ^ start
        • . any
        • . any
        • U+002D char hyphen-minus
      • ◆ anchor
Referenced by 1 definition
  • negative context of U+002D

extended-cp MSR default

context to gate off code points from the extended range, matches no label

^ $

Actions

Actions are evaluated in the order shown. The first action whose conditions match determines the disposition of the label.

Actions in precedence order
# Disposition Conditions
1 invalid label matches leading-combining-mark by default, labels with leading combining marks are invalid
2 invalid any variant is out-of-repertoire-var any variant label with a code point out of repertoire is invalid MSR default
3 blocked any variant is blocked any variant label containing blocked variants is blocked MSR default
4 valid any label default catch all (default action)

References