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

*** shadow/3313 Tue Aug 28 11:30:25 2001
--- shadow/3313.tmp.12157       Tue Aug 28 11:30:25 2001
***************
*** 0 ****
--- 1,77 ----
+ +============================================================================+
+ | xsltc fails conf test axes82 select="//*"                                  |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3313                        Product: XalanJ2                 |
+ |       Status: NEW                         Version: 2.0.0                   |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Major                    OS/Version: All                     |
+ |     Priority: Other                     Component: org.apache.xalan.xsltc  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                     |
+ |  Reported By: [EMAIL PROTECTED]                                          |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ This test used to work, but must have been broken for the fix to axes83. 
+ The key to the test is the select="//*" expression. This should 
+ select all the element nodes in the tree. XSLTC selects only the nodes that come 
+ before the <center> node.
+ 
+ Expected Output
+ ---------------
+ <?xml version="1.0" encoding="UTF-8"?>
+ <out> far-north north-north-west1 north-north-west2 north near-north far-west
+ west near-west center near-south-west near-south south far-south near-south-east
+ near-east east far-east north-north-east1 north-north-east2</out>
+ 
+ Obtained Ouput
+ --------------
+ <?xml version="1.0" encoding="utf-8" ?>
+ <out> far-north north-north-west1 north-north-west2 north north-north-east1
+ north-north-east2 near-north far-west west near-west center near-east east
+ far-east near-south-west near-south near-south-east south far-south</out>
+ 
+ XSL
+ ---
+ <xsl:template match="/">
+   <out>
+     <xsl:for-each select="//center">
+       <xsl:apply-templates select="//*"/>
+     </xsl:for-each>
+   </out>
+ </xsl:template>
+ 
+ <xsl:template match="*">
+   <xsl:text> </xsl:text><xsl:value-of select="name(.)"/>
+ </xsl:template>
+ 
+ XML
+ ===
+ <?xml version="1.0"?>
+ <far-north>
+   <north-north-west1/>
+   <north-north-west2/>
+   <north>
+     <near-north>
+       <far-west/>
+       <west/>
+       <near-west/>
+       <center center-attr-1="c1" center-attr-2="c2" center-attr-3="c3">
+         <near-south-west/>
+         <near-south>
+           <south>
+             <far-south/>
+           </south>
+         </near-south>
+         <near-south-east/>
+       </center>
+       <near-east/>
+       <east/>
+       <far-east/>
+     </near-north>
+   </north>
+   <north-north-east1/>
+   <north-north-east2/>
+ </far-north>

Reply via email to