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

antchfx / xpath
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: fix/position-predicate-step
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/string-length-context-node
branch: fix/string-length-context-node
CHANGE BRANCH
x
Reset
  • fix/string-length-context-node
  • 0.1
  • 1.1.0
  • fix-ancestor-predicate-chain
  • fix-group-predicate-last
  • fix-round-mod-numeric-spec
  • fix/clone-nil-input
  • fix/nil-input-clone
  • fix/not-number-string-argument
  • fix/position-predicate-step
  • fix/translate-const-precompute
  • master
  • matches-empty-nodeset
  • 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

10 Oct 2026 05:05PM UTC coverage: 84.737% (+0.03%) from 84.707%
38153904557

Pull #156

github

LuisFigueroaG
Default string-length() to the context node

string-length() with no argument failed to compile with "must have at
least one parameter". XPath 1.0 section 4.2 makes the argument
optional and defaults it to the string-value of the context node, so
`//title[string-length() > 10]` should work.

Use the same self::node() default as normalize-space(), and reject more
than one argument instead. The invalid-expression test now checks the
two-argument case.
Pull Request #156: Default string-length() to the context node

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

2637 of 3112 relevant lines covered (84.74%)

362.39 hits per line

Relevant lines Covered
Build:
Build:
3112 RELEVANT LINES 2637 COVERED LINES
362.39 HITS PER LINE
Source Files on fix/string-length-context-node
  • 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
38153904557 fix/string-length-context-node Default string-length() to the context node string-length() with no argument failed to compile with "must have at least one parameter". XPath 1.0 section 4.2 makes the argument optional and defaults it to the string-value of the context node, so ... Pull #156 11 Oct 2026 04:04PM UTC LuisFigueroaG github
84.74
See All Builds (197)
  • 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