i didnt say they werent well-formed XML files. i said that they are not well-formed text files.
POSIX is a widely-accepted standard. here are the relevant POSIX definitions:
3.397 Text File
A file that contains characters organized into zero or more lines. The lines do not contain NUL characters and none can exceed
{LINE_MAX}
bytes in length, including the <newline> character.
3.206 Line
A sequence of zero or more non-<newline> characters plus a terminating <newline> character.
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html
{the config.xml files do not meet this definition. they are <file>s containing a sequence of zero or more <line>s followed by one or more non-<newline> characters.}
however, it is much more practically important to note that many standard, popular, extremely widely-deployed tools rely on this definition
{vim, cat, and read being just a few examples}
. there are no tools that i ever heard of that require special lines NOT to end in the newline character.
As you consider this to be a bug, please specify a reference that mandates well-formed XML files need to end with a line break.