During processing I found the illegal character '&' in a XML attribute.
Example:
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.16">
<compounddef id="some_compounddef" kind="file" language="lang">
<!-- ... -->
<programlisting>
<codeline lineno="1"></codeline>
</programlisting>
<location file="path/file_&_name.dox"/>
</compounddef>
</doxygen>
To be able to find the problem just an output snippet is not enough, looks like a problem with an unusual character in a file name.
With some effort I was able to reproduce the problem.
I've just pushed a proposed patch, pull request #7397
The used Version of Doxygen is 1.8.16.
Here is the example code:
issue.zip
Please don't closed the issue:
Code has been integrated in master on github (please don't close the issue as this will be done at the moment of a release).
This issue was previously marked 'fixed but not released',
which means it should be fixed in doxygen version 1.8.17.
Please verify if this is indeed the case. Reopen the
issue if you think it is not fixed and please include any additional information
that you think can be relevant (preferably in the form of a self-contained example).