jdk/test/javax/xml/jaxp/XPath/8015978/negativezero.xsl
author coffeys
Fri, 14 Jun 2013 15:14:56 +0400
changeset 18176 054c21148a53
permissions -rw-r--r--
8015978: Incorrect transformation of XPath expression "string(-0)" Reviewed-by: darcy, joehw Contributed-by: aleksej.efimov@oracle.com

<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
   <xsl:output method='xml' indent='yes' omit-xml-declaration='yes'/>
   <xsl:template match='/'><newtop>"<xsl:value-of select='string(-0.0)'/>"</newtop></xsl:template>
</xsl:stylesheet>