On Monday 15 April 2002 18:01, Matt Sergeant wrote: > On Mon, 15 Apr 2002, Markus Jais wrote: > > <util:include-expr> > > <xsp:expr>$gmx->get_mail_index($customerno, "inbox")</xsp:expr> > > </util:include-expr> > > > > and this is the error in my apache logfile: > > > > [Mon Apr 15 16:11:23 2002] [error] [client 127.0.0.1] [AxKit] [Error] > > Empty string at /usr/lib/perl5/site_perl/5.6.1/i586-linux/XML/LibXML.pm > > line 191. > > > > unfortunately I can not make any sense of this information. > > It could be using an old LibXML API or something. AxKit::XSP::Util is > Kip's domain - I'll prod him if I see him today.
Unlikely. I'd wager that $gmx->get_mail_index is returning an empty string. Remember that empty strings are *not* valid XML documents, and that util:include-expr can only take valid documents, not just well-balanced chunks (which would be very cool, we should patch it to use that functionality in later XML::LibXMLs). Dump the output of your method call, I'm pretty sure that that's the problem you're seeing. -- _______________________________________________________________________ Robin Berjon <[EMAIL PROTECTED]> -- CTO k n o w s c a p e : // venture knowledge agency www.knowscape.com ----------------------------------------------------------------------- Computer games don't affect kids, I mean if pac man affected us as kids, we'd all sit around in a darkened room munching pills and listening to repetitive music. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
