Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: Open
   Priority: Blocker

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XJavaDoc
 Components: 
             Parser

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Radoslav Petrov

    Created: Wed, 22 Dec 2004 9:05 AM
    Updated: Wed, 22 Dec 2004 9:05 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



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to