Custom tags are ignored
Brought to you by:
marcelschoen
In PDFDoclet 1.0.1, custom tags are only processed for the class
description---they aren't processed for field or method descriptions! (See
also the mailing list query <http://sourceforge.net/forum/forum.php?
thread_id=1322280&forum_id=185314>).
There is a bug in TagLists.java's clearTagsFromList(String[]) where there is
this series of comparisons:
(names[i].equals(DOC_TAG_EXCEPTION) == false
&& names[i].equals(DOC_TAG_RETURN) == false
...
&& names[i].equals(DOC_TAG_PARAM) )
The fault is that the last comparison should be
names[i].equals(DOC_TAG_PARAM) == false
Thanks.
Logged In: YES
user_id=38479
My original patch was incomplete, because there is a larger problem with the
original code. Attached is a cumulative patch for TagLists.java, which strips the
leading "@" from the tag name before performing the comparisons.
Render custom tags in tag lists.