Re: [xslt] [xml] libxslt does not check extension function existence at creating stylesheet time
- From: Nick Wellnhofer <wellnhofer aevum de>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Cc: Libxml <xml gnome org>, ajay bhadauria <abhadauria yahoo com>
- Subject: Re: [xslt] [xml] libxslt does not check extension function existence at creating stylesheet time
- Date: Sun, 17 May 2015 14:30:17 +0200
On 14/05/2015 16:03, ajay bhadauria wrote:
Hello,
We are compiling stylesheet which has dependent xslt files through import.
These dependent xslt files have extension functions.
We noticed at stylesheet creation time , libxslt does not check on the
existence of the extension functions. However, at validation time
when we apply the stylesheet , we get the error indicating that the extension
function is not found.
We register the extension functions through xsltRegisterExtModuleFunction()
providing the correct namespace and callbacks.
Could you please help us
1. Why it does not complain extension function during stylesheet creation ?
In order to allow Forwards-Compatible Processing:
http://www.w3.org/TR/xslt#forwards
2. Why it is not finding function at validation time ?
It's hard to tell without a reproducible test case. Please show us your code
and the exact error message.
Also note that I moved this discussion to the libxslt mailing list
(xslt gnome org).
Nick
[Date Prev][Date Next] [Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]