Re: [xslt] str:replace conformance



On Tue, Jan 27, 2009 at 11:31:08AM -0800, Ron Burk wrote:
> in studying exsltStrReplaceFunction() in libexslt/strings.c,
> it looks like somewhat of a rewrite to make it conform, if
> my understanding of the spec is correct.
>
> a) the current version returns a string; it's supposed to
>    return a nodeset.
>
> b) the current version treats the replacements as strings;
>    it's supposed to treat them as nodes.
>
> c) the current version can modify replacement text; it's
>    supposed to only modify text from the original string.
>
> d) the current version ignores the requirement to perform
>    substitutions in descending order of search string length.
>

  You're probably right, I take patches as I unfortunately don't
have time right now to fix this :-\

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


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