Skip to content

Fix wrong dtd scheme reference in CLI example #17834

@romani

Description

@romani

https://checkstyle.org/cmdline.html#Generating_Checks_And_Files_Suppressions_XML

Content of suppressions.xml:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE suppressions PUBLIC
    "-//Checkstyle//DTD Checkstyle Configuration 1.2//EN"
    "https://checkstyle.org/dtds/configuration_1_3.dtd">

Should be https://checkstyle.org/dtds/suppressions_1_2.dtd
Instead of https://checkstyle.org/dtds/configuration_1_3.dtd

Generation is fixed at #17826

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions