[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Assigned: (XMLBEANS-306) method name conflicts when using
From:       "Wing Yew Poon (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2009-10-25 1:18:59
Message-ID: 1286127742.1256433539476.JavaMail.jira () brutus
[Download RAW message or body]


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