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

antchfx / xpath
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: fix/not-number-string-argument
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/not-number-string-argument
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 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/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:04PM UTC coverage: 84.742% (+0.04%) from 84.707%
38070350137

Pull #155

github

LuisFigueroaG
Convert a number or string argument of not() to a boolean

not() only handled booleans and node-sets and returned false for
anything else, so `not(0)` and `not('')` were false, the same as
`not(1)` and `not('a')`.

XPath 1.0 section 4.3 converts the argument as if by boolean(), so
reuse asBool, which boolean() already goes through.
Pull Request #155: Convert a number or string argument of not() to a boolean

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

2627 of 3100 relevant lines covered (84.74%)

363.87 hits per line

Relevant lines Covered
Build:
Build:
3100 RELEVANT LINES 2627 COVERED LINES
363.87 HITS PER LINE
Source Files on master
  • 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
38070350137 fix/not-number-string-argument Convert a number or string argument of not() to a boolean not() only handled booleans and node-sets and returned false for anything else, so `not(0)` and `not('')` were false, the same as `not(1)` and `not('a')`. XPath 1.0 section 4.3 converts t... Pull #155 10 Oct 2026 05:06PM UTC LuisFigueroaG github
84.74
38029538733 master fix return empty string in `substring()` when start is `NaN` (#152) push 10 Oct 2026 06:02AM UTC zhengchun github
84.71
38029407742 master Compare every node when a boolean precedes a node-set (#151) push 10 Oct 2026 06:00AM UTC zhengchun github
84.71
38029291354 master Compare every node when a number or string precedes a node-set (#150) Fixes asymmetric comparison results between scalar-first and node-set-first expressions. Now correctly iterates all nodes per XPath 1.0 §3.4. push 10 Oct 2026 05:58AM UTC zhengchun github
84.45
38028956102 master Pre-compute `translate()` Replacer for string-literal src/dst (#149) Avoid repeated Replacer allocations during XPath evaluation to boost performance. push 10 Oct 2026 05:52AM UTC zhengchun github
83.36
37667698778 fix/translate-const-precompute build: pre-compute translate() Replacer for string-literal src/dst When the src and dst arguments to translate() are string literals, detect this at query-compile time and build the strings.Replacer once rather than on every node evaluation. The... Pull #149 07 Oct 2026 06:33PM UTC thunderkatz github
83.36
37663645272 fix/translate-const-precompute build: pre-compute translate() Replacer for string-literal src/dst When the src and dst arguments of translate() are string literals (operandNode values), the Replacer can be built once at query-compile time rather than on every evaluation call. ... Pull #149 07 Oct 2026 06:02PM UTC thunderkatz github
83.36
37638893654 master Convert number/boolean arguments in substring-before and substring-after (#148) push 07 Oct 2026 02:42PM UTC zhengchun github
83.87
37560564949 substring-ind-asstring Convert a number or boolean argument in substring-before and substring-after substringIndFunc only handled string and node-set arguments, so any other value was read as "": substring-before(12345, 3) gave "" instead of "12". Fall back to asString... Pull #148 07 Oct 2026 02:09AM UTC youdie006 github
83.87
37268586520 refs/tags/v1.3.9 Merge PR #147:Round substring positions with XPath round() function push 05 Oct 2026 05:37AM UTC zhengchun github
83.85
See All Builds (195)
  • 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