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 invalid: XML_PROGRAMLISTING=YES copies Unicode form feed character (U+000C) to XML files (Origin: bugzilla #733722) #5526

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-07-25 09:27:24 +0000, doxygen-xml-export@secure-mail.cc wrote:

Created attachment 281676
InputFile

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

Please describe the problem:
XML_PROGRAMLISTING=YES copies the Unicode form feed character (U+000C) and maybe other "Noncharacters" from source file to XML output file. The XML files ar not valid and combine.xslt fails.

Steps to reproduce:

  1. Launch DoxyGen (XML_PROGRAMLISTING=YES) with an input file that includes a form feed character (U+000C).

Example InvalideXmlOutput.h:
// xml parser error : PCDATA invalid Char value 12
/** briefdescription text
*

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

Actual results:
Doxygen generates classInvalideXmlOutput.xml:
[...]

and combine.xslt fails

Expected results:
Doxygen should generate classInvalideXmlOutput.xml without the invalid Char value 12.

and combine.xslt should execute successfully.

Does this happen every time?
Yes

On 2014-07-25 09:31:09 +0000, doxygen-xml-export@secure-mail.cc wrote:

Created attachment 281677
XML output file that includes the invalid Char value 12

On 2014-07-25 09:31:41 +0000, doxygen-xml-export@secure-mail.cc wrote:

Created attachment 281678
doxyfile

On 2014-07-25 09:35:18 +0000, doxygen-xml-export@secure-mail.cc wrote:

invalid Char value 12
is located in first line of input file InvalideXmlOutput.h.

DoxyGen copies it to line 11 of XML output file _invalide_xml_output_8h.xml. Its located right after "".

On 2014-08-15 09:20:22 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next GIT update.

On 2014-08-21 17:15:18 +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