On Wednesday, 29. January 2003 14:47, Matt Sergeant wrote:
> > No, it's a problem with SimpleTaglib, which is now fixed in CVS. You
> > might want to check if TaglibHelper exposes the same behaviour, I always
> > got that when I use xsp:expr-style tags inside other taglib tags. The
> > reason was, that XSP.pm assumed the outer tag was an xsp:expr, which it
> > isn't - here it is user:username. Or the other way round. Look at
> > tonights SimpleTaglib.pm commit to understand it ;-)
>
> This is covered in the XSP.pm docs - if you want to generate things that
> behave like expr's you absolutely must go through the start expr() hoops,
> otherwise XSP.pm doesn't know what you're trying to do.
And exactly this was creating the problems. $e->{Current_Element} was set to
xsp:expr after a call to $e->start_expr, which leads to other :expr type
nodes not getting the '.'. Or something like that. The fix resets
$e->{Current_Element} back to it's original value after $e->start_expr.
--
CU
Joerg
PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E 7779 CDDC 41A4 4C48 6F94
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]