From: Michael Kay <michael.kay@nt...> - 2002-04-03 11:48:37
> Here is the offending template code:
> <xsl:if test="$params/isSession[@thisReq = 'true']
> and not($params/(m = 'plan' , action = 'login' , action
> = 'newuser'))">
> top.location = "index.html";
Sorry for the delay in responding.
$params/(m = 'plan' , action = 'login' , action = 'newuser')
is incorrect. The expression on the rhs of "/" must evaluate to a sequence
of nodes; this evaluates to a sequence of booleans. I'm not quite sure what
you thought the expression would mean, so I can't tell you how it should
have been written.
Of course Saxon should be giving you a proper error message rather than
crashing, and I will fix this in the next version.