Message:

   The following issue has been re-assigned.

   Assignee: Heiko W. Rupp (mailto:[EMAIL PROTECTED])
---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XJD-52

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XJD-52
    Summary:  xjavadoc.TokenMgrError Encountered: "\r" (13), after : "\"
       Type: Bug

     Status: Resolved
   Priority: Blocker
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XJavaDoc
 Components: 
             Parser
   Fix Fors:
             1.5
   Versions:
             1.1

   Assignee: Heiko W. Rupp
   Reporter: Radoslav Petrov

    Created: Wed, 22 Dec 2004 9:05 AM
    Updated: Sun, 12 Jun 2005 7:44 AM
Environment: WindowsXP
Ant 1.6.2

Description:
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! 


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to