New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML Output: Doxygen doesn’t escape & characters (included in a hyperlink) in <detaileddescription> (Origin: bugzilla #728740) #5460

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity major in component general for ---
Reported in version 1.8.7 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2014-04-22 17:19:18 +0000, doxygen-xml-export@secure-mail.cc wrote:

+++ This bug was initially created as a clone of Bug # 476562 +++

Please describe the problem:
Doxygen doesn�t escape & characters (included in a hyperlink) in but copies them into the XML output. The XML files ar not valid and combine.xslt fails.

Steps to reproduce:

  1. Launch DoxyGen with an input file with & in a hyperlink

Example InvalideXmlOutput.h:
/** briefdescription text
*

  • detaileddescription text
  • document name
    */
    class InvalideXmlOutput {}
  1. Generate XML output
  2. Launch Doxygen combine.xslt stylesheet on the output

Actual results:
Doxygen generates classInvalideXmlOutput.xml:
briefdescription text
detaileddescription text document name

and combine.xslt fails

Expected results:
Doxygen should generate classInvalideXmlOutput.xml:
briefdescription text
detaileddescription text document name

and combine.xslt should execute successfully.

Does this happen every time?
Yes

On 2014-04-22 17:29:44 +0000, doxygen-xml-export@secure-mail.cc wrote:

Another description of that bug: http://sourceforge.net/p/doxygen/discussion/130994/thread/9afd68fd/# 4bf8

On 2014-04-22 17:31:44 +0000, doxygen-xml-export@secure-mail.cc wrote:

Created attachment 274899
InputFile

On 2014-04-23 12:35:56 +0000, doxygen-xml-export@secure-mail.cc wrote:

Created attachment 274942
doxyfile

On 2014-04-23 12:54:49 +0000, doxygen-xml-export@secure-mail.cc wrote:

HTML export doesn escape & characters (included in a hyperlink):

briefdescription text

detaileddescription text document name

On 2014-04-23 15:25:28 +0000, doxygen-xml-export@secure-mail.cc wrote:

Typo: HTML export works correctly.

On 2014-04-23 16:26:07 +0000, doxygen-xml-export@secure-mail.cc wrote:

Escaping in programlisting of XML export is working correctly.

doc\xml_invalide_xml_output_8h.xml---


classInvalideXmlOutput{&test}

Header input:
class InvalideXmlOutput { &test }

On 2014-08-04 18:22:20 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next GIT update.

On 2014-08-21 17:15:35 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.8. 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 (preferrably in the form of a self-contained example).

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment