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 "").
newtest.zip
Be seeing you,
norm
--
[EMAIL PROTECTED] | On the other hand, you have different fingers.
XML Standards Engineer |
Technology Dev. Group |
Sun Microsystems, Inc. |