Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.16
-
None
-
Windows, Maven 3.3.3
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">