method name conflicts when using javascource 1.5 for elements: compInfo
(unbounded) and compInfoList, a method is created named getCompInfoList
------------------------------------------------------------------------------------------------------------------------------------------------
Key: XMLBEANS-306
URL: http://issues.apache.org/jira/browse/XMLBEANS-306
Project: XMLBeans
Issue Type: Bug
Components: Compiler
Affects Versions: Version 2.2
Environment: Windows 2k
Reporter: paul mortensen
When attempting to compile an XSD using the javascource 1.5 that contains two
elements named,compInfo (unbounded) and comInfoList, a duplicate method name is
created.
Since the compInfo element can return a list of elements the resulting java
source creates a method named "List getCompInfoList()" . However because
there is also an element name "compInfoList" another method "CompInfoList
getCompInfoList()" is created. This of course creates a conflict in the
resulting file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
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]