Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39778

Wrong parser interpration in XML with pattern QList<bool>

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • pmd-plugin
    • Jenkins version 2.7.3
      PMD-Plugin version 3.45

      While parsing an oclint generated xml-file PMD rises an exception on valid content. Apparently the parser interprets the error description with the string " 'QList<bool>' " not as description, but as a XML-tag instead.

      That is the parser exception:

      [PMD] Parsing of file /var/lib/jenkins/workspace/Manual-Development-oclint/src/oclint.xml failed due to an exception:
      
      org.xml.sax.SAXParseException; lineNumber: 2639; columnNumber: 3; The element type "bool" must be terminated by the matching end-tag "</bool>".
      

      And that are the corresponding lines in /var/lib/jenkins/workspace/Manual-Development-oclint/src/oclint.xml:

      <file name="../../../src /someheader.h">
      <violation begincolumn="36" endcolumn="0" beginline="179" endline="0" priority="2" rule="clang static analyzer" ruleset="cland static analyzer" >
      no matching constructor for initialization of 'QList<bool>'
      </violation>
      </file>
      

      </violation> is line 2639 in file oclint.xml.

            drulli Ulli Hafner
            kodiak hans bauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: