Menu

#2 Problems with non-US-ASCII characters in identifiers

open
nobody
None
5
2004-07-23
2004-07-23
No

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 included into the DocInfo object.

This is from the QDox source code:
[A-Za-z_$0-9]* { return Parser.IDENTIFIER; }

Somewhere inside either QDox och vdoclet 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.

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

Discussion


Log in to post a comment.

MongoDB Logo MongoDB