A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/3863 below:

[xml] Make XPath rules work exactly as in the XPath spec · Issue #3863 · pmd/pmd · GitHub

I think it would be nice if XPath rules for the XML language behaved exactly as regular XPath does. This is related to this bug (#915), where the standard XPath function text() doesn't work, because our wrapper instead creates a node text with an @Image. I think this is completely wrong and XML xpath rules would be more powerful and easier to write if we used Saxon's own xpath engine on the DOM instead of our AST wrapper. I think, to fix this, we need a new rule class XmlXPathRule that invokes Saxon directly (or rather, we should rehabilitate the current one, currently deprecated).

Originally posted by @oowekyala in #3413 (comment)

Also related to #2766


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4