-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling xpath results #36
Comments
BackgroundFrom the XPath 1.0 W3C Recommendation:
From the XPath 3.1 W3C Recommendation:
Sequences were introduced in XPath 2.0. It’s useful—or at least, interesting—to establish the relevant XPath version in this context. I am using Elastic Stack with Logstash 5.2.1. On the system where Elastic Stack is installed, entering the following Unix command:
returns: /opt/logstash/vendor/bundle/jruby/1.9/gems/nokogiri-1.7.0.1-java/lib/nokogiri/xml/xpath The corresponding version-specific Nokogiri web page contains a list of features that includes:
Further reading appears to confirm that the With that in mind—specifically, this:
It’s interesting (to me 🙂 ) that the Logstash My two centsIdeally, Logstash should honor the spec (the XPath 1.0 W3C Recommendation), and return the corresponding (Ruby) data types. I write “ideally” because, in the context of XPath 1.0 and an expression that yields a node-set, this would mean changing the existing behavior of the Logstash |
The text was updated successfully, but these errors were encountered: