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=2803

*** shadow/2803 Wed Jul 25 13:53:22 2001
--- shadow/2803.tmp.6863        Wed Jul 25 13:53:22 2001
***************
*** 0 ****
--- 1,32 ----
+ +============================================================================+
+ | xsltc fails conf test match15                                              |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2803                        Product: XalanJ2                 |
+ |       Status: NEW                         Version: 2.0.0                   |
+ |   Resolution:                            Platform: Sun                     |
+ |     Severity: Normal                   OS/Version: Solaris                 |
+ |     Priority: Other                     Component: org.apache.xalan.xsltc  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                     |
+ |  Reported By: [EMAIL PROTECTED]                                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ xsltc gets the correct element specified by 
+ 
+      <xsl:apply-templates select="doc/element1[2]/child1[last()]"/>
+ 
+ But then doesn't use the matching template shown below which has 
+ a complex expression -- resolving to 2.
+ 
+ <xsl:template match="doc/element1[(((((2*10)-4)+9) div 5) mod
+ 3)]/child1[last()]">
+   <out>
+     <xsl:value-of select = "."/>
+   </out>
+ </xsl:template>
+ 
+ If xsltc had matched the template correctly, the <out> </out> lre would be in
+ the output, but it isn't.

Reply via email to