[Doxygen-users] XML output tag mismatch
Brought to you by:
dimitri
From: Smith, D. <smi...@ty...> - 2002-01-03 22:06:55
|
Hi, I'm looking to use Doxygen's XML output to do some basic code-metrics, and I was wondering if anyone had run into a tag mismatch. It appears that the XML output generated will contain the mismatched tag pair: <exceptions></exception> for documented C++ functions using an exception specification (e.g. "void foo() throw ()"). Looking at the "doxygen-1.2.13.tar.gz" source collection (from the 010302 snapshot), the file "src\xmlgen.cpp" contains the lines (starting at line# 1171) ---<snip>--- if (md->excpString()) { t << " <exceptions>"; linkifyText(TextGeneratorXMLImpl(t),scopeName,md->name(),md->excpString()); t << "</exception>" << endl; } ---<snip>--- where a fix for the issue is to change them to ---<snip>--- if (md->excpString()) { t << " <exceptions>"; linkifyText(TextGeneratorXMLImpl(t),scopeName,md->name(),md->excpString()); t << "</exceptions>" << endl; } ---<snip>--- Many thanks for the excellent tool, and happy ongoing development. -Dave Smith |