﻿<?xml version="1.0" encoding="utf-8"?>
<lgr xmlns="urn:ietf:params:xml:ns:lgr-1.0">
  <meta>
    <version>1</version>
    <date>2019-07-08</date>
    <language>und-Mymr</language>
    <unicode-version>10.0.0</unicode-version>
    <description type="text/html"><![CDATA[
<h1>Proposal for a Myanmar Script Root Zone
Label Generation Rule-Set (LGR)</h1>

<h2>Overview</h2>
<p>This document contains edits by the Integration Panel:</p>
<ol>
    <li>added "date" to metadata</li>
    <li>added "language" to metadata</li>
   <li>added a placeholder for the missing description element, but filled it with review notes</li>
    <li>added comments to sequences to indicate sequence number from the proposal document</li>
    <li>added a rule for each sequence used in the definition of other rules, so sequences can be named in rules that are using them</li>
    <li>edited rules to use named rules for sequences</li>
    <li>changed type="out-of-repertoire" to "out-of-repertoire-var" to follow conventional use</li>
    <li>changed automatic comments on out of repertoire "char" elements to "Not part of reperotire" to match conventional use</li>
    <li>changed automatic comments on variants to "Cross-script homoglyph"</li>
    <li>added a named class for "v"</li>
     <li>changed rule 14 to use cless for readability</li>
    <li>added a named class for "k"</li>
    <li>added a rule "ck" for "c+k" to make WLE rule 7 and 11 easier to follow</li>
    <li>changed "[ ]" to "( )" in comments or removed.
    <li>applied XML source code formatting convention: space before end of element " /&gt;"</li>
    <li>removed unused rule "followed-by-c"</li>
</ol>
<h2>Additional Review Notes</h2>
<p>Issues found:</p>
<ol>
   <li>Several metadata fields are missing (listed in the next item) for some, placeholders have been provided</li>
   <li>Language</li>
   <li>Date</li>
   <li>Description</li>
   <li>References</li>
   <li>References are not applied to "char", "var" elements, etc.</li>
   <li>rule "between-v" does not exist as numbered rule in Proposal</li>
   <li>Unicode version is out of date with current MSR (6.3.0) but this may change before the proposal is ready; at that time "unicode-version" element needs to be edited to match the latest MSR.</li>
   <li>In [Proposal-Myanmar] the key CM42 is used twice in Table 8-B (this is correct in Appendix B).</li>
   <li>In [Proposal-Myanmar] the key SV5 is used twice in Table 8-B (this is correct in Table 8-A).</li>
    <li>variant type="out-of-repertoire" should have been "out-of-repertpoire-var" to follow conventional use</li>
    <li>Commenting does not follow conventional usage, particularly for variants, many comments empty</li>
    <li>For left side context rules that contain a choice of single character classes as well as some sequences: if the sequences all end with code points in one of the character classes, adding the sequence does not alter the set of labels matching the context rule; the sequence is redundant and can be removed from the rule.  Only sequences that end in different character class need to be added. (Examples are Rules 8, 9 and . However, Rule s 12 is fine, it contains only sequences; for Rule 10, the sequences end in -k, which is different from the "shan_vowel" class).</li>
    <li>Many sequence definitions  in the repertoire are redundant. A sequence can override a generic context rule, but if the generic context rules already allow the elements to combine into the sequence, it does not need to be specified. An exception is the case where a sequence is a target of a variant mapping. In the Myanmar LGR, all sequences of type c-m can be removed, for example (but sequences of type c-m-m or dv-dv would need to be retained).</li>
    <li>the classification "myanmar" seems to be unused</li>
    <li>the classification "shan" seems to be unused </li>
     <li>comments mention the tags "c_pao" and "m_pao" but these are not defined.</li>
     <li>literal sequences in rules should be expressed as named rules and referenced by name for clarity<li>
     <li>literatl code points for which tags exists (k and v) should be replaced by named character classes of the same name in the rules for clarity</li>
</ol>
<h2>References</h2>
<dl class="references">
<dt>[Proposal-Myanmar]</dt>
<dd>Myanmar Generation Panel, Proposal for a Myanmar Script Root Zone
Label Generation Rule-Set (LGR), [DATE and URL TBD]<dd>
</dl>
]]></description>
    <references>
      <reference id="103">Mon News Agency, 26 September 2018, http://mon.monnews.org/</reference>
      <reference id="105">Shan News, 3 October 2018, https://shannews.org/</reference>
    </references>
  </meta>
  <data>
    <char cp="0B20" tag="sc:Orya" comment="Not part of repertoire">
      <var cp="0B20" type="out-of-repertoire-var" comment="Out-of-repertoire" />
      <var cp="0D20" type="blocked" />
      <var cp="101D" type="blocked" comment="Cross-script homoglyph" />
    </char>
    <char cp="0B47" tag="sc:Orya" comment="Not part of repertoire">
      <var cp="0B47" type="out-of-repertoire-var" comment="Out-of-repertoire" />
      <var cp="1031" type="blocked" comment="Cross-script homoglyph" />
    </char>
    <char cp="0D20" tag="sc:Mlym" comment="Not part of repertoire">
      <var cp="0B20" type="blocked" />
      <var cp="0D20" type="out-of-repertoire-var" comment="Out-of-repertoire" />
      <var cp="101D" type="blocked" comment="Cross-script homoglyph" />
    </char>
    <char cp="0D31" tag="sc:Mlym" comment="Not part of repertoire">
      <var cp="0D31" type="out-of-repertoire-var" comment="Out-of-repertoire" />
      <var cp="1002" type="blocked" comment="Cross-script homoglyph" />
      <var cp="1077" type="blocked" />
      <var cp="10D8" type="blocked" />
    </char>
    <char cp="1000" not-when="between-v" tag="c myanmar sc:Mymr">
      <var cp="1075" type="blocked" />
    </char>
    <char cp="1000 1039 1000" not-when="between-v" comment="SV1">
      <var cp="1023" type="blocked" />
    </char>
    <char cp="1000 103B" />
    <char cp="1000 103B 103D" />
    <char cp="1000 103B 103D 1014 103A 102F 1015 103A" comment="SS06; Exception to WLE Rule" />
    <char cp="1000 103C" />
    <char cp="1000 103C 103D" />
    <char cp="1000 103D" />
    <char cp="1001" not-when="between-v" tag="c myanmar sc:Mymr">
      <var cp="1076" type="blocked" />
    </char>
    <char cp="1001 103B" />
    <char cp="1001 103B 103D" />
    <char cp="1001 103C" />
    <char cp="1001 103C 103D" />
    <char cp="1001 103D" />
    <char cp="1002" not-when="between-v" tag="c myanmar sc:Mymr">
      <var cp="0D31" type="blocked" />
      <var cp="1077" type="blocked" />
      <var cp="10D8" type="blocked" />
    </char>
    <char cp="1002 103B" />
    <char cp="1002 103B 103D" />
    <char cp="1002 103C" />
    <char cp="1002 103C 103D" />
    <char cp="1002 103D" />
    <char cp="1003" not-when="between-v" tag="c sc:Mymr" />
    <char cp="1004" not-when="between-v" tag="c c2 c3 sc:Mymr">
      <var cp="105A" type="blocked" />
    </char>
    <char cp="1004 103A 1039" when="follows-c-m-dv-and-followed-by-c" comment="SS11; For WLE rule #8" />
    <char cp="1004 103C" />
    <char cp="1004 103C 103E" />
    <char cp="1004 103D" />
    <char cp="1004 103D 103E" />
    <char cp="1004 103E" />
    <char cp="1005" not-when="between-v" tag="c myanmar sc:Mymr">
      <var cp="1078" type="blocked" />
    </char>
    <char cp="1005 103D" />
    <char cp="1006" not-when="between-v" tag="c sc:Mymr" />
    <char cp="1006 103D" />
    <char cp="1007" not-when="between-v" tag="c myanmar sc:Mymr">
      <var cp="1079" type="blocked" />
    </char>
    <char cp="1007 103D" />
    <char cp="1008" not-when="between-v" tag="c sc:Mymr">
      <var cp="105B" type="blocked" />
    </char>
    <char cp="1009" not-when="between-v" tag="c c2 c3 sc:Mymr" />
    <char cp="1009 103E" />
    <char cp="100A" not-when="between-v" tag="c c2 c3 myanmar sc:Mymr">
      <var cp="107A" type="blocked" />
    </char>
    <char cp="100A 103D" />
    <char cp="100A 103D 103E" />
    <char cp="100A 103E" />
    <char cp="100B" not-when="between-v" tag="c sc:Mymr" />
    <char cp="100C" not-when="between-v" tag="c sc:Mymr" />
    <char cp="100D" not-when="between-v" tag="c sc:Mymr" />
    <char cp="100E" not-when="between-v" tag="c sc:Mymr" />
    <char cp="100F" not-when="between-v" tag="c c2 c3 myanmar sc:Mymr">
      <var cp="1014" type="blocked" />
      <var cp="107C" type="blocked" />
    </char>
    <char cp="100F 103E" />
    <char cp="1010" not-when="between-v" tag="c sc:Mymr">
      <var cp="10D7" type="blocked" />
    </char>
    <char cp="1010 103B" />
    <char cp="1010 103C" />
    <char cp="1010 103D" />
    <char cp="1011" not-when="between-v" tag="c sc:Mymr" />
    <char cp="1011 103B" />
    <char cp="1011 103C" />
    <char cp="1011 103D" />
    <char cp="1012" not-when="between-v" tag="c sc:Mymr" />
    <char cp="1012 103B" />
    <char cp="1012 103C" />
    <char cp="1012 103D" />
    <char cp="1013" not-when="between-v" tag="c sc:Mymr" />
    <char cp="1013 103D" />
    <char cp="1014" not-when="between-v" tag="c c2 c3 myanmar sc:Mymr">
      <var cp="100F" type="blocked" />
      <var cp="107C" type="blocked" />
    </char>
    <char cp="1014 103B" />
    <char cp="1014 103D" />
    <char cp="1014 103D 103E" />
    <char cp="1014 103E" />
    <char cp="1015" not-when="between-v" tag="c sc:Mymr" />
    <char cp="1015 103B" />
    <char cp="1015 103B 103D" />
    <char cp="1015 103C" />
    <char cp="1015 103C 103D" />
    <char cp="1015 103D" />
    <char cp="1016" not-when="between-v" tag="c myanmar sc:Mymr">
      <var cp="107D" type="blocked" />
    </char>
    <char cp="1016 103B" />
    <char cp="1016 103C" />
    <char cp="1016 103C 103D" />
    <char cp="1016 103D" />
    <char cp="1017" not-when="between-v" tag="c myanmar sc:Mymr">
      <var cp="107F" type="blocked" />
    </char>
    <char cp="1017 103B" />
    <char cp="1017 103C" />
    <char cp="1017 103D" />
    <char cp="1018" not-when="between-v" tag="c sc:Mymr" />
    <char cp="1018 103B" />
    <char cp="1018 103C" />
    <char cp="1018 103D" />
    <char cp="1019" not-when="between-v" tag="c c2 c3 sc:Mymr" />
    <char cp="1019 103B" />
    <char cp="1019 103B 103D" />
    <char cp="1019 103B 103E" />
    <char cp="1019 103C" />
    <char cp="1019 103C 103D" />
    <char cp="1019 103C 103D 103E" />
    <char cp="1019 103C 103E" />
    <char cp="1019 103D" />
    <char cp="1019 103D 103E" />
    <char cp="1019 103E" />
    <char cp="101A" not-when="between-v" tag="c c2 sc:Mymr" />
    <char cp="101A 1031 102C 1000 103A 103B 102C 1038" comment="SS07; Exception to WLE rule Asat 103A follows Medial 103B" />
    <char cp="101A 103B" />
    <char cp="101A 103D" />
    <char cp="101A 103E" />
    <char cp="101B" not-when="between-v" tag="c sc:Mymr" />
    <char cp="101B 103D" />
    <char cp="101B 103D 103E" />
    <char cp="101B 103E" comment="SV3; See Section 6.1 of [Proposal-Myanmar]">
      <var cp="1061" type="blocked" />
    </char>
    <char cp="101C" not-when="between-v" tag="c sc:Mymr" />
    <char cp="101C 1000 103A 103B 102C" comment="SS08; Exception to WLE rule Asat 103A follows Medial 103B" />
    <char cp="101C 103B" />
    <char cp="101C 103B 103E" />
    <char cp="101C 103D" />
    <char cp="101C 103D 103E" />
    <char cp="101C 103E" />
    <char cp="101D" not-when="between-v" tag="c c3 sc:Mymr">
      <var cp="0B20" type="blocked" />
      <var cp="0D20" type="blocked" />
    </char>
    <char cp="101D 103D" />
    <char cp="101D 103E" />
    <char cp="101E" not-when="between-v" tag="c sc:Mymr" />
    <char cp="101E 103B 103E" />
    <char cp="101E 103C" comment="SV4; See Section 6.1 of [Proposal-Myanmar]">
      <var cp="1029" type="blocked" />
    </char>
    <char cp="101E 103C 1014 103A" ref="103" comment="SS10; The only Mon word with 101E 103C" />
    <char cp="101E 103C 1031 102C 103A" comment="SV5; See Section 6.1 of [Proposal-Myanmar]">
      <var cp="1029 1031 102C 103A" type="blocked" />
      <var cp="102A" type="blocked" />
    </char>
    <char cp="101E 103C 1083 1087" ref="105" comment="SS09; The only Shan word with 101E 103C" />
    <char cp="101E 103D" />
    <char cp="101F" not-when="between-v" tag="c sc:Mymr" />
    <char cp="101F 103D" />
    <char cp="1020" not-when="between-v" tag="c sc:Mymr" />
    <char cp="1020 103E" />
    <char cp="1021" not-when="between-v" tag="c myanmar sc:Mymr">
      <var cp="1022" type="blocked" />
    </char>
    <char cp="1021 103D" />
    <char cp="1022" not-when="between-v" tag="c sc:Mymr shan">
      <var cp="1021" type="blocked" />
    </char>
    <char cp="1023" tag="iv sc:Mymr">
      <var cp="1000 1039 1000" type="blocked" />
    </char>
    <char cp="1023 1033" comment="S_Mon1; This is Independent vowel sequence for Mon Language (See 3.3.2.2)" />
    <char cp="1024" tag="iv sc:Mymr" />
    <char cp="1025" tag="iv sc:Mymr" />
    <char cp="1025 102F" comment="S_Mon2; This is Independent vowel sequence for Mon Language (See 3.3.2.2)" />
    <char cp="1025 102F 1036" comment="SS01; 1025 cannot join with other signs" />
    <char cp="1025 102F 1038" comment="SS02; 1025 cannot join with other signs" />
    <char cp="1026" tag="iv sc:Mymr" />
    <char cp="1026 1038" comment="SS03; 1026 cannot join with other signs" />
    <char cp="1027" tag="iv sc:Mymr">
      <var cp="1028" type="blocked" />
    </char>
    <char cp="1027 100A 1037 103A" comment="SS04; Exception to WLE rule #3 Sequence of Consonant-dot below-Asat being lead by Independent vowel 1027" />
    <char cp="1027 1032" comment="SS05; Exception to WLE rule Diacritic follows Independent vowel 1027" />
    <char cp="1028" tag="iv sc:Mymr">
      <var cp="1027" type="blocked" />
    </char>
    <char cp="1029" tag="iv sc:Mymr">
      <var cp="101E 103C" type="blocked" />
    </char>
    <char cp="1029 1031 102C 103A" comment="SV6; See Section 6.1 of [Proposal-Myanmar]">
      <var cp="101E 103C 1031 102C 103A" type="blocked" />
      <var cp="102A" type="blocked" />
    </char>
    <char cp="102A" tag="iv sc:Mymr">
      <var cp="101E 103C 1031 102C 103A" type="blocked" />
      <var cp="1029 1031 102C 103A" type="blocked" />
    </char>
    <char cp="102B" when="follows-c-m" tag="dv lv myanmar sc:Mymr">
      <var cp="102C" type="blocked" />
      <var cp="1083" type="blocked" />
    </char>
    <char cp="102C" when="follows-c-m" tag="dv lv myanmar sc:Mymr">
      <var cp="102B" type="blocked" />
      <var cp="1083" type="blocked" />
    </char>
    <char cp="102C 103A" when="follows-c-m-dv" comment="ST2; This is used as Tone Sequence in Sgaw Karen language. (See 3.3.5.3 of [Proposal-Myanmar])" />
    <char cp="102D" when="follows-c-m" tag="dv sc:Mymr sh_vowel sv" />
    <char cp="102D 102F" when="follows-c-m" comment="S12; Long vowel sequence, For WLE Rule #10, #11" />
    <char cp="102D 1030" when="follows-c-m" comment="S_Sh3; Dependent Vowel Sequence for Shan Language. (See 3.3.3.2 of [Proposal-Myanmar])" />
    <char cp="102D 1036" when="follows-c-m" comment="S18; Long vowel sequence" />
    <char cp="102E" when="follows-c-m" tag="dv lv myanmar sc:Mymr sh_vowel">
      <var cp="1033" type="blocked" />
    </char>
    <char cp="102F" when="follows-c-m" tag="dv sc:Mymr sh_vowel sv" />
    <char cp="102F 1032" when="follows-c-m" comment="S_Pao;   Dependent Vowel Sequence for Pa’O Language. This must follow c_pao or m_pao (See 3.3.3.5)" />
    <char cp="102F 1036" when="follows-c-m" comment="S13; long vowel sequence, For WLE Rule #10, #11" />
    <char cp="1030" when="follows-c-m" tag="dv lv sc:Mymr sh_vowel" />
    <char cp="1031" when="follows-c-m" tag="dv lv sc:Mymr sh_vowel">
      <var cp="0B47" type="blocked" />
    </char>
    <char cp="1031 102B" when="follows-c-m" comment="S14; long vowel sequence, For WLE Rule #7, #11" />
    <char cp="1031 102B 1037 103A" comment="S21; S14 + S16" />
    <char cp="1031 102B 103A" when="follows-c-m" comment="S19; Long vowel sequence" />
    <char cp="1031 102C" when="follows-c-m" comment="S15; long vowel sequence, For WLE Rule #7, #11" />
    <char cp="1031 102C 1037 103A" comment="S22; S15 + S16" />
    <char cp="1031 102C 103A" when="follows-c-m" comment="S15 + S16" />
    <char cp="1031 1083" when="follows-c-m" comment="S_Sh1; Dependent Vowel Sequence for Shan Language.(See 3.3.3.2 of [Proposal-Myanmar])" />
    <char cp="1031 1083 103A" when="follows-c-m" comment="S_Sh2; Dependent Vowel Sequence for Shan Language.(See 3.3.3.2 of [Proposal-Myanmar])" />
    <char cp="1032" when="follows-c-m" tag="dv lv sc:Mymr" />
    <char cp="1033" when="follows-c-m" tag="dv sc:Mymr shan">
      <var cp="102E" type="blocked" />
    </char>
    <char cp="1034" when="follows-c-m" tag="dv sc:Mymr" />
    <char cp="1035" when="follows-c-m" tag="ov sc:Mymr" />
    <char cp="1035 102F" when="follows-c-m" comment="S_Mon3; Dependent Vowel Sequence for Mon Language.(See 3.3.3.4 of [Proposal-Myanmar])" />
    <char cp="1036" when="follows-c-m" tag="anusvara dv lv sc:Mymr" />
    <char cp="1037" when="follows-c-lv-S12-S13-S14-S15" tag="dv sc:Mymr t_short" />
    <char cp="1037 103A" when="follows-cc2-mc2-dvc2-ovc2" comment="S16; Short Vowel sequence, , For WLE Rule #7" />
    <char cp="1037 AA7B" when="follows-beforeST4-set" comment="ST4; This is used as Tone Sequence in Pa’O Karen language. (See 3.3.5.5)" />
    <char cp="1038" when="follows-c-m-lv-S12-S13" tag="dv sc:Mymr t_long" />
    <char cp="1039" when="between-c" tag="sc:Mymr virama" />
    <char cp="103A" when="follows-cc-mc-dvc-ovc" tag="k sc:Mymr" />
    <char cp="103A 1038" when="follows-cc3-mc3-dvc3-ovc3" comment="S17; Long tone sequence, For WLE Rule #5" />
    <char cp="103B" when="follows-c" tag="m sc:Mymr" />
    <char cp="103C" when="follows-c" tag="m sc:Mymr" />
    <char cp="103D" when="follows-c" tag="m sc:Mymr" />
    <char cp="103E" when="follows-c" tag="m sc:Mymr" />
    <char cp="103F" when="follows-c-m-dv-1023-1025" tag="c c1 sc:Mymr" />
    <char cp="105A" not-when="between-v" tag="c sc:Mymr">
      <var cp="1004" type="blocked" />
    </char>
    <char cp="105A 103A 1039" when="follows-c-m-dv-and-followed-by-c" comment="S_Mon4; Mon Kinzi (See 3.3.5.4)" />
    <char cp="105B" not-when="between-v" tag="c sc:Mymr">
      <var cp="1008" type="blocked" />
    </char>
    <char cp="105C" not-when="between-v" tag="c sc:Mymr" />
    <char cp="105D" not-when="between-v" tag="c sc:Mymr" />
    <char cp="105E" when="follows-c" tag="m sc:Mymr" />
    <char cp="105F" when="follows-c" tag="m sc:Mymr" />
    <char cp="1060" when="follows-c" tag="m sc:Mymr" />
    <char cp="1061" not-when="between-v" tag="c sc:Mymr">
      <var cp="101B 103E" type="blocked" />
    </char>
    <char cp="1062" when="follows-c-m" tag="dv ov sc:Mymr" />
    <char cp="1062 103A" when="follows-c-m-dv" comment="ST1; This is used as Tone Sequence in Sgaw Karen language" />
    <char cp="1062 1086" when="follows-c-m" comment=" S_Sh4; Dependent Vowel Sequence for Shan Language. (See 3.3.3.2 of [Proposal-Myanmar])" />
    <char cp="1063 103A" when="follows-c-m-dv" comment="ST3; This is used as Tone Sequence in Sgaw Karen language. (See 3.3.5.3 of [Proposal-Myanmar])" />
    <char cp="1064" when="follows-c-m-dv" tag="sc:Mymr sgaw_tone" />
    <char cp="1075" not-when="between-v" tag="c c3 sc:Mymr shan">
      <var cp="1000" type="blocked" />
    </char>
    <char cp="1076" not-when="between-v" tag="c sc:Mymr shan">
      <var cp="1001" type="blocked" />
    </char>
    <char cp="1077" not-when="between-v" tag="c sc:Mymr shan">
      <var cp="0D31" type="blocked" />
      <var cp="1002" type="blocked" />
      <var cp="10D8" type="blocked" />
    </char>
    <char cp="1078" not-when="between-v" tag="c sc:Mymr shan">
      <var cp="1005" type="blocked" />
    </char>
    <char cp="1079" not-when="between-v" tag="c sc:Mymr shan">
      <var cp="1007" type="blocked" />
    </char>
    <char cp="107A" not-when="between-v" tag="c c3 sc:Mymr shan">
      <var cp="100A" type="blocked" />
    </char>
    <char cp="107B" not-when="between-v" tag="c sc:Mymr" />
    <char cp="107C" not-when="between-v" tag="c c3 sc:Mymr shan">
      <var cp="100F" type="blocked" />
      <var cp="1014" type="blocked" />
    </char>
    <char cp="107D" not-when="between-v" tag="c sc:Mymr shan">
      <var cp="1016" type="blocked" />
    </char>
    <char cp="107D 103E" comment="SV7; See Section 6.1 of [Proposal-Myanmar]">
      <var cp="107E" type="blocked" />
    </char>
    <char cp="107E" not-when="between-v" tag="c sc:Mymr">
      <var cp="107D 103E" type="blocked" />
    </char>
    <char cp="107F" not-when="between-v" tag="c sc:Mymr shan">
      <var cp="1017" type="blocked" />
    </char>
    <char cp="1080" not-when="between-v" tag="c sc:Mymr" />
    <char cp="1081" not-when="between-v" tag="c sc:Mymr" />
    <char cp="1082" when="follows-c" tag="m sc:Mymr" />
    <char cp="1082 103A" when="follows-c-m" comment="S_Sh5; Dependent Vowel Sequence for Shan Language. (See 3.3.3.2 of [Proposal-Myanmar])" />
    <char cp="1083" when="follows-c-m" tag="dv sc:Mymr sh_vowel shan">
      <var cp="102B" type="blocked" />
      <var cp="102C" type="blocked" />
    </char>
    <char cp="1084" when="follows-c-m" tag="dv sc:Mymr sh_vowel" />
    <char cp="1085" when="follows-c-m" tag="ov sc:Mymr" />
    <char cp="1086" when="follows-c-m" tag="dv sc:Mymr sh_vowel" />
    <char cp="1087" when="follows-beforeShanTone-set" tag="sc:Mymr sh_tone" />
    <char cp="1088" when="follows-beforeShanTone-set" tag="sc:Mymr sh_tone" />
    <char cp="1089" when="follows-beforeShanTone-set" tag="sc:Mymr sh_tone" />
    <char cp="108A" when="follows-beforeShanTone-set" tag="sc:Mymr sh_tone" />
    <char cp="108F" when="follows-beforePaoTone-set" tag="pao_tone sc:Mymr" />
    <char cp="10D7" tag="sc:Geor" comment="Not part of repertoire">
      <var cp="1010" type="blocked" />
      <var cp="10D7" type="out-of-repertoire-var" comment="Out-of-repertoire" />
    </char>
    <char cp="10D8" tag="sc:Geor" comment="Not part of repertoire">
      <var cp="0D31" type="blocked" />
      <var cp="1002" type="blocked" />
      <var cp="1077" type="blocked" />
      <var cp="10D8" type="out-of-repertoire-var" comment="Out-of-repertoire" />
    </char>
    <char cp="AA7B" when="follows-beforePaoTone-set" tag="pao_tone sc:Mymr" />
  </data>
  <!--Rules section goes here-->
  <rules>
    <!--Character class definitions go here-->
    <class name="c" from-tag="c" comment="Any Myanmar consonant" />
    <class name="m" from-tag="m" comment="Any Myanmar medial" />
    <class name="dv" from-tag="dv" comment="Any Myanmar dependent vowel" />
    <class name="ov" from-tag="ov" comment="Any Myanmar Other Vowel Sign" />
    <class name="c1" from-tag="c1" comment="The Myanmar Great Saa" />
    <class name="c2" from-tag="c2" comment="U+1004(င), U+1009(ဉ), U+100A(ည), U+100F(ဏ), U+1014(န), U+1019(မ), U+101A(ယ)" />
    <class name="c3" from-tag="c3" comment="U+1004(င), U+1009(ဉ), U+100A(ည), U+100F(ဏ), U+1014(န), U+1019(မ), U+101D(ဝ)" />
    <class name="lv" from-tag="lv" comment="Long Vowel: 102B, 102C, 102E, 1030, 1031, 1032, 1036" />
    <class name="sv" from-tag="sv" comment="Short Vowel: 102D, 102F" />
    <class name="sh_vowel" from-tag="sh_vowel" comment="Shan vowel" />
    <class name="k" from-tag="k" comment="The Myanmar Asat (killer)" />
    <class name="v" from-tag="virama" comment="The Myanmar Virama" />
    <!--Whole label evaluation and context rules go here-->
    <rule name="leading-combining-mark" comment="Default WLE rule matching labels with leading combining marks &#x235F;">
      <start />
      <union>
        <class property="gc:Mn" />
        <class property="gc:Mc" />
      </union>
    </rule>
    <rule name="S12" comment="Long vowel sequence, For WLE Rule #10, #11">
      <char cp="102D 102F" />
    </rule>
    <rule name="S_Pao" comment="Dependent Vowel Sequence for Pa’O Language. This must follow c_pao or m_pao (See 3.3.3.5)">
      <char cp="102F 1032" />
    </rule>
    <rule name="S13" comment="long vowel sequence, For WLE Rule #10, #11">
      <char cp="102F 1036" />
    </rule>
    <rule name="S14" comment="long vowel sequence, For WLE Rule #7, #11">
      <char cp="1031 102B" />
    </rule>
    <rule name="S15" comment="long vowel sequence, For WLE Rule #7, #11">
      <char cp="1031 102C" />
    </rule>
    <rule name="S_Sh2" comment="Dependent Vowel Sequence for Shan Language. (See 3.3.3.2 of [Proposal-Myanmar])">
      <char cp="1031 1083 103A" />
    </rule>
    <rule name="S_Sh5" comment="Dependent Vowel Sequence for Shan Language. (See 3.3.3.2 of [Proposal-Myanmar])">
      <char cp="1082 103A" />
    </rule>
    <rule name="follows-c-m" comment="Section 7, WLE 1, 2: Some sets must follow C or M. The set are DV, LV, SV, S12-S15, S18-S20, S_MON3, S_Sh1-S_Sh5, s_Pao, OV, Anusavara">
      <look-behind>
        <choice>
          <class by-ref="c" />
          <class by-ref="m" />
        </choice>
      </look-behind>
      <anchor />
    </rule>
    <rule name="follows-c" comment="Section 7, WLE 3: M follow C.">
      <look-behind>
        <class by-ref="c" />
      </look-behind>
      <anchor />
    </rule>
    <rule name="follows-c-m-dv-1023-1025" comment="Section 7, WLE 4: C1 must follow C or M or DV or 1023 or 1025">
      <look-behind>
        <choice>
          <class by-ref="c" />
          <class by-ref="m" />
          <class by-ref="dv" />
          <char cp="1023" />
          <char cp="1025" />
        </choice>
      </look-behind>
      <anchor />
    </rule>
    <rule name="follows-cc-mc-dvc-ovc" comment="Section 7, WLE 5: C+K must follow C or M or DV or OV">
      <look-behind>
        <choice>
          <rule comment="consonant-preceded-by-consonant">
            <class by-ref="c" />
            <class by-ref="c" />
          </rule>
          <rule comment="consonant-preceded-by-medial">
            <class by-ref="m" />
            <class by-ref="c" />
          </rule>
          <rule comment="consonant-preceded-by-dependent-vowel">
            <class by-ref="dv" />
            <class by-ref="c" />
          </rule>
          <rule comment="consonant-preceded-by-other-vowel-sign">
            <class by-ref="ov" />
            <class by-ref="c" />
          </rule>
        </choice>
      </look-behind>
      <anchor />
    </rule>
    <rule name="follows-cc2-mc2-dvc2-ovc2" comment="Section 7, WLE 5: C2+S16 must follow C or M or DV or OV">
      <look-behind>
        <choice>
          <rule comment="consonant2-preceded-by-consonant">
            <class by-ref="c" />
            <class by-ref="c2" />
          </rule>
          <rule comment="consonant2-preceded-by-medial">
            <class by-ref="m" />
            <class by-ref="c2" />
          </rule>
          <rule comment="consonant2-preceded-by-dv">
            <class by-ref="dv" />
            <class by-ref="c2" />
          </rule>
          <rule comment="consonant2-preceded-by-other-vowel-sign">
            <class by-ref="ov" />
            <class by-ref="c2" />
          </rule>
        </choice>
      </look-behind>
      <anchor />
    </rule>
    <rule name="follows-cc3-mc3-dvc3-ovc3" comment="Section 7, WLE 5: C3+S17 must follow C or M or DV or OV">
      <look-behind>
        <choice>
          <rule comment="consonant3-preceded-by-consonant">
            <class by-ref="c" />
            <class by-ref="c3" />
          </rule>
          <rule comment="consonant3-preceded-by-medial">
            <class by-ref="m" />
            <class by-ref="c3" />
          </rule>
          <rule comment="consonant3-preceded-by-dv">
            <class by-ref="dv" />
            <class by-ref="c3" />
          </rule>
          <rule comment="consonant3-preceded-by-other-vowel-sign">
            <class by-ref="ov" />
            <class by-ref="c3" />
          </rule>
        </choice>
      </look-behind>
      <anchor />
    </rule>
    <rule name="follows-c-m-dv-and-followed-by-c" comment="Section 7, WLE 6, 14:   must follow C or M or DV  and another C must follow S11">
      <look-behind>
        <choice>
          <class by-ref="c" />
          <class by-ref="m" />
          <class by-ref="dv" />
        </choice>
      </look-behind>
      <anchor />
      <look-ahead>
        <class by-ref="c" />
      </look-ahead>
    </rule>
    <rule name="between-c" comment="Section 7, WLE 6, 7">
      <look-behind>
        <class by-ref="c" />
      </look-behind>
      <anchor />
      <look-ahead>
        <class by-ref="c" />
      </look-ahead>
    </rule>
    <rule name="follows-c-m-lv-S12-S13" comment="Section 7, WLE 8: T_LONG must follow C or M or LV or S12 or S13">
      <look-behind>
        <choice>
          <class by-ref="c" />
          <class by-ref="m" />
          <class by-ref="lv" />
          <rule by-ref="S12" />
          <rule by-ref="S13" />
        </choice>
      </look-behind>
      <anchor />
    </rule>
    <rule name="follows-c-lv-S12-S13-S14-S15" comment="Section 7, WLE 9: T_SHORT must follow C or LV or S12 or S13 or S14 or S15 ">
      <look-behind>
        <choice>
          <class by-ref="c" />
          <class by-ref="lv" />
          <rule by-ref="S12" />
          <rule by-ref="S13" />
          <rule by-ref="S14" />
          <rule by-ref="S15" />
        </choice>
      </look-behind>
      <anchor />
    </rule>
    <rule name="ck" comment="C followed by K, for WLE #7">
      <class by-ref="c" />
      <class by-ref="k" />
    </rule>
    <rule name="follows-beforeShanTone-set" comment="Section 7, WLE 10: Sh_Tone must follow Sh_Vowel or (C+K) or S_Sh2 or S_Sh5">
      <look-behind>
        <choice>
          <class by-ref="sh_vowel" />
          <rule by-ref="ck" />
          <rule by-ref="S_Sh2" />
          <rule by-ref="S_Sh5" />
        </choice>
      </look-behind>
      <anchor />
    </rule>
    <rule name="follows-beforePaoTone-set" comment="Section 7, WLE 11: Pao_Tone must follow DV or K or S12, S13, S14, S15, S_Pao">
      <look-behind>
        <choice>
          <class by-ref="dv" />
          <class by-ref="k" />
          <rule by-ref="S12" />
          <rule by-ref="S13" />
          <rule by-ref="S14" />
          <rule by-ref="S15" />
          <rule by-ref="S_Pao" />
        </choice>
      </look-behind>
      <anchor />
    </rule>
    <rule name="follows-beforeST4-set" comment="Section 7, WLE 12: ST4 must follow U+1031, U+1032, S12, S14, S15">
      <look-behind>
        <choice>
          <char cp="1031" />
          <char cp="1032" />
          <rule by-ref="S12" />
          <rule by-ref="S14" />
          <rule by-ref="S15" />
        </choice>
      </look-behind>
      <anchor />
    </rule>
    <rule name="follows-c-m-dv" comment="Section 7, WLE 13: ST1, ST2, ST3 or Sgaw_Tone must follow C or M or DV">
      <look-behind>
        <choice>
          <class by-ref="c" />
          <class by-ref="m" />
          <class by-ref="dv" />
        </choice>
      </look-behind>
      <anchor />
    </rule>
    <rule name="between-v" comment="Section7, WLE15 to prevent C-V-C-V">
      <look-behind>
        <class by-ref="v" />
      </look-behind>
      <anchor />
      <look-ahead>
        <class by-ref="v" />
      </look-ahead>
    </rule>
    <!--Action elements go here - order defines precedence-->
    <action disp="invalid" match="leading-combining-mark" comment="labels with leading combining marks are invalid &#x235F;" />
    <action disp="invalid" any-variant="out-of-repertoire-var" comment="any variant label with a code point out of repertoire is invalid &#x235F;" />
    <action disp="blocked" any-variant="blocked" comment="any variant label containing blocked variants is blocked &#x235F;" />
    <action disp="allocatable" all-variants="allocatable" comment="variant labels with all variants allocatable are allocatable &#x235F;" />
    <action disp="valid" comment="catch all (default action) &#x235F;" />
  </rules>
</lgr>