> Why do you need the second deep-equal? (the one that reverses $x) It's a fix for test case "fn-distinct-values-mixed-args-011" from "fn-distinct-values":
[...] fn:distinct-values((xs:decimal('1.2'), '1.2')) [...] <assert-permutation>"1.2", 1.2</assert-permutation> [...] The proposed fix thus covers all existing usage of 'assert-permutation', not all possible cases that may exist. -- https://code.launchpad.net/~zorba-coders/zorba/fix_bug_1123843/+merge/149344 Your team Zorba Coders is subscribed to branch lp:zorba. -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp