view test/javax/xml/jaxp/parsers/8032909/a_windows1252.xsl @ 6978:7c9b9314e0ef

8032909: XSLT string-length returns incorrect length when string includes complementary chars Reviewed-by: joehw, dfuchs
author aefimov
date Mon, 24 Mar 2014 19:34:55 +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>