After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666527 - "inheritdoc" Not Recognized in XML Style Documentation
"inheritdoc" Not Recognized in XML Style Documentation
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: documentation
1.7.6.1
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-12-19 14:40 UTC by John Werner
Modified: 2017-04-30 08:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example code showing problem with "<inheritdoc/>" (901 bytes, text/plain)
2011-12-19 14:40 UTC, John Werner
  Details
Patch to add <inheritdoc /> support to Doxygen (2.32 KB, patch)
2012-02-28 13:42 UTC, John Werner
none Details | Review

Description John Werner 2011-12-19 14:40:51 UTC
Created attachment 203880 [details]
Example code showing problem with "<inheritdoc/>"

When using XML style special commands (i.e. when developing in MS Visual Studio), the "inheritdoc" command is not recognized.  If it is used as regular Doxygen special command (e.g. "@inheritdoc"), it is recognized.

More specifically, the following forms will result in Doxygen reporting "warning: Unsupported xml/html tag <inheritdoc> found"

/// <inheritdoc/>
/// <inheritdoc />

The following will work as expected

/// @inheritdoc


Example code illustrating the problem is attached.
Comment 1 Dimitri van Heesch 2011-12-26 14:06:47 UTC
The <inheritdoc> tag is not a valid C# XML comment as far as I know. Can you point at a specification where it is explained?
Comment 3 John Werner 2012-02-03 13:30:03 UTC
Not as much a comment as a question:

Why did this go to Unconfirmed?  The use of "<inheritdoc />" in C# comments is documented in other places. NUnit doesn't support it, but does support "/// @inheritdoc".
Comment 4 John Werner 2012-02-28 13:42:15 UTC
Created attachment 208582 [details] [review]
Patch to add <inheritdoc /> support to Doxygen

This patch was created for 1.7.6 and then successfully applied to our local build 1.7.5.  It adds support to for using "inheritdoc" as an XML tag (<inheritdoc />).
Comment 5 Dimitri van Heesch 2012-03-03 15:42:43 UTC
Thanks, I'll include the patch in the next subversion update.
Comment 6 Dimitri van Heesch 2012-05-19 12:26:43 UTC
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.