GNOME Bugzilla – Bug 655591
Comment causes failure in <ul> processing
Last modified: 2011-08-14 14:04:34 UTC
Created attachment 192884 [details] Glossary template with commented out list items to be filled in. The following HTML: <ul> <!-- <li></li> --> </ul> gives failure: <li> tag but found <ul> instead! C:/Morita/MIMIR Dirs/MIMIR-20110712/doxydoc/Glossary.dox:170: warning: unexpected end of comment while looking for a html list item It looks like the "<li>" gets process in spite of being within a comment. Browsers seem to process the HTML sequence without issue. Was creating the skeleton for a Glossary
An empty <ul> list is not really valid HTML anyway, but I'll make the warning more clear and make sure valid output is generated nevertheless.
The fact that the issue was discovered in an empty <ul></ul> is not the issue. The issue is that there was any type of HTML directive processed with the body of a valid comment. This will likely be an issue for other directives that have been commented out as well.
The <li> was correctly ignored because it was part of a comment, but as a result a </ul> was found while the parser was looking for a <li>. The warning incorrectly mentioned a <ul> was found, where in fact a </ul> was found.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.7.5. 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.