Bug 68726 - [Javadoc] Target attribute in @see link triggers warning
Summary: [Javadoc] Target attribute in @see link triggers warning
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0.1   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-28 04:21 EDT by Eric Jain CLA
Modified: 2004-09-06 10:29 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Jain CLA 2004-06-28 04:21:58 EDT
If checking of Javadoc comments is enabled, using a target attribute in a @see
link triggers the warning "Invalid URL link format".

/**
 * @see <a href="http://eclipse.org/" target="_top">Eclipse</a>
 */
Comment 1 Frederic Fusier CLA 2004-06-28 04:44:43 EDT
Although it was not specified in Javadoc 1.4 spec, this syntax is accepted by
javadoc tool and so compiler should not complain about it...
Comment 2 Frederic Fusier CLA 2004-07-12 09:35:13 EDT
Fixed.

Now skip all text between href string and closing '>'. That means that syntax of
additional parameter(s) for link reference is not verified...

[jdt-core-internal]
Change done in AbstractCommentParser.parseHref() method.
Test cases added in JavadocTestMixed and ASTConverterJavadocTest.
Comment 3 Frederic Fusier CLA 2004-07-13 08:44:42 EDT
Released in HEAD.
Comment 4 David Audel CLA 2004-09-06 10:29:43 EDT
Verified for 3.0.1 RC1