On Wed, 29 Jan 2003, J�rg Walter wrote: > On Wednesday, 29. January 2003 09:23, Matt Sergeant wrote: > > On Tuesday, Jan 28, 2003, at 22:14 Europe/London, Kjetil Kjernsmo wrote: > > > If I have construct like: > > > <user:get-passwd> > > > <user:username><auth:get-access type="user"/></user:username> > > > </user:get-passwd> > > > I get a 500, with the following XSP in the logs: > > > [Tue Jan 28 22:43:34 2003] [error] [client 195.1.208.96] [AxKit] > > > [Backtrace] Compilation failed: syntax error at (eval 82) line 37, near > > > """ > > > do " > > > > Very odd. That shouldn't happen if the auth taglib is written right > > *cough* ;-) > > 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. -- <!-- Matt --> <:->get a SMart net</:-> Spam trap - do not mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
