Details
-
Type:
Bug
-
Status:
Closed
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.6
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
If a class has an identifier, say a field, that uses characters other than the ones specified below, the parsing stops there and the rest of the fields will not be parsed.
This is from the QDox source code:
[A-Za-z_$0-9]* { return Parser.IDENTIFIER; }
Somewhere inside either QDox or vdoclet (@sourceforge) there should be a loop that goes through all the fields in a class. The parser will probably throw a ParseException when it discovers a "bad" field. Now if that exception was caught inside the loop instead of outside the loop, we should at least be able to parse the rest of the fields. I am not sure whether the problem is in QDox or vdoclet.
This has also been raised as an issue in the maven-tasklist-plugin. A full explanation, including a test-class, can be found here:
http://jira.codehaus.org/browse/MPTASKLIST-11
Most likely a problem with the QDox parser.
I shall try to sort it later this week (unless Aslak beats me to it).