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

List:       xmlbeans-dev
Subject:    [jira] Created: (XMLBEANS-90) duplicated class member
From:       "plastic (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2004-12-10 22:44:11
Message-ID: 1852688052.1102718651022.JavaMail.apache () nagoya
[Download RAW message or body]

duplicated class member
-----------------------

         Key: XMLBEANS-90
         URL: http://nagoya.apache.org/jira/browse/XMLBEANS-90
     Project: XMLBeans
        Type: Bug
  Components: Binding  
    Versions: Version 1.0.3    
 Environment: Windows XP SP2, SDK 1.4.2_05
    Reporter: plastic
    Priority: Blocker
 Attachments: DeliveryMessageV2R30_20040414.xsd, papiNetCommonDefsV2R30_20040414.xsd

While trying to generate Java objects from xsd files i can't cause scomp genereate \
classes with duplicate name of the member:

D:\noNamespace\InventoryChangeReferenceType.java:44: STOCK_ORDER_NUMBER is already \
defined in noNamespace.InventoryChangeReferenceType static final \
noNamespace.ReferenceType.Enum STOCK_ORDER_NUMBER = \
noNamespace.ReferenceType.STOCK_ORDER_NUMBER;

D:\noNamespace\InventoryChangeReferenceType.java:74: INT_STOCK_ORDER_NUMBER is \
already defined in noNamespace.InventoryChangeReferenceType static final int \
INT_STOCK_ORDER_NUMBER = noNamespace.ReferenceType.INT_STOCK_ORDER_NUMBER;

and I have in java file:

....
42: static final noNamespace.ReferenceType.Enum REFERENCE_TEXT = \
                noNamespace.ReferenceType.REFERENCE_TEXT;
43: static final noNamespace.ReferenceType.Enum STOCK_ORDER_NUMBER = \
                noNamespace.ReferenceType.STOCK_ORDER_NUMBER;
44: static final noNamespace.ReferenceType.Enum STOCK_ORDER_NUMBER = \
                noNamespace.ReferenceType.STOCK_ORDER_NUMBER;
45: static final noNamespace.ReferenceType.Enum SUPPLIER_CLAIM_NUMBER = \
                noNamespace.ReferenceType.SUPPLIER_CLAIM_NUMBER;
....
....
72: static final int INT_REFERENCE_TEXT = \
                noNamespace.ReferenceType.INT_REFERENCE_TEXT;
73: static final int INT_STOCK_ORDER_NUMBER = \
                noNamespace.ReferenceType.INT_STOCK_ORDER_NUMBER;
74: static final int INT_STOCK_ORDER_NUMBER = \
                noNamespace.ReferenceType.INT_STOCK_ORDER_NUMBER;
75: static final int INT_SUPPLIER_CLAIM_NUMBER = \
noNamespace.ReferenceType.INT_SUPPLIER_CLAIM_NUMBER;


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report 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