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

antchfx / xpath / 38608933668
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: fix/number-string-conversion
DEFAULT BRANCH: master
Ran 14 Oct 2026 05:42PM 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

14 Oct 2026 01:59PM UTC coverage: 84.005% (+0.05%) from 83.96%
38608933668

Pull #161

github

LuisFigueroaG
Reject non-XPath number strings in string to number conversion

XPath 1.0 only converts optional whitespace, an optional minus sign and
a decimal number to a number; anything else is NaN. strconv.ParseFloat
also accepted "+5", "Infinity", "inf", "NaN", hex floats and digit
underscores, and TrimSpace stripped non-XML whitespace, so number('+5')
returned 5 and '+1' = 1 was true. Exponents keep working as before.
Pull Request #161: Reject non-XPath number strings in string to number conversion

15 of 16 new or added lines in 1 file covered. (93.75%)

2647 of 3151 relevant lines covered (84.01%)

396.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
91.59
0.05% func.go
Jobs
ID Job ID Ran Files Coverage
1 38608933668.1 14 Oct 2026 05:42PM UTC 8
84.01
GitHub Action Run
Source Files on build 38608933668
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #161
  • PR Base - master (#38533049383)
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