Bug 52216 - [regression in M7] javadoc: @see <a href> shows a warning
Summary: [regression in M7] javadoc: @see <a href> shows a warning
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M8   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 53255 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-17 01:33 EST by Alexander Grässer CLA
Modified: 2004-03-24 16:30 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Grässer CLA 2004-02-17 01:33:07 EST
/**
* @see <a href="http://www.ietf.org/rfc/rfc2045.txt">RFC 2045 - Section 6.8</a> 
*/
This javadoc shows a warning of "Javadoc: Invalid reference" even though it is 
a valid @see element according to the Javadoc spec.
Comment 1 Frederic Fusier CLA 2004-02-17 05:49:29 EST
The error is due to leading white spaces at the end of the reference.
This was an side effect of changes made for DOM/AST Javadoc node implementation 
which now takes care of all characters on a line even white spaces...
Comment 2 Frederic Fusier CLA 2004-02-17 06:56:30 EST
Fixed.

User now can add white spaces at the end of the URL or String reference without 
having a warning from compiler.

[jdt-core-dev internal]
Changes ade in AbstractCommentParser.parseReference() method.

Test cases added in jdt.core.tests.compiler.regression.JavadocTestMixed
Comment 3 Jerome Lanneluc CLA 2004-03-24 10:58:28 EST
Verified in I200403240800.
Comment 4 Frederic Fusier CLA 2004-03-24 16:30:02 EST
*** Bug 53255 has been marked as a duplicate of this bug. ***