|
Your comment on "The result shows that it considers the two node sets to be "equal"" for the XSLT 1.0 node set case doesn't make sense to me.
As XSLT is a declaritive language, the following statement:
b/d = c/d
Is really asking, does there exist elements in the collections 'b' and 'c' such that the constraint b/d = c/d is satisified.
If I wanted to ensure that the node sets were actually equal, I would expect to have to do a member by member comparision, which is what the deep-equal operator simplifies.
The article makes it sound like XSLT is doing the "wrong" thing, when it is just slightly different semantics from what would be expected from a procedural language.
|