[ https://issues.apache.org/jira/browse/XMLBEANS-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wing Yew Poon reassigned XMLBEANS-306: -------------------------------------- Assignee: Cezar Andrei We can fix this in the release (post-2.5) when we support only jdk 1.5 or higher. D'accord, Cezar? In the meantime, xsdconfig can be used as a workaround? > method name conflicts when using javascource 1.5 for elements: compInfo > (unbounded) and compInfoList, a method is created named getCompInfoList > ----------------------------------------------------------------------------------------------------------------------------------------------- > > Key: XMLBEANS-306 > URL: https://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 > Assignee: Cezar Andrei > Attachments: s2sComp.xsd > > > 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. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@xmlbeans.apache.org For additional commands, e-mail: dev-h...@xmlbeans.apache.org