PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3386 *** shadow/3386 Mon Sep 3 08:32:40 2001 --- shadow/3386.tmp.17561 Mon Sep 3 08:32:40 2001 *************** *** 0 **** --- 1,38 ---- + +============================================================================+ + | Evaluating a numeric expression within curly braces and result zero. | + +----------------------------------------------------------------------------+ + | Bug #: 3386 Product: XalanC | + | Status: NEW Version: 1.2.x | + | Resolution: Platform: PC | + | Severity: Blocker OS/Version: Windows NT/2K | + | Priority: Other Component: XalanC | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Input and output from SimpleTransform sample follows: + + ---- foo.xml begin + <?xml version="1.0"?> + <response indice="1"/> + ---- foo.xml end + + ---- foo.xsl begin + <?xml version="1.0"?> + <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> + <xsl:template match="response"> + <x y="before{@indice - 1}after"/> + </xsl:template> + </xsl:stylesheet> + ---- foo.xsl end + + ---- foo.out begin + <?xml version="1.0" encoding="UTF-8"?> + <x y="0after"/> + ---- foo.out end + + I would expect the y value as "before0after".
