Just wanted to give you an update on progress on this.
"(ancestor::section|ancestor::simplesect|
ancestor::sect1|ancestor::sect2|ancestor::sect3 |ancestor::sect4
|ancestor::sect5)[last()]" in the "section.title" template is not executing
correctly, which I think is the problem.  I think it's the grouping
operation in combination with the last() predicate that is causing the
problem.  For the node in question, the full expression will return zero
nodes, which is clearly incorrect.  If I simplify the expression down to
"(ancestor::section)[last()]" it returns two nodes (!!!), which is also
clearly incorrect.  If I simplify this further to "ancestor::section[last
()]", it returns one node, which is fine.

-scott




                                                                                       
                            
                    bugzilla@apac                                                      
                            
                    he.org               To:     [EMAIL PROTECTED]              
                            
                                         cc:     (bcc: Scott Boag/CAM/Lotus)           
                            
                    06/22/2001           Subject:     [Bug 2275]  - Xalan doesn't fire 
the right templates         
                    07:00 AM                                                           
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    xalan-dev                                                          
                            
                                                                                       
                            
                                                                                       
                            




http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2275

*** shadow/2275           Thu Jun 21 21:49:57 2001
--- shadow/2275.tmp.18846           Fri Jun 22 04:00:28 2001
***************
*** 29,31 ****
--- 29,36 ----

  ------- Additional Comments From [EMAIL PROTECTED]  2001-06-21 21:49
-------
  Norm, I'll start looking at this first thing in the morning.
+
+ ------- Additional Comments From [EMAIL PROTECTED]  2001-06-22
04:00 -------
+ FYI: I noticed last night that you get the same bug if you use test.xsl
(instead
+ of testdiff.xsl), so that makes the test case marginally simpler :-)
+




Reply via email to