Re: [xslt] exslt problem with function



First, sorry for this very late reply...

> for example...here is my dump from xsltproc:
> 
> ----------------------------------------------
>   ELEMENT fake
> PBM: Node has no parent
>     ELEMENT func:result

This means func:result is not processed as an extension element but
considered a literal result element.

LibXSLT has some limitations regarding declaration of extension element
namespaces, they must be declared in the xsl:stylesheet element.

I posted some mails in early summer (end of june, beginning of july)
describing the problems with suggestions on how to fix them. I've never
found time to do the fix...
If someone provide a patch, I (or Daniel) will be glad to review and commit
it.

A possible, simple, fast, way to turn around the issue would be to
automatically declare the EXSLT - Functions namespace when one
func:function element is precomputed, to simulate the "auto-declaration" in
the func:function subtree.
That's not totally satisfying as a func:result element outside a
func:function subtree would then raise an error while it shouldn't. And
apart from that, extension namespace declaration framework really need to
be reworked for other features to be functional.

Tom.




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