view jdk/test/javax/xml/jaxp/parsers/8032909/a_windows1252.xsl @ 23007:5751a267f03c

8032909: XSLT string-length returns incorrect length when string includes complementary chars Reviewed-by: joehw, dfuchs
author aefimov
date Fri, 21 Feb 2014 16:55:25 +0400
parents
children
line wrap: on
line source
<?xml version="1.0" encoding="windows-1252"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method="text" />

<xsl:template match="Element">
<xsl:value-of select="string-length(.)"/>
</xsl:template>
<xsl:template match="Element2">
<xsl:value-of select="string-length(.)"/>
</xsl:template>

</xsl:stylesheet>