Norm, this should be fixed with the checkin I just did.  Please give it a
try.

I don't want to put *any* barrier for especially you reporting more bugs,
as I am *extremelly* gratefull to be getting these.  But it would help
somewhat if you could post any subsequent bugs to Bugzilla
(http://nagoya.apache.org/bugzilla/), as it helps us track, QE verify, and
build regression tests.

-scott




                                                                                       
                            
                    Norman Walsh                                                       
                            
                    <[EMAIL PROTECTED]        To:     "[EMAIL PROTECTED] was heard to 
say":                          
                    om>                  cc:     [EMAIL PROTECTED], (bcc: Scott 
Boag/CAM/Lotus)             
                                         Subject:     Odd variable reference 
problem...                            
                    06/20/2001                                                         
                            
                    01:36 PM                                                           
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    xalan-dev                                                          
                            
                                                                                       
                            
                                                                                       
                            




Hi Scott,

/ [EMAIL PROTECTED] was heard to say:
| Your stylesheet ran without reporting an error, which may not be the same
| thing as running correctly.

Further testing reveals that there's definitely something odd going
on.  Attached is a small test case (it's self contained, you don't
need the rest of the DocBook stylesheets to demonstrate the bug). When
run against a build I made from CVS after your earlier message, I get:

$ xalan -IN test.xsl -XSL test.xsl -PARAM use.extensions 1
file:/home/ndw/z/test.xsl; Line 31; Column -1; key: TableofContents
file:/home/ndw/z/test.xsl; Line 32; Column -1; count: 1
file:/home/ndw/z/test.xsl; Line 33; Column -1; value:
file:/home/ndw/z/test.xsl; Line 34; Column -1; gentext: gentext
file:/home/ndw/z/test.xsl; Line 35; Column -1; text: Table of Contents

If you look at the test, you'll see that lines 33 and 35 should produce
exactly the same thing. For some reason, given:

  <xsl:variable name="l10n.name" select="$l10n.gentext/@text"/>

<xsl:value-of select="$l10n.name"/> and
<xsl:value-of select="$l10n.gentext/@text"/> return different
results. (Referencing the variable returns "").


                                        Be seeing you,
                                          norm

--
[EMAIL PROTECTED]   | On the other hand, you have different fingers.
XML Standards Engineer |
Technology Dev. Group  |
Sun Microsystems, Inc. |




Reply via email to