You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Da...@lotus.com on 2000/10/16 19:43:42 UTC

RE: XalanJ-1.2 Release Does not see variables defined in included stylesheet

Alex Roytman follows up on his earlier posting:
>The issue is with referencing one global variable from another global
>variable (var1 from var2 in my example).
I am not sure it is allowed by specs - it seemed natural and it worked
>in older versions (up to 1.2d2) of Xalan.
>What do you think?
...
  <xsl:variable name="var1" select="var1-value"/>
  <xsl:variable name="var2" select="concat($var1, ', var2-value')"/>
...
>ERROR:
>XSL Error: pattern = 'concat($var1, ', var2-value')'
>VariableReference given for variable out of context or without definition!
>Name = var1, source tree node: #document

The way I read Section 11.4, we have to make that work. I'll write up
a bug report in our Lotus-internal bug tracking system.
.................David Marston