Community
Participate
Working Groups
The following javadoc fragment: <snip> * @see <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_de-dz_8co5.asp">MS T-SQL DIFFERENCE</a> <snip> Gets formatted into: <snip> * @see <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_de-dz_8co5.asp"> * MS T-SQL DIFFERENCE</a> <snip> Note that the one liner @see was broken up into two lines, which is fine with me. This causes an incorrect warning: Severity Description Resource In Folder Location Creation Time Javadoc: Invalid URL link format Soundex.java Apache Jakarta Commons/codec/src/java/org/apache/commons/codec/language line 87 December 9, 2003 3:10:00 PM
>Note that the one liner @see was broken up into two lines, which is fine with me. The warning is correct since in the resulting (generated) Javadoc the link will simply not work. Adapted the summary.
I beg to differ, the Javadoc generated link DOES work (Tested with Sun 1.4.2_03).
I did not test it but expected that the doclet isn't that smart. Is the link correctly shown i.e. as <startLink>T-SQL DIFFERENCE<endLink>? What about the * in front of T-SQL DIFFERENCE?
Created attachment 7394 [details] screenshot
I promise I am not making this up! ;-) See attached for proper display of link "MS T-SQL DIFFERENCE".
Reverting summary and moving to J Core: they generate the warning.
If the link works, I agree to remove the warning...
Fixed. parseHref() method has been modified to allow new lines in href tag text. Test cases added in jdt.core.tests.compiler.regression.JavadocTestMixed
Verified for 3.0M7