<lgr xmlns="urn:ietf:params:xml:ns:lgr-1.0">
  <meta>
    <version comment="IDN Reference table for Latvian language">3.0</version>
    <date>2019-01-01</date>
    <unicode-version>6.3.0</unicode-version>
    <language>lv</language>
	<description type="text/plain">
	<![CDATA[
	
	#Table format and IDNA 2008
	Language table is in RFC 7940 format
	Language is IDNA 2008 valid
	
	#Base Context Rule
	Base context rule disallows use of hyphen (U+002D) at the beginning, end or
	consecutively at the 3rd and 4th position in a label

	#Contact Info
	Contact Name: GoDaddy Registry IDN Support
	Contact Email: registry-help@registry.godaddy
	Contact: +1 (480) 651-9999
	]]>
	</description>
  </meta>
  <data>
     <char cp="002D" tag="hyphen" not-when="hyphen-rules"/>
     <char cp="0030"/>
     <char cp="0031"/>
     <char cp="0032"/>
     <char cp="0033"/>
     <char cp="0034"/>
     <char cp="0035"/>
     <char cp="0036"/>
     <char cp="0037"/>
     <char cp="0038"/>
     <char cp="0039"/>
     <char cp="0061"/>
     <char cp="0062"/>
     <char cp="0063"/>
     <char cp="0064"/>
     <char cp="0065"/>
     <char cp="0066"/>
     <char cp="0067"/>
     <char cp="0068"/>
     <char cp="0069"/>
     <char cp="006A"/>
     <char cp="006B"/>
     <char cp="006C"/>
     <char cp="006D"/>
     <char cp="006E"/>
     <char cp="006F"/>
     <char cp="0070"/>
     <char cp="0071"/>
     <char cp="0072"/>
     <char cp="0073"/>
     <char cp="0074"/>
     <char cp="0075"/>
     <char cp="0076"/>
     <char cp="0077"/>
     <char cp="0078"/>
     <char cp="0079"/>
     <char cp="007A"/>
     <char cp="0101"/>
     <char cp="010D"/>
     <char cp="0113"/>
     <char cp="0123"/>
     <char cp="012B"/>
     <char cp="0137"/>
     <char cp="013C"/>
     <char cp="0146"/>
     <char cp="014D"/>
     <char cp="0157"/>
     <char cp="0161"/>
     <char cp="016B"/>
     <char cp="017E"/>
    </data>
	<rules>
	<rule name="hyphen-rules">
      <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">
          <look-behind>
            <start/>
            <any/>
            <any/>
            <char cp="002D" comment="hyphen-minus"/>
          </look-behind>
          <anchor/>
        </rule>
      </choice>
	</rule>   
	</rules>
</lgr>