After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 642030 - Numeric XML entities can be malformed in truncation
Numeric XML entities can be malformed in truncation
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
1.7.3
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-02-10 14:10 UTC by mejohansen
Modified: 2011-03-28 14:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mejohansen 2011-02-10 14:10:28 UTC
When truncating text which contains numeric entities (&#NNN;), doxygen can cause malformed XML.

As an example, see the end of the title-attribute value for the link in this exerpt:

<td class="mdescRight">Adam's <a class="el" href="a00696.html#a932aa40d85b14cb7331625e012d12335" title="Adam&#39;s mem_malloc() plus solution for bug #17922 Allocate a block of memory with a minimum of &#3...">mem_malloc()</a> plus solution for bug #17922 Allocate a block of memory with a minimum of 'size' bytes.  <a href="#a932aa40d85b14cb7331625e012d12335"></a><br/></td>

"&#3..." is not a valid entity, and can make XML/HTML-parsers barf.
Comment 1 Dimitri van Heesch 2011-03-26 20:21:01 UTC
Confirmed. Should be fixed in the next release.
Comment 2 Dimitri van Heesch 2011-03-28 14:18:57 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.4. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.