Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-90

duplicated class member

    XMLWordPrintableJSON

    Details

      Description

      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;

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              plastic plastic
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: