[core] Allow XPath rules to access the current file name #3446
Labels
an:enhancement
An improvement on existing features / rules
in:xpath
Relating to xpath support at large, eg Jaxen / Saxon, custom functions, attribute resolution
Milestone
Discussed in #3444
Originally posted by rsoesemann August 6, 2021
I want to use XPath rules to check whether files name comply with certain naming rules? Is that possible in PMD?
-> not currently supported, we can add an attribute to apex root nodes in PMD 6. In PMD 7 we can add an attribute to all RootNodes
The text was updated successfully, but these errors were encountered: