[ 
https://issues.apache.org/jira/browse/AXIS2-5518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647799#comment-13647799
 ] 

William Walsh commented on AXIS2-5518:
--------------------------------------

Martin,

I wasn't sure I understood your comment in relation to the original issue 
reported.
Maybe I'm just slow today, but can you help me understand?

Code error I'm seeing looks something like: 
{noformat}
                      } catch (final java.lang.Exception e) {}

                      else
{noformat}
code generated has pattern: else (no bracket), try {, if () { }, and then 
pattern as above.

And the ADBBeanTemplate.xsl I'm looking at in the 1.5.1 distribution is 6,071 
lines.

Thanks,
William

                
> adb-codegen: ADBBeanTemplate.xsl generates erroneous code resulting in javac 
> error: 'else' without 'if'
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5518
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5518
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.5.1
>         Environment: Various Windows and Java 6 JDKs have produced this error
>            Reporter: William Walsh
>            Priority: Minor
>
> It appears that the code in ADBBeanTemplate.xsl at line 2837 generates the 
> beginning of a try block whose end and subsequent catch block, generated at 
> line 3552, fall after the else generated at line 2819.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to