@@ -93,45 +93,6 @@ <h2>Testing</h2>
9393 Implementations that do not weight surrogate code points the same way as reserved code points
9494 may filter out such lines lines in the test cases, before testing for conformance.</ p >
9595
96- < h2 > Migration</ h2 >
97- < h3 > Tie-breaker</ h3 >
98- < p > Beginning with UCA 6.2,
99- the test data strings are compared with strength = identical,
100- using UCA S3.10 as a tie-breaker, which compares the NFD forms of the strings in code point order.
101- Before UCA 6.2, the test files did not use strength = identical,
102- and instead used as a tie-breaker the comparison of the unnormalized strings.< br >
103- Therefore, implementations which use the UCA test files to test
104- multiple versions of UCA need to use different tie-breaker comparisons
105- depending on the UCA version.</ p >
106-
107- < h3 > Discontiguous contractions</ h3 >
108- < p > Test data files for UCA 6.1 and earlier versions were generated with code that
109- had a bug in the contraction matching.
110- In that code, matches for certain contractions of Tibetan characters were found
111- despite intervening combining marks,
112- so that some test cases were not in proper order according to the UCA and the DUCET.
113- UCA 6.2 test files omitted the relevant test cases.
114- For UCA 6.3, the test data generation code was fixed and those test cases were restored.</ p >
115-
116- < p > For example, in the defective test data generation code,
117- the strings 0FB2 0F80 0F71 0334 and 0F77 0334 compared equal.
118- (U+0F77 is the TIBETAN VOWEL SIGN VOCALIC RR.)
119- However, UCA processing with the DUCET will not find the contraction 0FB2 0F71 0F80:</ p >
120- < ul >
121- < li > UCA Step 1 normalizes 0FB2 0F80 0F71 0334 to 0FB2 0334 0F71 0F80.</ li >
122- < li > Step 2.1 only finds a match for S=0FB2.</ li >
123- < li > S2.1.1 loops over each of the following three characters C,
124- but there is no table entry for any of those three S+C.
125- In particular, there is no DUCET mapping for 0FB2+0F71
126- (see < i > < a href ="https://www.unicode.org/reports/tr10/TR10_REV.html#Well_Formed_DUCET "> Tibetan and
127- Well-Formedness of DUCET</ a > </ i > ).</ li >
128- < li > The loop exits without finding any match beyond S=0FB2.</ li >
129- </ ul >
130-
131- < p > See “Also note that the Algorithm employs two distinct contraction matching methods:”
132- at the end of < i > Section 7.2,
133- < a href ="https://www.unicode.org/reports/tr10/TR10_REV.html#Step_2 "> Produce Collation Element Arrays</ a > </ i > .</ p >
134-
13596 < hr width ="50% ">
13697 < p class ="copyright "> © COPY_YEAR Unicode, Inc. All Rights Reserved.
13798 The Unicode Consortium makes no expressed or implied warranty
0 commit comments