Actions
Bug #1663
closedBroken surrogate pair error when using xsl:number with U+1D7CF
Start date:
2012-12-19
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
Bug reported by Abel Braaksma:
I was experimenting a bit with numbering systems and tried the following template (xslt version 2.0, nothing else):
<xsl:template match="/">
<xsl:for-each select="0 to 25">
<xsl:number value="." format=" 𝟏"/>
</xsl:for-each>
</xsl:template>
It raised the following error:
Engine name: Saxon-PE 9.4.0.3
Severity: fatal
Description: Failure writing to file:/pathtofile.html - Broken surrogate pair: first char 0xd835, second 0x30; illegal combination
Start location: 10:0
Updated by O'Neil Delpratt over 11 years ago
- Found in version set to 9.4
Bug found in the prepare method of the NumberFormatter class: Incorrect handling of surrogate pairs. Bug fixed and committed to subversion.
Updated by O'Neil Delpratt over 11 years ago
- Status changed from In Progress to Resolved
Updated by O'Neil Delpratt about 11 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in version set to 9.4.0.7
Bug closed. Fixed in Saxon maintenance release 9.4.0.7
Please register to edit this issue
Actions