xpath icon indicating copy to clipboard operation
xpath copied to clipboard

XPath package for Golang, supports HTML, XML, JSON document query.

Results 23 xpath issues
Sort by recently updated
recently updated
newest added

after upgrade xpath v1.2.5 => v1.3.0 ( not change anything else) our app memory keep increasing until OOM and CPU keeps 100% I found a new loop was added in...

ХPath expression with non-latin letters throws an error: ```go f := strings.NewReader(` 1 2 `) doc, err := xmlquery.Parse(f) if err != nil { log.Fatal(err) return } expr, err :=...

The expression `number(//non-existent-node)` should evaluate to `NaN` but it currently evaluates to `0`: I verified this by adding the following two tests which should pass, but they fail: ```go test_xpath_eval(t,...

bug