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

List:       xmlbeans-dev
Subject:    [jira] Created: (XMLBEANS-306) method name conflicts when using
From:       "paul mortensen (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2006-12-20 21:41:26
Message-ID: 4819830.1166650886551.JavaMail.jira () brutus
[Download RAW message or body]

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