Re: [xslt] str:replace conformance

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.

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