Re: [xslt] Support for user defined functions in xsl:key



Shaun McCance said:
> On Sat, 2003-11-29 at 14:31, Jirka Kosek wrote:
>> Hi,
>>
>> does xsltproc supports user defined functions (EXSLT's
>> <func:function
>> name="xxx">) in xsl:key? When I try this, I'm getting following
>> error:
>>
>> xmlXPathCompOpEval: function group-index not found
>> XPath error Unregistered function in i:group-index(autor)
>>
>> Using libxml 20507, libxslt 10029 and libexslt 719
>> xsltproc was compiled against libxml 20507, libxslt 10029 and
>> libexslt 719
>> libxslt 10029 was compiled against libxml 20507
>> libexslt 719 was compiled against libxml 20507
>>
>> Is there any chance that this will be supported in next versions
>> of
>> xsltproc? I need this functionality to implement internationalized
>> indexes in DocBook stylesheets.
>
> This is in bugzilla:
>
> http://bugzilla.gnome.org/show_bug.cgi?id=122483
>
> I looked into this one briefly, and I have a vague notion of why it
> happens, but I'm not sure how hard it will be to fix.  While there
> is a
> chance it will be fixed, I wouldn't count on it.  EXSLT functions
> are a
> big can of worms, and they're not a top priority.
>
> Standard disclaimer:  You should think long and hard before using
> EXSLT
> functions in your stylesheets, particularly in production-level
> code.
>
> --
> Shaun

The bug has now been fixed.  Please try again with the current CVS
source and let me know if there are any further problems.

Bill



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