IdnaTest.txt and RFC 5893

From: Alastair Houghton <alastair_at_alastairs-place.net>
Date: Tue, 6 Dec 2016 11:51:55 +0000

Hi all,

I must be missing something; in IdnaTest.txt, in the BIDI TESTS section, there are examples like (line 74)

  B; 0à.\u05D0; ; xn--0-sfa.xn--4db # 0à.א

which the file alleges are valid, but I cannot for the life of me see why. First, “0à.א” is clearly a “Bidi domain name” since it has at least one RTL label, “א”. As such, the Bidi Rule (RFC 5893 section 2) should be applied to its labels, and the label “0à” fails [B1], since the first character has Bidi property EN, not L, R or AL.

Similarly (line 93)

  B; àˇ.\u05D0; ; xn--0ca88g.xn--4db # àˇ.א

Again, “àˇ.א” is clearly a “Bidi domain name”, but “àˇ” fails [B6], because “ˇ” has Bidi property ON, not L, EN or NSM.

Have I misunderstood something fundamental here? Could someone explain why those examples are valid, in spite of RFC 5893?

Kind regards,

Alastair.

--
http://alastairs-place.net
Received on Tue Dec 06 2016 - 10:01:20 CST

This archive was generated by hypermail 2.2.0 : Tue Dec 06 2016 - 10:01:21 CST