Re: RFR: 8032909: XSLT string-length returns incorrect length when string includes complementary chars

2014-02-21 Thread Daniel Fuchs
On 2/20/14 7:44 PM, huizhe wang wrote: Hi Aleksej, The change looks good. It's good to consolidate test cases into a single test for each encoding. Looks good! -- daniel Thanks, Joe On 2/20/2014 6:54 AM, Aleksej Efimov wrote: Hi, There is a problem in XSLT string-length function: When

RFR: 8032909: XSLT string-length returns incorrect length when string includes complementary chars

2014-02-20 Thread Aleksej Efimov
Hi, There is a problem in XSLT string-length function: When string passed to this function contains complementary chars the current implementation of XPath treates this sequence as two characters (the string-length returns 2). But according to the w3 spec it should be treated as a single

Re: RFR: 8032909: XSLT string-length returns incorrect length when string includes complementary chars

2014-02-20 Thread huizhe wang
Hi Aleksej, The change looks good. It's good to consolidate test cases into a single test for each encoding. Thanks, Joe On 2/20/2014 6:54 AM, Aleksej Efimov wrote: Hi, There is a problem in XSLT string-length function: When string passed to this function contains complementary chars the