You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by aj...@metreo.com on 2000/11/16 20:42:52 UTC
Xalan-J1 bug
Hi,
When we upgraded from the development version of xalan 1.2 to the
released version of Xalan 1.2, I found that my stylesheet that used to
work with the development version doesn't work anymore.
In the released version of Xalan 1.2, I get the following exception
Exception being thrown:
XSL Error: pattern = 'count(Layout/ScreenGroup[@display='lineitem']) *
$maxLines'
VariableReference given for variable out of context or without
definition! Name = maxLines, source tree node: #document
XSL Error: SAX Exception
Stylesheet snippet:
<xsl:variable name="maxLines" select="3"/>
<xsl:variable name="strOffset"
select="count(Layout/ScreenGroup[@display='lineitem']) * $maxLines"/>
This looks like a bug in Xalan 1.2.
Anchal
Re: Xalan-J1 bug
Posted by Benoit Cerrina <be...@writeme.com>.
Hi,
your right, this is a (known) bug which appeared in 1.2 it should be
corrected in 1.2.1
Benoit
----- Original Message -----
From: <aj...@metreo.com>
To: <xa...@xml.apache.org>
Sent: Thursday, November 16, 2000 8:42 PM
Subject: Xalan-J1 bug
> Hi,
>
> When we upgraded from the development version of xalan 1.2 to the
> released version of Xalan 1.2, I found that my stylesheet that used to
> work with the development version doesn't work anymore.
>
> In the released version of Xalan 1.2, I get the following exception
>
> Exception being thrown:
>
> XSL Error: pattern = 'count(Layout/ScreenGroup[@display='lineitem']) *
> $maxLines'
> VariableReference given for variable out of context or without
> definition! Name = maxLines, source tree node: #document
> XSL Error: SAX Exception
>
> Stylesheet snippet:
>
> <xsl:variable name="maxLines" select="3"/>
> <xsl:variable name="strOffset"
> select="count(Layout/ScreenGroup[@display='lineitem']) * $maxLines"/>
>
> This looks like a bug in Xalan 1.2.
>
> Anchal
>
>