JDK-8032909 : XSLT string-length returns incorrect length when string includes complementary chars
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-01-28
  • Updated: 2016-08-26
  • Resolved: 2014-02-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6 JDK 7 JDK 8 JDK 9
5.0u71Fixed 6u81Fixed 7u66Fixed 8u20Fixed 9 b04Fixed
Related Reports
Relates :  
Description

string-length function in XSLT returns incorrect length for complementary
chars.
In XSLT style sheet, when an argument of string-length function is a string 
including complementary characters, those complementary characters are 
counted as 2 chars, not 1 char.
As a result string-length returns incorrect string length.