Skip to content

Instantly share code, notes, and snippets.

@itod
Created May 3, 2014 03:37
Show Gist options
  • Select an option

  • Save itod/b99e20aa36ad3611db14 to your computer and use it in GitHub Desktop.

Select an option

Save itod/b99e20aa36ad3611db14 to your computer and use it in GitHub Desktop.
NSXML Path Expr containing a reverse Axis result sort order borked
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