while parsing a Java file having annotation which takes a java string array 
----------------------------------------------------------------------------

         Key: XJD-75
         URL: http://opensource.atlassian.com/projects/xdoclet/browse/XJD-75
     Project: XJavaDoc
        Type: Bug

  Components: Parser  
    Versions: 1.5    
    Reporter: Rabi c Dora
 Assigned to: xdoclet-devel (Use for new issues) 


while parsing a Java file having annotation which takes a java string array as 
argument like this
@JmxMethod(description = "Stop the PE", paramDescriptions = { }, paramNames = { 
}) 
it gives the following error 
   [dssgen] Error parsing File 
D:\AvayaInc\CS\dss\sdk\examples\basic\src\java\com\avaya\coreservice\dss\basic\BasicImpl.java:Parse
 error at line 125, column 65.  Encountered: }

It expects quotes at that position, after  changing like the following the 
error goes away,
@JmxMethod(description = "Stop the PE", paramDescriptions = {"" }, paramNames = 
{ ""})

But it create other issue like parsing of that function(having annotation) get 
ignore and the implementation of that annotation  
 (@JmxMethod) gives error.

we believe the xdoclet is not able to parse properly the annotation which takes 
a string array  with only empty brackets (empty array).  This should to be 
fixed.






-- 
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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to