Re: [xslt] str:replace conformance
- From: Daniel Veillard <veillard redhat com>
- To: The Gnome XSLT library mailing-list <xslt gnome org>
- Subject: Re: [xslt] str:replace conformance
- Date: Thu, 17 Sep 2009 11:16:51 +0200
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 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/
] [Thread Prev