Pierre Maréchal created MCHECKSTYLE-304:
-------------------------------------------
Summary: Using inline configuration, checkstyle-checker.xml is
generated using DTD v1.2
Key: MCHECKSTYLE-304
URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-304
Project: Maven Checkstyle Plugin
Issue Type: Bug
Components: checkstyle:check, checkstyle:checkstyle
Affects Versions: 2.16
Environment: Windows, Maven 3.3.3
Reporter: Pierre Maréchal
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
{code:xml}
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
{code}
where it should be
{code:xml}
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.3//EN"
"http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)