Re: strange problem with string-replace
> David Carlisle's code (shame on him!) recurses infinitely if > the value of "from" is an empty string. I think infinite recursion is probably the provably correct response to a request to replace every null substring in a string by something else. I must have had (mustn't I?) a formal specification of the pre and post conditions of the function when I wrote it, but I seem to have mislaid them somewhere.... Hurt of Oxford XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format