• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

antchfx / xpath
87%
master: 86%

Build:
Build:
LAST BUILD BRANCH: fix/predicate-context-node
DEFAULT BRANCH: master
Repo Added 08 May 2017 11:19AM UTC
Files 8
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix/positional-step-document-order
branch: fix/positional-step-document-order
CHANGE BRANCH
x
Reset
  • fix/positional-step-document-order
  • 0.1
  • 1.1.0
  • feat/lang-function
  • fix-ancestor-predicate-chain
  • fix-group-predicate-last
  • fix-name-of-non-element-nodes
  • fix-round-mod-numeric-spec
  • fix/attribute-axis-from-attribute
  • fix/boolean-relational-comparison
  • fix/clone-nil-input
  • fix/contains-starts-with-args
  • fix/ends-with-node-suffix-20261029
  • fix/evaluate-nodeset-comparison-20261101
  • fix/fractional-position-predicates
  • fix/function-argument-counts-20261029
  • fix/last-following-axis
  • fix/last-on-remaining-axes
  • fix/namespace-axis-unsupported
  • fix/nil-input-clone
  • fix/not-number-string-argument
  • fix/number-boolean-args
  • fix/number-string-conversion
  • fix/position-predicate-step
  • fix/predicate-context-node
  • fix/string-length-context-node
  • fix/substring-after-empty-pattern
  • fix/translate-const-precompute
  • fix/unary-minus-number
  • fix/union-document-order
  • following-axis-position
  • master
  • matches-empty-nodeset
  • positional-predicate-after-predicate
  • preceding-axis-position
  • refs/tags/v1.3.0
  • refs/tags/v1.3.1
  • refs/tags/v1.3.2
  • refs/tags/v1.3.3
  • refs/tags/v1.3.4
  • refs/tags/v1.3.5
  • refs/tags/v1.3.6
  • refs/tags/v1.3.7
  • refs/tags/v1.3.8
  • refs/tags/v1.3.9
  • rune-correct-string-functions
  • scalar-string-args
  • substring-ind-asstring
  • v1.0.0
  • v1.1.0
  • v1.1.1
  • v1.1.10
  • v1.1.11
  • v1.1.2
  • v1.1.3
  • v1.1.4
  • v1.1.5
  • v1.1.6
  • v1.1.7
  • v1.1.8
  • v1.1.9
  • v1.2.0

05 Nov 2026 02:56AM UTC coverage: 87.246% (+0.04%) from 87.211%
41960198405

Pull #187

github

rudycelekli
Return positional step results in document order

A positional predicate on a step whose input selects more than one node,
such as //item[last()], is evaluated for each input node in turn, and the
results were returned in that order. With nested elements this is not
document order, so //item[last()] returned the outer list's item before
the inner list's, and (//item[last()])[1] selected the wrong node.

Collect the results for all input nodes and sort them in document order
when more than one input node contributed, as the union operator does.
Pull Request #187: Return positional step results in document order

25 of 25 new or added lines in 1 file covered. (100.0%)

2880 of 3301 relevant lines covered (87.25%)

619.37 hits per line

Relevant lines Covered
Build:
Build:
3301 RELEVANT LINES 2880 COVERED LINES
619.37 HITS PER LINE
Source Files on fix/positional-step-document-order
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
41960198405 fix/positional-step-document-order Return positional step results in document order A positional predicate on a step whose input selects more than one node, such as //item[last()], is evaluated for each input node in turn, and the results were returned in that order. With nested e... Pull #187 05 Nov 2026 03:13AM UTC rudycelekli github
87.25
See All Builds (254)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc