GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [xml] Make XPath rules work exactly as in the XPath spec · Issue #3863 · pmd/pmd

[xml] Make XPath rules work exactly as in the XPath spec #3863

New issue
Copy link
New issue
Copy link
Closed
#3864
Closed
[xml] Make XPath rules work exactly as in the XPath spec#3863
#3864
Copy link
Assignees
oowekyala
Labels
an:enhancementAn improvement on existing features / rulesin:xpathRelating to xpath support at large, eg Jaxen / Saxon, custom functions, attribute resolution
Milestone
6.44.0

Description

@oowekyala
oowekyala
opened on Mar 18, 2022
Issue body actions

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

Activity

  1. oowekyala
    added
    in:xpathRelating to xpath support at large, eg Jaxen / Saxon, custom functions, attribute resolution
    an:enhancementAn improvement on existing features / rules
    on Mar 18, 2022
  2. oowekyala
    self-assigned this
    on Mar 19, 2022
  3. oowekyala
    added this to the 6.44.0 milestone on Mar 19, 2022
  4. oowekyala
    linked a pull request that will close this issue[xml] Add new XPath rule for xml #3864on Mar 19, 2022
  5. adangel
    added a commit that references this issue on Mar 25, 2022

    [doc] Update release notes (pmd#2766, pmd#3863, pmd#3864)

    cdf19cf
  6. adangel
    closed this as completedin #3864on Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @oowekyala
    oowekyala

Labels

an:enhancementAn improvement on existing features / rulesin:xpathRelating to xpath support at large, eg Jaxen / Saxon, custom functions, attribute resolution

Type

No type

Projects

No projects

    Milestone

    • 6.44.0

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.