[xml] Re: maybe_offtopic: help with using exslt functions



On Thu, 22 Sep 2005 17:42:19 +0200, Stefan Kost wrote:

hi,

I try to use some nonstandartized exslt functions (see
http://www.exslt.org/str/index.html -> str.zip)

When running the attached samples I get
$ xsltproc devhelp.xsl devhelp.xml
xmlXPathCompOpEval: function split not found
XPath error : Unregistered function
xmlXPathCompiledEval: 1 object left on the stack
<?xml version="1.0"?>
<test xmlns="http://www.devhelp.net/book"/>

when rerunning it with -v I et a long log (see attached xsltproc.log).
It seems to load the function definitions, 


What makes you think so? From the log you posted:
| Registering extension prefix str : http://exslt.org/Strings
| LIBXSLT_PLUGINS_PATH is (null)
| Attempting to load plugin:
| /home/ensonic/lib/libxslt/1.1/exslt_org_Strings.so for
| URIhttp://exslt.org/Strin
| xmlCheckFilename failed for plugin:
| /home/ensonic/lib/libxslt/1.1/exs_org_Strings.so
| xsltPrecomputeStylesheet: removing ignorable blank node ltgs: 


Doesn't look like a successful load to me. Does the library exist
at 'home/ensonic/lib/libxslt/1.1/exs_org_Strings.so'?

but then seems to have
difficultied to call them from the xsl file. It looks like its trying to
load them from shared-object a multiple times.
Any insights whats going on here?

Dynamic loading attempts to load the library every time it the function
gets called. And fails ...

 HTH Ralf Mattes

Stefan








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]