Created
May 3, 2014 03:37
-
-
Save itod/b99e20aa36ad3611db14 to your computer and use it in GitHub Desktop.
NSXML Path Expr containing a reverse Axis result sort order borked
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NSXML XPath bug | |
| Results of a path expression should always be sorted in document order regardless of axes used therein | |
| //c/ancestor::* | |
| <doc> | |
| <a>A | |
| <b>B | |
| <c>C</c> | |
| </b> | |
| </a> | |
| </doc> | |
| Result: | |
| B C | |
| A B C | |
| A B C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment