[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: () eq () vs () = ()
On 30/09/2011 10:43, Andrew Welch wrote:
I've recently found out (over on the saxon list) that: To add a little footnote, a couple of weeks ago I had a user who had written test="contains(a,b) = false" and in 1.0 this produced the same result as if he had written test="contains(a,b) = false()" because in 1.0, when you compare a node-set to a boolean you convert the node-set to a boolean and compare the two booleans, and the node-set false will usually convert to the boolean false(). But in 2.0 his code stopped working because the rules for comparing a node-set to a boolean changed, the WG imagining very few users would do this intentionally... Michael Kay Saxonica
|
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
|