xpath
xpath copied to clipboard
Error: (4,2) has an invalid token
I assume that XPath 2.0 is not (fully) implemented (yet), so feel free to close this issue, as XPath 1 does not support this expression.
This program:
package main
import (
"log"
"github.com/antchfx/xpath"
)
func main() {
_, err := xpath.Compile(`(4,2)`)
if err != nil {
log.Fatal(err)
}
}
writes out (4,2) has an invalid token
.
v1.2.0
I'd expect the valid sequence (4,2)
to return no error.
I marked this as new feature, but I'm not sure I have enough time to implement it.