[ http://opensource.atlassian.com/projects/xdoclet/browse/XJD-52?page=all ]
Heiko W. Rupp updated XJD-52: ----------------------------- Assign To: xdoclet-devel (Use for new issues) (was: Heiko W. Rupp) > xjavadoc.TokenMgrError Encountered: "\r" (13), after : "\" > ----------------------------------------------------------- > > Key: XJD-52 > URL: http://opensource.atlassian.com/projects/xdoclet/browse/XJD-52 > Project: XJavaDoc > Type: Bug > Components: Parser > Versions: 1.1 > Environment: WindowsXP > Ant 1.6.2 > Reporter: Radoslav Petrov > Assignee: xdoclet-devel (Use for new issues) > Priority: Blocker > Fix For: 1.5 > > > Here is the out in the console. > [ejbdoclet] Running <jboss/> > [ejbdoclet] Error parsing File MYFILE.java:Lexical error: > xjavadoc.TokenMgrError: Lexical error at > line 62, column 59. Encountered: "\r" (13), after : "\", new Integer(3));" > I trace the error to contents of the string in this line. The file contains > strings with cyrillic characters in them. The pair of chars "ИТ" > (0xc8 0xd2) in cyrillic causes this error. > Here is the code: > public static Hashtable STAFF_CATEGORY = new Hashtable(); > static > { > > STAFF_CATEGORY.put("Ръководител", > new Integer(1)); > STAFF_CATEGORY.put("АУП", new Integer(2)); > STAFF_CATEGORY.put("ИТР", new > Integer(3));//This line is the problem > > STAFF_CATEGORY.put("Работник", > new Integer(4)); > } > If i change the cyrillic "Т" with english "T" the problem disappears. > Best regards! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel