You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "plastic (JIRA)" <xm...@xml.apache.org> on 2004/12/10 23:44:11 UTC
[jira] Created: (XMLBEANS-90) duplicated class member
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
[jira] Updated: (XMLBEANS-90) duplicated class member
Posted by "plastic (JIRA)" <xm...@xml.apache.org>.
[ http://nagoya.apache.org/jira/browse/XMLBEANS-90?page=history ]
plastic updated XMLBEANS-90:
----------------------------
Attachment: DeliveryMessageV2R30_20040414.xsd
> 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
[jira] Assigned: (XMLBEANS-90) duplicated class member
Posted by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-90?page=history ]
Radu Preotiuc-Pietro reassigned XMLBEANS-90:
--------------------------------------------
Assign To: Radu Preotiuc-Pietro
> duplicated class member
> -----------------------
>
> Key: XMLBEANS-90
> URL: http://issues.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
> Assignee: Radu Preotiuc-Pietro
> 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://issues.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
[jira] Commented: (XMLBEANS-90) duplicated class member
Posted by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-90?page=comments#action_57749 ]
Radu Preotiuc-Pietro commented on XMLBEANS-90:
----------------------------------------------
This is interesting: it seems that XMLSchema allows two enumeration values that are identical, of course Java does not, so we have to check for this case.
> duplicated class member
> -----------------------
>
> Key: XMLBEANS-90
> URL: http://issues.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
> Assignee: Radu Preotiuc-Pietro
> 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://issues.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
[jira] Commented: (XMLBEANS-90) duplicated class member
Posted by "plastic (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-90?page=comments#action_57763 ]
plastic commented on XMLBEANS-90:
---------------------------------
I'm glad to see that someone had interested to it ;)
> duplicated class member
> -----------------------
>
> Key: XMLBEANS-90
> URL: http://issues.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
> Assignee: Radu Preotiuc-Pietro
> 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://issues.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
[jira] Resolved: (XMLBEANS-90) duplicated class member
Posted by "Radu Preotiuc-Pietro (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-90?page=history ]
Radu Preotiuc-Pietro resolved XMLBEANS-90:
------------------------------------------
Resolution: Fixed
Fix Version: Version 2 Beta 1
Version 2 Beta 2
Version 2
Fixed at SVN change 126561.
> duplicated class member
> -----------------------
>
> Key: XMLBEANS-90
> URL: http://issues.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
> Assignee: Radu Preotiuc-Pietro
> Priority: Blocker
> Fix For: Version 2 Beta 1, Version 2 Beta 2, Version 2
> 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://issues.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
[jira] Assigned: (XMLBEANS-90) duplicated class member
Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-90?page=all ]
Jacob Danner reassigned XMLBEANS-90:
------------------------------------
Assign To: Jacob Danner (was: Radu Preotiuc-Pietro)
> duplicated class member
> -----------------------
>
> Key: XMLBEANS-90
> URL: http://issues.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
> Assignee: Jacob Danner
> Priority: Blocker
> Fix For: Version 2 Beta 1, Version 2 Beta 2, Version 2
> 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://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
[jira] Closed: (XMLBEANS-90) duplicated class member
Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
[ http://issues.apache.org/jira/browse/XMLBEANS-90?page=all ]
Jacob Danner closed XMLBEANS-90:
--------------------------------
Assign To: (was: Jacob Danner)
I was able to compile the xsds listed and the case radu mentioned. Fix Verified, closing.
Ouptut of compilation:
scomp DeliveryMessageV2R30_20040414.xsd papiNetCommo
nDefsV2R30_20040414.xsd
Time to build schema type system: 3.25 seconds
Time to generate code: 72.811 seconds
Time to compile code: 123.889 seconds
Compiled types to: xmltypes.jar
> duplicated class member
> -----------------------
>
> Key: XMLBEANS-90
> URL: http://issues.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
> Fix For: Version 2 Beta 1, Version 2 Beta 2, Version 2
> 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://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
[jira] Commented: (XMLBEANS-90) duplicated class member
Posted by "plastic (JIRA)" <xm...@xml.apache.org>.
[ http://nagoya.apache.org/jira/browse/XMLBEANS-90?page=comments#action_56534 ]
plastic commented on XMLBEANS-90:
---------------------------------
I used XMLBeans builded from CVS, because I had problems with generation Java classes using last builded libraries and I reported a bug: http://nagoya.apache.org/jira/browse/XMLBEANS-54
> 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
[jira] Updated: (XMLBEANS-90) duplicated class member
Posted by "plastic (JIRA)" <xm...@xml.apache.org>.
[ http://nagoya.apache.org/jira/browse/XMLBEANS-90?page=history ]
plastic updated XMLBEANS-90:
----------------------------
Attachment: papiNetCommonDefsV2R30_20040414.xsd
> 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
[jira] Commented: (XMLBEANS-90) duplicated class member
Posted by "plastic (JIRA)" <xm...@xml.apache.org>.
[ http://nagoya.apache.org/jira/browse/XMLBEANS-90?page=comments#action_56533 ]
plastic commented on XMLBEANS-90:
---------------------------------
I generated files this way:
scomp -compiler C:\j2sdk1.4.2_05\bin\javac.exe -jar C:\j2sdk1.4.2_05\bin\jar.exe -mx 756m -src src -d classes -debug -verbose -out DeliveryMessageV2R30.jar DeliveryMessageV2R30_20040414.xsd
> 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