editorconfig-maven-plugin icon indicating copy to clipboard operation
editorconfig-maven-plugin copied to clipboard

standalone XML files

Open avdland opened this issue 3 years ago • 0 comments

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>

avdland avatar Mar 23 '22 15:03 avdland