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

antchfx / xpath / 39701441602
85%
master: 87%

Build:
Build:
LAST BUILD BRANCH: following-axis-position
DEFAULT BRANCH: master
Ran 22 Oct 2026 12:44AM UTC
Jobs 1
Files 8
Run time 1min
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

22 Oct 2026 12:42AM UTC coverage: 85.362% (+0.02%) from 85.338%
39701441602

Pull #168

github

LuisFigueroaG
Default number() to the context node and require boolean()'s argument

number() and boolean() with no argument compiled fine and then panicked
with a nil pointer dereference when evaluated, so `number()` on a node
and `//price[number() > 35]` panicked.

XPath 1.0 section 4.4 makes the argument of number() optional and
defaults it to a node-set containing only the context node, so convert
the string-value of the context node, as string() already does. The
argument of boolean() isn't optional, so `boolean()` is now a compile
error, like `not()`.
Pull Request #168: Default number() to the context node and require boolean()'s argument

6 of 6 new or added lines in 2 files covered. (100.0%)

2665 of 3122 relevant lines covered (85.36%)

470.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39701441602.1 22 Oct 2026 12:44AM UTC 8
85.36
GitHub Action Run
Source Files on build 39701441602
  • Tree
  • List 8
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #168
  • PR Base - master (#39542046761)
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