Bug 76546 - TagElement incorrectly parses Javadoc tag element names containing hyphens
Summary: TagElement incorrectly parses Javadoc tag element names containing hyphens
Status: RESOLVED DUPLICATE of bug 68087
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: 3.0.1   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-19 04:56 EDT by Farrell CLA
Modified: 2004-10-19 05:28 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 Farrell CLA 2004-10-19 04:56:43 EDT
If a javadoc tagname contains a hyphen, then only the part before the hyphen is 
parsed as the tag name, and the part after the hyphen is treated as a fragment.

E.g.

(Source file)
/**
 *  @ejb.ejb-ref 
 * 	 ejb-name="NbOraDemo"
 *       view-type="remote"
 *       ref-name="ejb/com.hvbsystems.nb.base.dat.demo.NbOraDemoBean"
 */ 

Iterating through Javadoc.tags(), the method getTagName() returns "@ejb.ejb", 
and "ref" is then the first fragment.
Comment 1 Frederic Fusier CLA 2004-10-19 05:28:38 EDT
This has been fixed for 3.0.1.
Please upgrade to this new release.

*** This bug has been marked as a duplicate of 68087 ***