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

PATCH - docset creation failed - Nodes.xml with invalid format (Origin: bugzilla #671591) #4610

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 normal in component general for ---
Reported in version 1.8.0 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2012-03-07 19:48:04 +0000, H.Abraham wrote:

Created attachment 209203
Sample to reproduce the bug and a patch to fix the bug

General:

  • Mac OS X 10.7.2
  • Xcode 4.3 (installed from App Store, installed under /Applications/Xcode.app)
  • Doxygen 1.8.0 (24. Feb 2012)

Steps to reproduce the bug:

  • see simple Demo-Project (attached)
  • start "make clean && make"
    • Makefile create simple own doxygen.cfg
    • Makefile create (successful) html help
    • Makefile switch into "html" folder to create docset
    • creation of docset failed, error message:
      docsetutil[6376:403] Error converting XML to CoreData: Error Domain=NSXMLParserErrorDomain
      Code=76 "Line 76: Opening and ending tag mismatch: Subnodes line 0 and Node

Bug-Description:

  • Same sample project works well with doxygen-1.7.5

  • Bug is located in "html/Nodes.xml" - the xml-Tags are missmatched sorted, in detail:

    ... <-------- INVALID TAG
  • The bug is located in the source "src/docset.cpp void DocSets::finalize()"

Patch:

  • I append a patch for this bug:
    docset_xml_tag_patch.patch

On 2012-03-07 20:43:10 +0000, Dimitri van Heesch wrote:

Thanks, I'll include the patch in the next subversion update.

On 2012-03-11 11:46:42 +0000, H.Abraham wrote:

Created attachment 209427
DocSet-Bug UnitTest and a patch to solve the bug

I attach 3 UnitTest and a new patch. The path works well with all 3 test scenarios. To start the UnitTest a shipped a makefile.

On 2012-03-11 11:52:32 +0000, H.Abraham wrote:

Created attachment 209428
3 new UnitTests and a patch to fix the bug

On 2012-03-11 11:58:01 +0000, H.Abraham wrote:

Additional information to the last commit message:

  • the first patch (2012-03-07) works only well, if the page not contains a "related page" section.

  • I add 3 small UnitTest

    • one with a small page, like the bug description from (2012-03-07)
    • one with a project, that contains a "related page" section
    • one with a project, that contains a "modules page"
  • The new path (2012-03-11 12:52) works well with all 3 tests. The old patch works only well with the first

On 2012-05-19 12:26:59 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.1. 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.

@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