editorconfig-maven-plugin
editorconfig-maven-plugin copied to clipboard
standalone XML files
The plugin complains about the embedded DTD end tag:
line XX:XX extraneous input '\n]>\n\n' expecting {COMMENT, SEA_WS, '<', PI}
example of the XML file:
<?xml version="1.0" standalone="yes" ?>
<!--open the DOCTYPE declaration -
the open square bracket indicates an internal DTD-->
<!DOCTYPE foo [
<!--define the internal DTD-->
<!ELEMENT foo (#PCDATA)>
<!--close the DOCTYPE declaration-->
]>
<foo>Hello World.</foo>