Uploaded image for project: 'Maven Checkstyle Plugin'
  1. Maven Checkstyle Plugin
  2. MCHECKSTYLE-304

Using inline configuration, checkstyle-checker.xml is generated using DTD v1.2

    XMLWordPrintableJSON

    Details

      Description

      Using a slightly modified version of google_checks.xml as inline configuration, checkstyle:check fails with the following XML validation error :

      unable to parse configuration stream - Element type "message" must be declared.

      Looking at the generated checkstyle-checker.xml, it still uses

      <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
              "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
      

      where it should be

      <!DOCTYPE module PUBLIC
                "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
                "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
      

        Attachments

          Activity

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              smokeshield Pierre Maréchal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: