+Fri Jan 12 23:24:08 PST 2007 William Brack <wbrack@mmm.com.hk>
+
+ * libxslt/extensions.c: reverted last change, fixed some
+ comments. Note that in it's current state the 'plugin'
+ implementation will fail if called from a program
+ compiled as static!
+
Fri Jan 12 15:40:08 PST 2007 William Brack <wbrack@mmm.com.hk>
* configure.in: fixed problem with DV/WMB testing env.
rc = xmlModuleSymbol(m, (const char *) regfunc_name, &vregfunc);
regfunc = vregfunc;
if (0 == rc) {
- /* call the module's init function */
+ /*
+ * Call the module's init function. Note that this function
+ * calls xsltRegisterExtModuleFull which will add the module
+ * to xsltExtensionsHash (together with it's entry points).
+ */
(*regfunc) ();
/* register this module in our hash */
style->nsDefs = ret;
/*
- * check wether there is an extension module with a stylesheet
+ * check whether there is an extension module with a stylesheet
* initialization function.
*/
#ifdef XSLT_REFACTORED
/*
- * Don't initialize modules based on specified namespaced via
+ * Don't initialize modules based on specified namespaces via
* the attribute "[xsl:]extension-element-prefixes".
*/
#else
module = xmlHashLookup(xsltExtensionsHash, URI);
if (NULL == module) {
if (!xsltExtModuleRegisterDynamic(URI)) {
- module = xmlHashLookup(xsltModuleHash, URI);
+ module = xmlHashLookup(xsltExtensionsHash, URI);
}
}
if (module != NULL) {