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 454064 - Double-quotes are not escaped in XML
Double-quotes are not escaped in XML
Status: RESOLVED DUPLICATE of bug 437218
Product: doxygen
Classification: Other
Component: general
1.5.2
Other All
: Normal major
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2007-07-05 19:31 UTC by Andre
Modified: 2007-07-07 10:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andre 2007-07-05 19:31:12 UTC
Please describe the problem:
If the brief documentation contains a double-quote character, it is reproduced verbatim in the XML output, which leads to a corrupted XML document.

Steps to reproduce:
1. Document a function with something like:
/** "test" documentation. */
void MyFunc()
2. Run doxygen with XML output

Actual results:
The code-listing will contain invalid XML like:
<ref refid="id123" kindref="function" tooltip=""test" documentation.">MyFunc</ref>

Expected results:
It should be escaped:
<ref refid="id123" kindref="function" tooltip="&#34;test&#34; documentation.">MyFunc</ref>

Does this happen every time?
Yes

Other information:
Comment 1 Dimitri van Heesch 2007-07-07 10:49:58 UTC

*** This bug has been marked as a duplicate of 437218 ***