Seems like an odd error, but then LibXSLT doesn't always produce sensible seeming error messages...
In any case since a trailing slash doesn't seem like sensible XPath its not surprising it got indigestion! On Monday 11 August 2003 03:06 am, Alex Sergeyev wrote: > Hm =))) new info: > > It was my workaround against XInclude problems. In common words there was: > > <xsl:template match="xiinclude"> > <xsl:apply-templates select='document(@href)/'/> > </xsl:template> > > That's weird but when I deleted slash and did <xsl:apply-templates > select='document(@href)'/> it started to work without problems. > > Seems that it's not normal anyway to have messages like below.... > > Sincerely, > > Alex. > > > > > > > Hello, > > I upgraded AxKit from CVS and now at some files it shows: > > ------------------------------------------------------ > Use of inherited AUTOLOAD for non-method XML::LibXSLT::CODE(0x87ea45c)XPath > error Invalid expression document(@href)/ > ^ > () is deprecated at > /usr/local/lib/perl5/site_perl/5.8.0/i386-linux/XML/LibXSLT.pm line 107. > Unsuccessful stat on filename containing newline at > /usr/lib/perl5/AutoLoader.pm line 56. [Mon Aug 11 13:42:44 2003] [error] > [client 127.0.0.1] [AxKit] [Error] input match callback died: Can't locate > auto/XML/LibXSLT/CODE(0x87ea45c)XPath error Invalid expression > document(@href)/ > ^ > .al in @INC (@INC contains: /usr/lib/perl5/i386-linux /usr/lib/perl5 > /usr/local/lib/perl5/site_perl/5.8.0/i386-linux > /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/i386-linux /usr/lib/perl5/vendor_perl > /usr/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at > /usr/local/lib/perl5/site_perl/5.8.0/i386-linux/XML/LibXSLT.pm line 107 > > [Mon Aug 11 13:42:44 2003] [error] [client 127.0.0.1] [AxKit] From: > /usr/local/lib/perl5/site_perl/5.8.0/i386-linux/Apache/AxKit/Exception.pm : > 9 > > ------------------------------------------------ > > Did someone have/solve same problem? > > > Help please... > > Alex. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Giant Electronic Brain Internet/E-Commerce Consulting Services --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]