CINXE.COM
<?xml version="1.0" encoding="utf-8"?> <lgr xmlns="urn:ietf:params:xml:ns:lgr-1.0"> <meta> <version comment="Second Level Reference LGR">2</version> <date>2024-10-25</date> <language>und-Mlym</language> <unicode-version>11.0.0</unicode-version> <description type="text/html"><![CDATA[ <div class="instructions"> <h2>INSTRUCTIONS</h2> <ul> <li>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.</li> <li>As described the IANA procedure (https://www.iana.org/help/idn-repository-procedure) an LGR MUST contain the following elements in its header: <ul style="list-style-type:square;"> <li>Script or Language Designator (see below for guidance) </li> <li>Version Number (this must increase with each amendment to the LGR, even if the updates are limited to the header itself) </li> <li>Effective Date (the date at which the policy becomes applicable in operational use) </li> <li>Registry Contact Details (contact name, email address, and/or phone number)</li> </ul> </li> <li>The following information is optional: <ul style="list-style-type:square;"> <li>Document creation date</li> <li>Applicable Domain(s)</li> <li>Changes made to the Reference LGR before adopting</li> </ul> </li> </ul> <p>Please add or modify the following items in the <b>XML source code for this file</b> before depositing the document in the IANA Repository. (https://www.iana.org/domains/idn-tables)</p> <h3>Meta Data</h3> <p>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.</p> <p><code><version comment="</code>[Please replace (or delete) the optional comment]<code>"></code>[Please fill in version number, starting at 1]<code></version></code></p> <p><code><date></code>[Please fill in with publication date, in YYYY-MM-DD format]<code></date></code></p> <p><code><validity-start></code>[Please fill in effective date, in YYYY-MM-DD format]<code></validity-start></code></p> <p>Note: the scope element may be repeated, so that the same document can serve for multiple domains.</p> <p><code><scope type="domain"></code>[Please provide, in ".domain" format]<code></scope></code></p> <p><strong>Registry Contact Information:</strong></p> <p>Please fill in the <a href="#registry_contact_details">Registry Contact Details</a>.</p> <p><strong>Change History</strong></p> <p>If you made technical modifications to the LGR, please summarize them in the <a href="#change_history">Change History</a> (and also note the details in the appropriate section of the description).</p> <p>PLEASE DELETE THESE INSTRUCTIONS BEFORE DEPOSITING THE DOCUMENT</p></div> <section id="registry_contact_details"> <h2>Registry Contact Details</h2> <ul style="list-style:none;"> <li><b>Contact Name:</b> [Please fill in Contact Name]</li> <li><b>Email address:</b> [Please fill in Email address]</li> <li><b>Phone Number:</b> [Please fill in optional Phone Number]</li> </ul> </section> <h1>Label Generation Rules for the Malayalam Script</h1> <h2>Overview</h2> <p>This document specifies a set of Label Generation Rules (LGR) for the Malayalam script for the second level domain or domains identified above. The starting point for the development of this LGR can be found in the related Root Zone LGR [RZ-LGR-Mlym]. The format of this file follows [RFC 7940]. This LGR is adapted from the “Reference LGR for the Second Level for the Malayalam Script” [Ref-LGR-und-Mlym], for details, see <a href="#change_history">Change History</a> below.</p> <p>For details and additional background on the Malayalam script, see “Proposal for a Malayalam Script Root Zone Label Generation Ruleset (LGR)” [Proposal-Malayalam].</p> <h2>Repertoire</h2> <p>The repertoire contains 70 code points for letters used in the Malayalam language in addition to ten sequences used in defining variants. The repertoire is a subset of [Unicode 11.0.0]. For details, see Section 5, “Repertoire” in [Proposal-Malayalam]. (The proposal cited has been adopted for the Malayalam script portion of the Root Zone LGR.)</p> <p>For the second level, the repertoire has been augmented with the ASCII digits, U+0030 to U+0039, plus U+002D HYPHEN-MINUS, for a total of 91 repertoire elements.</p> <p>Any code points outside the Malayalam Script 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.</p> <p><b>Repertoire Listing:</b> Each code point or range is tagged with the script or scripts with which the code point is used and one or more other character categories. For each repertoire element, one or more references document sufficient justification for inclusion in the repertoire; see the <a href="#ref_desc_sec_References">“References”</a> below.</p> <h2>Variants</h2> <p>The variants defined in this LGR are limited to those required for use in zones not shared with any other script. As such, this LGR does not define cross-script variants. However, using this LGR concurrently with any LGR for Tamil, Oriya, and Myanmar in the same zone will create potential cross-script issues. For details, see Section 6, “Variants” in [Proposal-Malayalam]. Mitigation of these cross-script variants can be addressed by using the Common LGR. For details, see Section 3, “Use of Multiple Reference LGRs in the Same Zone” in [Level-2-Overview]. In addition to variants defined by this LGR, the full variant information related to this script and added by concurrent use with the Tamil, Oriya, and Myanmar LGR(s) can be found in the following LGRs: [Ref-LGR-Tamil-Full-Variant-Script] and [Ref-LGR-Myanmar-Full-Variant-Script]. </p> <p>This LGR defines in-script variants as described in Section 6, “Variants”, in “[Proposal-Malayalam]”. One in-script variant is due to the multiple ways to write the conjunct “nta” in Malayalam.</p> <p><b>Digit Variants:</b> The Malayalam reference LGR does not include native digits, so there are no semantic variants defined.</p> <p>By transitivity, all ASCII digits are semantic variants of any cross-script native digits. Any Malayalam label that is otherwise a cross-script variant of a label in another script, will remain a variant if both labels add digits of the same value in the same position, irrespective of whether they are ASCII digits or (in the case of the other script) native digits.</p> <p>However, some Malayalam letters are homoglyphs of Malayalam native digits. For example, U+0D6A MALAYALAM DIGIT FOUR and U+0D6F MALAYALAM DIGIT NINE are homoglyphs of U+0D7C MALAYALAM CHILLU RR and U+0D7D MALAYALAM CHILLU N respectively.</p> <p>Should an extension be contemplated that adds native digits, these might require variant relations. At the same time, however, any native digits would normally be semantic variants of the ASCII digits. In any zone containing multiple scripts, these two types of variant relation for digits may lead to complication once transitivity is applied.</p> <p><b>Context Rules for Variants:</b> some of the variants defined in this LGR are “effective null variants”, that is, some code points in the source map to “nothing” in the target with all other code points unchanged. (Because mappings are symmetric, it does not matter whether it is the forward or reverse mapping that maps to “null”.) Such variants require a context rule to keep the variant set well behaved.</p> <p>In other cases, the sequences or code points making up source and target are constrained by explicit context rules on the code points (or by implicit context rules defined for the adjacent code points). In such a case, any variants may require context rules that match the intersection between the effective contexts for both source and target; otherwise, a sequence might be considered valid in some variant label when it would not be valid in an equivalent context in an original label. Symmetry requires the same context rule for both forward and reverse mappings.</p> <p><b>Variant Disposition:</b> All variants are of type “blocked”, making labels that differ only by these variants mutually exclusive: whichever label containing either of these variants is chosen earlier would be delegated, while any other equivalent labels should be blocked. There is no preference among these labels.</p> <p>This LGR does not define allocatable variants.</p> <p>The specification of variants in this LGR follows the guidelines in [RFC 8228].</p> <h2>Character Classes</h2> <p>The basic characters in Malayalam are classified here into the following categories: Consonants, Vowels, Matra and Reordrant Vowel Diacritics, Halant, Visargam, Anusvaram and Chillu letters. </p> <p><b>Consonant:</b> Malayalam is written in an abugida script derived ultimately from Brahmi in which every consonant carries an inherent /a/. More details in Section 3.8, “The Structure of Malayalam Script" of [Proposal-Malayalam].</p> <p><b>Vowels:</b> Like consonants, the independent vowels can follow any other class of code points in a label.</p> <p><b>Matra:</b> Vowels other than the inherent vowel are written as vowel diacritics. They are referred to as Matras, when they follow consonants. More details in Section 3.8, “The Structure of Malayalam Script” of [Proposal-Malayalam].</p> <p><b>Halant:</b> A consonant can be combined with another consonant or conjunct using the halant encoded as U+0D4D MALAYALAM SIGN VIRAMA. This strips off the implicit vowel. More details in Section 3.8, “The Structure of Malayalam Script” of [Proposal-Malayalam].</p> <p><b>Anusvaram:</b> In Malayalam, anusvara represented as U+0D02, simply represents a consonant /m/ after a vowel, though this /m/ may be assimilated to another nasal consonant. More details in Section 3.8, “The Structure of Malayalam Script" of [Proposal-Malayalam].</p> <p><b>Visargam:</b> The visarga represents a consonant /h/ after a vowel, and is transliterated as ḥ. Like the anusvara, it is a special symbol, and is never followed by an inherent vowel or another vowel. More details in Section 3.8, “The Structure of Malayalam Script" of [Proposal-Malayalam].</p> <p><b>Chillu:</b> Chillu letters, aka “Chillaksharam”, represent pure consonants without any vowel sound. More details in Section 3.8, “The Structure of Malayalam Script” of [Proposal-Malayalam].</p> <p><b>Reordrant:</b> Vowel diacritics, part of which reorder around the preceding character or conjunct. More details in Sections 6.1 “In-script Variants” and 7.1.1 “Variables or definitions” of [Proposal-Malayalam].</p> <h2>Whole Label Evaluation (WLE) and Context Rules</h2> <h3>Common Rules</h3> <p>By default, the LGR includes the rules and actions to implement the following restrictions mandated by the IDNA protocol. They are marked with ⍟.</p> <ul> <li><b>Hyphen Restrictions</b> — 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.</li> <li><b>Leading Combining Marks</b> — 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].</li> </ul> <h3>Default Actions</h3> <p>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].</p> <h3>Malayalam-specific Rules</h3> <p>There are constraints on the context for many of the character classes in Malayalam. A corresponding set of context and whole label rules has been formulated for LGR specification, as described in Section 7, “Whole Label Evaluation (WLE) Rules” in [Proposal-Malayalam].</p> <p>The following symbols are used in the WLE rules: <br/>C → Consonant <br/>M → Matra <br/>V → Vowel <br/>B → Anusvara <br/>X → Visarga <br/>D → Chandrabindu <br/>H → Halant <br/>L → Chillu <br/>R → Reordrant Matra </p> <p>Note: the Reordrant Matras include one sequence. That requires an auxiliary rule R in addition to class R.</p> <p>The rules are: </p> <ul> <li>1. H: must be preceded by C or U+0D41 VOWEL SIGN U</li> <li>2. M: must be preceded by C</li> <li>3. B: must be preceded by C, V or M</li> <li>4. X: must be preceded by C, V or M</li> <li>5. L: cannot be preceded by B, X or H</li> <li>6. A label does not begin with L</li> </ul> <p>The following context rules apply to Consonants U+0D33 RRA and U+0D31 LLA as well as to sequences ending in these code points:</p> <ul> <li>7. The character U+0D33 cannot immediately follow U+0D33, except as part of a defined sequence</li> <li>8. The character U+0D31 cannot immediately follow U+0D31, except as part of a defined sequence</li> </ul> <p>Note: the implementation of Rules 7 & 8 relies on the fact that a context rule is not evaluated between code points in the same sequence. For example, if a label contains two adjacent U+0D33 U+0D33 surrounded by other code points , the two code points can only be interpreted as the sequence U+0D33 U+0D33 because a singleton U+0D33 is not allowed to be followed by another U+0D33. </p> <p>The following context rule applies to the sequence Chillu N + Halant (U+0D7B U+0D4D):</p> <ul> <li>9. The sequence U+0D7B U+0D4D must be preceded by C, L, M, V and must be followed by U+0D31 RRA</li> </ul> <p>The following context rules apply to variants:</p> <ul> <li>V1: A variant is defined when followed by U+0D31</li> <li>V2: A variant preceded by U+0D33 + Halant or followed by R or Halant + U+0D33 is not defined</li> <li>V3: A variant preceded by U+0D31 + Halant or followed by R or Halant + U+0D31 is not defined</li> </ul> <p>These rules ensure that the variant label sets are well-behaved in cases where variant sequences overlap.</p> <p>Note: any sequences ending with U+0D31 RRA would overlap with the various variant sequences beginning with 0D31, therefore this LGR drops the U+0D31 from the end of these sequences, but adds context rule V1, when="followed-by-0D31" instead. Because all the variants also end in U+0D31, this results in the same generated variants as if the sequences had been defined with trailing U+0D31, but now the variants are well-behaved in all contexts.</p> <p>More details in Section 6.1, “In-script Variants” and Section 7, “Whole Label Evaluation Rules (WLE)” of [Proposal-Malayalam].</p> <p>There are a number of cross-script homoglyphs to U+0D31 RRA, which would interact with the definition of in-script sequences and variants, leading to unacceptable complexity. These variants would affect only labels made solely of letters RRA, and no other labels. Rule 8 already restricts labels consisting solely of copies of the letter RRA to either “റ” or “ററ”, thus allowing only two such labels. The following rule disallows the remaining two possible labels, obviating any need to define these cross-script variants.</p> <ul> <li>10. A label cannot consist solely of letters U+0D31 RRA</li> </ul> <h3>Malayalam-specific actions</h3> <p>WLE rules 6 and 10 trigger Malayalam-specific actions to invalidate any original and variant labels not satisfying the constraints. See Section 7, “Whole Label Evaluation (WLE) Rules” in [Proposal-Malayalam].</p> <h2>Methodology and Contributors</h2> <p>The LGR in this document has been adapted from the corresponding Reference LGR for the Second Level. The Second Level Reference LGR for the Malayalam Script was developed by Michel Suignard and Asmus Freytag, based on the Root Zone LGR for the Malayalam script and information contained or referenced therein; see [RZ-LGR-Mlym]. Suitable extensions for the second level have been applied according to the [Guidelines] and with community input. The original proposal for a Root Zone LGR for the Malayalam script, that this reference LGR is based on, was developed by the Neo-Brahmi Generation Panel (NBGP). For more information on methodology and contributors to the underlying Root Zone LGR, see Sections 4 and 8 in [Proposal-Malayalam], as well as [RZ-LGR-Overview].</p> <section id="change_history"> <h3>Changes from Version Dated 15 December 2020</h3> <p>Unicode Version has been updated.</p> <h3>Changes from Version Dated 25 October 2024</h3> <p>Adopted from the Second Level Reference LGR for the Malayalam Script [Ref-LGR-und-Mlym] without normative changes.</p> </section> <h2>References</h2> <p>The following general references are cited in this document:</p> <dl class="references"> <dt>[Guidelines]</dt> <dd>ICANN, “Guidelines for Developing Reference LGRs for the Second Level”, (Los Angeles, California: ICANN, 27 May 2020), https://www.icann.org/en/system/files/files/lgr-guidelines-second-level-27may20-en.pdf</dd> <dt>[Level-2-Overview]</dt> <dd>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 </dd> <dt>[Proposal-Malayalam]</dt> <dd>Neo-Brahmi Generation Panel, “Proposal for a Malayalam Script Root Zone Label Generation Ruleset (LGR)”, 7 May 2020, https://www.icann.org/en/system/files/files/proposal-malayalam-lgr-07may19-en.pdf</dd> <dt>[Ref-LGR-und-Mlym]</dt> <dd>ICANN, Second Level Reference Label Generation Rules for the Malayalam Script (und-Mlym), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-malayalam-script-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-malayalam-script-25oct24-en.html</dd> <dt>[Ref-LGR-Myanmar-Full-Variant-Script]</dt> <dd>ICANN, Second Level Reference Label Generation Rules for the Myanmar Script (und-Mymr), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-myanmar-full-variant-script-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-myanmar-full-variant-script-25oct24-en.html</dd> <dt>[Ref-LGR-Tamil-Full-Variant-Script]</dt> <dd>ICANN, Second Level Reference Label Generation Rules for the Tamil Script (und-Taml), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-tamil-full-variant-script-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-tamil-full-variant-script-25oct24-en.html</dd> <dt>[RFC 7940]</dt> <dd>Davies, K. and A. Freytag, “Representing Label Generation Rulesets Using XML”, RFC 7940, August 2016, https://www.rfc-editor.org/info/rfc7940</dd> <dt>[RFC 8228]</dt> <dd>A. Freytag, “Guidance on Designing Label Generation Rulesets (LGRs) Supporting Variant Labels”, RFC 8228, August 2017, https://www.rfc-editor.org/info/rfc8228</dd> <dt>[RZ-LGR-Mlym]</dt> <dd>ICANN, Root Zone Label Generation Rules for the Malayalam Script (und-Mlym), 26 May 2022 (XML) https://www.icann.org/sites/default/files/lgr/rz-lgr-5-malayalam-script-26may22-en.xml</dd> <dt>[RZ-LGR-Overview]</dt> <dd>Integration Panel, “Root Zone Label Generation Rules (RZ LGR-5): Overview and Summary”, 26 May 2022 (PDF), https://www.icann.org/sites/default/files/lgr/rz-lgr-5-overview-26may22-en.pdf</dd> <dt>[Unicode 11.0.0]</dt> <dd>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/</dd> </dl> <p>For references consulted particularly in designing the repertoire for the Malayalam Script for the second level please see details in the <a href="#table_of_references">Table of References</a> below.</p> <p>References [0] to [9] refer to the Unicode Standard versions in which the corresponding code points were initially encoded. Reference [106] corresponds to a source given in [Proposal-Malayalam] justifying the inclusion of the corresponding code points. Entries in the table may have multiple source reference values. In the listing of <a href="#whole_label_evaluation_and_context_rules">whole label evaluation and context rules</a>, reference [150] indicates the source for common rules.</p> ]]></description> <references> <reference id="0" comment="Any code point originally encoded in Unicode Version 1.1">The Unicode Standard, Version 1.1</reference> <reference id="9" comment="Any code point originally encoded in Unicode Version 5.1">The Unicode Standard, Version 5.1</reference> <reference id="106">Omniglot, “Malayalam (മലയാളം):” https://www.omniglot.com/writing/malayalam.htm (Accessed on 5th July, 2018)</reference> <reference id="150">RFC 5891, Internationalized Domain Names in Applications (IDNA): Protocol https://tools.ietf.org/html/rfc5891</reference> </references> </meta> <data> <char cp="002D" not-when="hyphen-minus-disallowed" tag="sc:Zyyy" ref="0" comment="HYPHEN-MINUS; ⍟" /> <char cp="0030" tag="Common-digit sc:Zyyy" ref="0" comment="DIGIT ZERO; ⍟" /> <char cp="0031" tag="Common-digit sc:Zyyy" ref="0" comment="DIGIT ONE; ⍟" /> <char cp="0032" tag="Common-digit sc:Zyyy" ref="0" comment="DIGIT TWO; ⍟" /> <char cp="0033" tag="Common-digit sc:Zyyy" ref="0" comment="DIGIT THREE; ⍟" /> <char cp="0034" tag="Common-digit sc:Zyyy" ref="0" comment="DIGIT FOUR; ⍟" /> <char cp="0035" tag="Common-digit sc:Zyyy" ref="0" comment="DIGIT FIVE; ⍟" /> <char cp="0036" tag="Common-digit sc:Zyyy" ref="0" comment="DIGIT SIX; ⍟" /> <char cp="0037" tag="Common-digit sc:Zyyy" ref="0" comment="DIGIT SEVEN; ⍟" /> <char cp="0038" tag="Common-digit sc:Zyyy" ref="0" comment="DIGIT EIGHT; ⍟" /> <char cp="0039" tag="Common-digit sc:Zyyy" ref="0" comment="DIGIT NINE; ⍟" /> <char cp="0D02" when="follows-C-V-or-M" tag="Anusvaram sc:Mlym" ref="0 106" comment="MALAYALAM SIGN ANUSVARA" /> <char cp="0D03" when="follows-C-V-or-M" tag="sc:Mlym Visargam" ref="0 106" comment="MALAYALAM SIGN VISARGA" /> <char cp="0D05" tag="sc:Mlym Vowel" ref="0 106" comment="MALAYALAM LETTER A" /> <char cp="0D06" tag="sc:Mlym Vowel" ref="0 106" comment="MALAYALAM LETTER AA" /> <char cp="0D07" tag="sc:Mlym Vowel" ref="0 106" comment="MALAYALAM LETTER I" /> <char cp="0D08" tag="sc:Mlym Vowel" ref="0 106" comment="MALAYALAM LETTER II" /> <char cp="0D09" tag="sc:Mlym Vowel" ref="0 106" comment="MALAYALAM LETTER U" /> <char cp="0D0A" tag="sc:Mlym Vowel" ref="0 106" comment="MALAYALAM LETTER UU" /> <char cp="0D0B" tag="sc:Mlym Vowel" ref="0 106" comment="MALAYALAM LETTER VOCALIC R" /> <char cp="0D0E" tag="sc:Mlym Vowel" ref="0 106" comment="MALAYALAM LETTER E" /> <char cp="0D0F" tag="sc:Mlym Vowel" ref="0 106" comment="MALAYALAM LETTER EE" /> <char cp="0D10" tag="sc:Mlym Vowel" ref="0 106" comment="MALAYALAM LETTER AI" /> <char cp="0D12" tag="sc:Mlym Vowel" ref="0 106" comment="MALAYALAM LETTER O" /> <char cp="0D13" tag="sc:Mlym Vowel" ref="0 106" comment="MALAYALAM LETTER OO" /> <char cp="0D14" tag="sc:Mlym Vowel" ref="0 106" comment="MALAYALAM LETTER AU" /> <char cp="0D15" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER KA" /> <char cp="0D16" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER KHA" /> <char cp="0D17" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER GA" /> <char cp="0D18" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER GHA" /> <char cp="0D19" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER NGA" /> <char cp="0D1A" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER CA" /> <char cp="0D1B" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER CHA" /> <char cp="0D1C" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER JA" /> <char cp="0D1D" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER JHA" /> <char cp="0D1E" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER NYA" /> <char cp="0D1F" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER TTA" /> <char cp="0D20" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER TTHA" /> <char cp="0D21" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER DDA" /> <char cp="0D22" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER DDHA" /> <char cp="0D23" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER NNA" /> <char cp="0D24" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER TA" /> <char cp="0D25" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER THA" /> <char cp="0D26" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER DA" /> <char cp="0D27" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER DHA" /> <char cp="0D28" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER NA" /> <char cp="0D28 0D4D" not-when="follows-B-X-or-H" ref="0 106"> <var cp="0D7B" when="followed-by-0D31" type="blocked" /> <var cp="0D7B 0D4D" when="followed-by-0D31" type="blocked" /> </char> <char cp="0D2A" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER PA" /> <char cp="0D2B" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER PHA" /> <char cp="0D2C" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER BA" /> <char cp="0D2D" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER BHA" /> <char cp="0D2E" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER MA" /> <char cp="0D2F" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER YA" /> <char cp="0D30" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER RA" /> <char cp="0D31" not-when="follows-0D31" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER RRA" /> <char cp="0D31 0D31" not-when="follows-0D31"> <var cp="0D31 0D4D 0D31" not-when="follows-0D31-0D4D-or-followed-by-0D4D-0D31-or-R" type="blocked" /> </char> <char cp="0D31 0D31 0D4D 0D31" not-when="follows-0D31"> <var cp="0D31 0D4D 0D31 0D31" not-when="followed-by-R" type="blocked" /> </char> <char cp="0D31 0D4D 0D31" not-when="follows-0D31"> <var cp="0D31 0D31" not-when="follows-0D31-0D4D-or-followed-by-0D4D-0D31-or-R" type="blocked" /> </char> <char cp="0D31 0D4D 0D31 0D31" not-when="follows-0D31"> <var cp="0D31 0D31 0D4D 0D31" not-when="followed-by-R" type="blocked" /> </char> <char cp="0D32" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER LA" /> <char cp="0D33" not-when="follows-0D33" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER LLA" /> <char cp="0D33 0D33" not-when="follows-0D33"> <var cp="0D33 0D4D 0D33" not-when="follows-0D33-0D4D-or-followed-by-0D4D-0D33-or-R" type="blocked" /> </char> <char cp="0D33 0D33 0D4D 0D33" not-when="follows-0D33"> <var cp="0D33 0D4D 0D33 0D33" not-when="followed-by-R" type="blocked" /> </char> <char cp="0D33 0D4D 0D33" not-when="follows-0D33"> <var cp="0D33 0D33" not-when="follows-0D33-0D4D-or-followed-by-0D4D-0D33-or-R" type="blocked" /> </char> <char cp="0D33 0D4D 0D33 0D33" not-when="follows-0D33"> <var cp="0D33 0D33 0D4D 0D33" not-when="followed-by-R" type="blocked" /> </char> <char cp="0D34" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER LLLA" /> <char cp="0D35" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER VA" /> <char cp="0D36" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER SHA" /> <char cp="0D37" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER SSA" /> <char cp="0D38" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER SA" /> <char cp="0D39" tag="Consonant sc:Mlym" ref="0 106" comment="MALAYALAM LETTER HA" /> <char cp="0D3E" when="follows-C" tag="Matra sc:Mlym" ref="0 106" comment="MALAYALAM VOWEL SIGN AA" /> <char cp="0D3F" when="follows-C" tag="Matra sc:Mlym" ref="0 106" comment="MALAYALAM VOWEL SIGN I" /> <char cp="0D40" when="follows-C" tag="Matra sc:Mlym" ref="0 106" comment="MALAYALAM VOWEL SIGN II" /> <char cp="0D41" when="follows-C" tag="Matra sc:Mlym" ref="0 106" comment="MALAYALAM VOWEL SIGN U" /> <char cp="0D42" when="follows-C" tag="Matra sc:Mlym" ref="0 106" comment="MALAYALAM VOWEL SIGN UU" /> <char cp="0D43" when="follows-C" tag="Matra sc:Mlym" ref="0 106" comment="MALAYALAM VOWEL SIGN VOCALIC R" /> <char cp="0D46" when="follows-C" tag="Matra R sc:Mlym" ref="0 106" comment="MALAYALAM VOWEL SIGN E" /> <char cp="0D47" when="follows-C" tag="Matra R sc:Mlym" ref="0 106" comment="MALAYALAM VOWEL SIGN EE" /> <char cp="0D48" when="follows-C" tag="Matra R sc:Mlym" ref="0 106" comment="MALAYALAM VOWEL SIGN AI" /> <char cp="0D4A" when="follows-C" tag="Matra R sc:Mlym" ref="0 106" comment="MALAYALAM VOWEL SIGN O" /> <char cp="0D4B" when="follows-C" tag="Matra R sc:Mlym" ref="0 106" comment="MALAYALAM VOWEL SIGN OO" /> <char cp="0D4D" when="follows-C-or-0D41" tag="Halant sc:Mlym" ref="0 106" comment="MALAYALAM SIGN VIRAMA" /> <char cp="0D57" when="follows-C" tag="Matra sc:Mlym" ref="0 106" comment="MALAYALAM AU LENGTH MARK" /> <char cp="0D7A" not-when="follows-B-X-or-H" tag="Chillu sc:Mlym" ref="9 106" comment="MALAYALAM LETTER CHILLU NN" /> <char cp="0D7B" not-when="follows-B-X-or-H" tag="Chillu sc:Mlym" ref="9 106" comment="MALAYALAM LETTER CHILLU N"> <var cp="0D28 0D4D" when="followed-by-0D31" type="blocked" /> <var cp="0D7B 0D4D" when="followed-by-0D31" type="blocked" /> </char> <char cp="0D7B 0D4D" when="follows-C-L-M-V-and-followed-by-03D1"> <var cp="0D28 0D4D" when="followed-by-0D31" type="blocked" /> <var cp="0D7B" when="followed-by-0D31" type="blocked" /> </char> <char cp="0D7C" not-when="follows-B-X-or-H" tag="Chillu sc:Mlym" ref="9 106" comment="MALAYALAM LETTER CHILLU RR" /> <char cp="0D7D" not-when="follows-B-X-or-H" tag="Chillu sc:Mlym" ref="9 106" comment="MALAYALAM LETTER CHILLU L" /> <char cp="0D7E" not-when="follows-B-X-or-H" tag="Chillu sc:Mlym" ref="9 106" comment="MALAYALAM LETTER CHILLU LL" /> <char cp="0D7F" not-when="follows-B-X-or-H" tag="Chillu sc:Mlym" ref="9 106" comment="MALAYALAM LETTER CHILLU K" /> </data> <!--Rules section goes here--> <rules> <!--Character class definitions go here--> <class name="C" from-tag="Consonant" comment="Any Malayalam consonant" /> <class name="V" from-tag="Vowel" comment="Any Malayalam independent vowel" /> <class name="M" from-tag="Matra" comment="Any Malayalam vowel sign (matra)" /> <class name="H" from-tag="Halant" comment="The Malayalam Halant/Virama" /> <class name="B" from-tag="Anusvaram" comment="The Malayalam Anusvaram" /> <class name="X" from-tag="Visargam" comment="The Malayalam Visargam" /> <class name="L" from-tag="Chillu" comment="Any Malayalam chillu (consonant without any vowel sound)" /> <class name="R" from-tag="R" comment="Any Malayalam reordrant vowel sign" /> <!--Whole label evaluation and context rules go here--> <rule name="leading-combining-mark" ref="150" comment="RFC 5891 restrictions on placement of combining marks ⍟"> <start /> <union> <class property="gc:Mn" /> <class property="gc:Mc" /> </union> </rule> <rule name="hyphen-minus-disallowed" ref="150" comment="RFC 5891 restrictions on placement of U+002D HYPHEN-MINUS ⍟"> <choice> <rule comment="no leading hyphen"> <look-behind> <start /> </look-behind> <anchor /> </rule> <rule comment="no trailing hyphen"> <anchor /> <look-ahead> <end /> </look-ahead> </rule> <rule comment="no consecutive hyphens in third and fourth position in the label"> <look-behind> <start /> <any /> <any /> <char cp="002D" comment="hyphen-minus" /> </look-behind> <anchor /> </rule> </choice> </rule> <rule name="follows-C-or-0D41" comment="Section 7, WLE 1: Rule 1: H must be preceded by C or U+0D41"> <look-behind> <choice> <class by-ref="C" /> <char cp="0D41" comment="MALAYALAM VOWEL SIGN U" /> </choice> </look-behind> <anchor /> </rule> <rule name="follows-C" comment="Section 7, WLE 2: M must be preceded by C"> <look-behind> <class by-ref="C" /> </look-behind> <anchor /> </rule> <rule name="follows-C-V-or-M" comment="Section 7, WLE 3: B must be preceded by C, V or M and WLE 4: X must be preceded by C, V or M"> <look-behind> <choice> <class by-ref="C" /> <class by-ref="V" /> <class by-ref="M" /> </choice> </look-behind> <anchor /> </rule> <rule name="follows-B-X-or-H" comment="Section 7, WLE 5: L cannot be preceded by B, X or H"> <look-behind> <choice> <class by-ref="B" /> <class by-ref="X" /> <class by-ref="H" /> </choice> </look-behind> <anchor /> </rule> <rule name="begins-with-L" comment="Section 7, WLE 6: Label does not begin with L"> <start /> <class by-ref="L" /> </rule> <rule name="follows-0D33" comment="Section 7, WLE 7. The character U+0D33 cannot immediately follow U+0D33, except as part of a defined sequence"> <look-behind> <char cp="0D33" /> </look-behind> <anchor /> </rule> <rule name="follows-0D31" comment="Section 7, WLE 8. The character U+0D31 cannot immediately follow U+0D31, except as part of a defined sequence"> <look-behind> <char cp="0D31" /> </look-behind> <anchor /> </rule> <rule name="follows-C-L-M-V-and-followed-by-03D1" comment="Section 7, WLE 9: Sequence U+0D7B U+0D4D must be preceded by C, L, M, V and must be followed by U+0D31"> <look-behind> <choice> <class by-ref="C" /> <class by-ref="L" /> <class by-ref="M" /> <class by-ref="V" /> </choice> </look-behind> <anchor /> <look-ahead> <char cp="0D31" /> </look-ahead> </rule> <rule name="reordrant-matra" comment="Reordrant matras, including sequence U+0D4D U+0D30"> <choice> <class by-ref="R" /> <char cp="0D4D 0D30" /> </choice> </rule> <rule name="followed-by-R" comment="variant not defined if followed by reordrant matra"> <anchor /> <look-ahead> <rule by-ref="reordrant-matra" /> </look-ahead> </rule> <rule name="followed-by-0D31" comment="Section 6.1, V1: A variant is defined when followed by U+0D31"> <anchor /> <look-ahead> <char cp="0D31" /> </look-ahead> </rule> <rule name="follows-0D33-0D4D-or-followed-by-0D4D-0D33-or-R" comment="Section 6.1, V2: variant not defined if preceded by U+0D33 + Halant or followed by Halant + U+0D33 or R"> <choice> <rule> <look-behind> <char cp="0D33 0D4D" /> </look-behind> <anchor /> </rule> <rule> <anchor /> <look-ahead> <choice> <char cp="0D4D 0D33" /> <rule by-ref="reordrant-matra" /> </choice> </look-ahead> </rule> </choice> </rule> <rule name="follows-0D31-0D4D-or-followed-by-0D4D-0D31-or-R" comment="Section 6.1, V3: variant not defined if preceded by U+0D31 + Halant or followed by Halant + U+0D31 or R"> <choice> <rule> <look-behind> <char cp="0D31 0D4D" /> </look-behind> <anchor /> </rule> <rule> <anchor /> <look-ahead> <choice> <char cp="0D4D 0D31" /> <rule by-ref="reordrant-matra" /> </choice> </look-ahead> </rule> </choice> </rule> <rule name="only-RRA" comment="Section 7, WLE 10: Labels consisting solely of the letter RRA are disallowed to limit cross-script interaction"> <start /> <char cp="0D31" count="1+" /> <end /> </rule> <!--Action elements go here - order defines precedence--> <action disp="invalid" match="leading-combining-mark" ref="150" comment="labels with leading combining marks are invalid ⍟" /> <action disp="invalid" match="begins-with-L" comment="Section 7, WLE 6: Label does not begin with L" /> <action disp="invalid" match="only-RRA" comment="Section 7, WLE 10: Label cannot contain only RRA" /> <action disp="invalid" any-variant="out-of-repertoire-var" comment="any variant label with a code point out of repertoire is invalid ⍟" /> <action disp="blocked" any-variant="blocked" comment="any variant label containing blocked variants is blocked ⍟" /> <action disp="allocatable" all-variants="allocatable" comment="variant labels with all variants allocatable are allocatable ⍟" /> <action disp="valid" comment="catch all; default action ⍟" /> </rules> </lgr>