GitHub user WulfB opened a pull request:
https://github.com/apache/tika/pull/52
Changed matching of node(), support for descendant-or-self
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/WulfB/tika trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tika/pull/52.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #52
----
commit 99f8168e6edc729224feae30f3c5a429e4d84732
Author: WulfB <[email protected]>
Date: 2015-06-22T13:10:44Z
shouldn't match attributes
node() shouldn't match attributes, see http://www.w3.org/TR/xpath/
commit dc8cd656294195eb4fd24f8bd10b837f755a8c22
Author: WulfB <[email protected]>
Date: 2015-06-22T13:11:23Z
changed / extended
"/node()" should match text and elements (and comments and processing
instructions)
"/descendant-or-self::node()" and /descendant-or-self::node()/ added
commit beba71dc31a81b6858671559bbbf9ba0fd1c9cfd
Author: WulfB <[email protected]>
Date: 2015-06-22T13:11:51Z
new tests
added: testNode, testDescendantNode, testDescendantOrSelfNode,
testDescendantOrSelfElement
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---