Affects PMD Version: 6.9.0
Description: bug in xslt stylesheet that truncate file path if java in file path like src/main/java/... because forward slashes are being replaced with dots followed by substring function the matches on '.java'. It would simpler to keep the slashes which fixes the problem
Code Sample demonstrating the issue:
Line 56: <H3><xsl:value-of disable-output-escaping="yes" select="substring-before(translate(@name,'/','.'),'.java')"/></H3>
Proposed solution:
Line 56: <H3><xsl:value-of disable-output-escaping="yes" select="substring-before(@name,'.java')"/></H3>
Running PMD through: https://www.freeformatter.com/xsl-transformer.html, gradle, java
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