[ 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 "&#1048;&#1058;" 
> (0xc8 0xd2) in cyrillic causes this error.
> Here is the code:
> public static Hashtable STAFF_CATEGORY = new Hashtable();
>       static
>       {
>               
> STAFF_CATEGORY.put("&#1056;&#1098;&#1082;&#1086;&#1074;&#1086;&#1076;&#1080;&#1090;&#1077;&#1083;",
>  new Integer(1));
>               STAFF_CATEGORY.put("&#1040;&#1059;&#1055;", new Integer(2));
>               STAFF_CATEGORY.put("&#1048;&#1058;&#1056;", new 
> Integer(3));//This line is the problem
>               
> STAFF_CATEGORY.put("&#1056;&#1072;&#1073;&#1086;&#1090;&#1085;&#1080;&#1082;",
>  new Integer(4));
>       }
> If i change the cyrillic "&#1058;" 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

Reply via email to