Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1054 XML Rules ever report a line -1 and not the line/column where the error occurs

PMD-5.1.0
closed
None
PMD
1-Blocker
Bug
2014-02-09
2013-01-08
Torsten Kleiber
No

I have created a xml rule, which finds two occurences of the error code in a xml file.
Both error are reported on line -1.

Steps to reproduce:
1. Download the the attached file.
2. Unzip the file
3. Modify build.xml in the created directory to update the path to your pmd libs directory
4. Run build.xml
5. You should see similar output to build.output

1 Attachments

Discussion

  • Andreas Dangel
    Andreas Dangel
    2014-02-09

    • status: open --> closed
    • assigned_to: Andreas Dangel
    • Module: --> PMD
    • Milestone: PMD-5.1.x --> PMD-5.1.0
    • Priority: 1 --> 1-Blocker
    • Type: --> Bug
    • Affects version: -->