Yeah, I see it all the time in AxKit, usually if you do something like use a 'result tree fragment' as a node-set, some oddball thing like that.
The other one you see is something about 'GLOB cannot be used as...' whatever. THAT one I have gotten many times outside of AxKit in other scripts that use XML::LibXSLT. Is it possible they are really the same error just manifested different ways due to variations in the contents of memory? That could easily be if the underlying problem is in XS glue code. If it helps I'm sure we could collect examples of XSLT that produce at least one of these two errors. I do a lot of command-line scripts and CGI stuff that uses XML::LibXML and XML::LibXSLT. I'm sure I could come up with many error examples. Personally I'd just like to see the line number in the XSLT where the error was. On Monday 16 February 2004 3:35 am, Matt Sergeant wrote: > On 16 Feb 2004, at 0:13, S. Woodside wrote: > > I get this one sometimes: > > > > [Sun Feb 15 17:50:49 2004] [warn] [client 127.0.0.1] [AxKit] [LibXSLT] > > performing transformation > > [Sun Feb 15 17:50:49 2004] [warn] [client 127.0.0.1] [AxKit] Caught an > > exception > > [Sun Feb 15 17:50:49 2004] [error] [client 127.0.0.1] [AxKit] [Error] > > Can't coerce UNKNOWN to string in entersub at > > /Library/Perl/5.8.1/darwin-thread-multi-2level/Apache/AxKit/Language/ > > LibXSLT.pm line 124. > > > > Very annoying because there's no other information. What line was the > > error on? Here's the rest of the trace. > > I get that sometimes too. It's always because of a runtime error in > your XSLT. From there I debug with xsltproc. > > I have tried a couple of times to replicate outside of AxKit but > failed, so if anyone can come up with a standalone (just pure perl) > test for this it'll make it ten times easier to fix (it's a bug in > XML::LibXSLT). > > Matt. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Tod Harter Giant Electronic Brain http://www.giantelectronicbrain.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]