[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlbeans-dev
Subject: [jira] Created: (XMLBEANS-392) Extension interfaces feature does
From: "Dariusz Kordonski (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date: 2008-12-10 13:16:46
Message-ID: 462827978.1228915006811.JavaMail.jira () brutus
[Download RAW message or body]
Extension interfaces feature does not support static inner classes
------------------------------------------------------------------
Key: XMLBEANS-392
URL: https://issues.apache.org/jira/browse/XMLBEANS-392
Project: XMLBeans
Issue Type: Improvement
Components: Compiler
Affects Versions: Version 2.4
Environment: Windows XP SP3, java 1.4
Reporter: Dariusz Kordonski
I tried to generate source Java files from WSDL, using custom .xsdconfig file and \
<extension> element. The extension pointed to static inner class as the \
'staticHandler'. I defined it using fully qualified name: \
org.some.package.OuterClass$InnerClass. Everything compile fine except that generated \
sources were referring to the handler using the same name: \
org.some.package.OuterClass$InnerClass.implementedMethod(...), which is obviously a \
bug, because it won't compile. The proper cgenerated code would be: \
org.some.package.OuterClass.InnerClass.implementedMethod(...) ('.' instead of '$' as \
separator between outer and inner class). I tried to put \
org.some.package.OuterClass.InnerClass as staticHandler in the .xsdconfig file, but \
that led to NullPointerException somewhere withing XmlBeans code generator.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic