Re: IdnaTest.txt and RFC 5893

2017-01-05 Thread Mark Davis ☕️
Alastair, thanks for finding it and bringing it up. I think you're right that the problem is in that the test generation code doesn't properly apply the bidi criteria to *all* the labels if *any* of the labels are RTL, but instead is probably just going on a label-by-label basis. Thankfully, it

Re: IdnaTest.txt and RFC 5893

2017-01-05 Thread Alastair Houghton
On 4 Jan 2017, at 23:40, Markus Scherer wrote: > > On Wed, Jan 4, 2017 at 2:28 AM, Alastair Houghton > wrote: > RFC 5893 seems pretty clear to me, and the problem really is that the test > vectors (which come from unicode.org) seem (to me)

Re: IdnaTest.txt and RFC 5893

2017-01-04 Thread Markus Scherer
On Wed, Jan 4, 2017 at 2:28 AM, Alastair Houghton < alast...@alastairs-place.net> wrote: > RFC 5893 seems pretty clear to me, and the problem really is that the test > vectors (which come from unicode.org) seem (to me) to be incorrect. https://tools.ietf.org/html/rfc5893#section-2 says "*The

Re: IdnaTest.txt and RFC 5893

2017-01-04 Thread Alastair Houghton
On 4 Jan 2017, at 08:12, Martin J. Dürst wrote: > > Hello Alastair, > > On 2016/12/06 20:51, Alastair Houghton wrote: >> Hi all, >> >> I must be missing something; in IdnaTest.txt, in the BIDI TESTS section, >> there are examples like (line 74) > > Can you tell us

Re: IdnaTest.txt and RFC 5893

2017-01-04 Thread Martin J. Dürst
Hello Alastair, On 2016/12/06 20:51, Alastair Houghton wrote: Hi all, I must be missing something; in IdnaTest.txt, in the BIDI TESTS section, there are examples like (line 74) Can you tell us where you got IdnaTest.txt from? B;0à.\u05D0; ; xn--0-sfa.xn--4db #

IdnaTest.txt and RFC 5893

2016-12-06 Thread Alastair Houghton
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