Re: [xslt] xsltRegisterExtModule: initFunc not getting called



On Sun, Dec 15, 2002 at 04:01:40PM +1000, Hoylen Sue wrote:
> G'day,
> I call xsltRegisterExtModule, passing it the module initialization
> function (which contains calls to xsltRegisterExtFunction). But that
> module initialization function never get called (and consequently, the
> functions don't get registered and I get an "unregistered function"
> error when the XSLT script is applied).
> 
> I've read the "Writing extensions" guide, generated API docs, and had a
> quick browse through the source code, but couldn't figure out what I'm
> doing wrong.  Any help would be appreciated.  Thanks.

  unclear, I have a really hard time reading your code. 
This might be a bug in libxslt or in your code, nothing obvious,
the best is to take a debugger and step through it to see what's 
happening when running the transformation.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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