Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3617

XSD duplicate definitions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.5.0
    • 8.0.4.2
    • JavaDoc
    • Security Level: Jimmy

      the mouseExtAttrGroup/mouseAttrGroup is added to the general attribute group: htmlBasedComponentAttrGroup (and inherited to the xulElementAttrGroup)

      several other attribute groups or components include both the groups causing duplicate definitions

      e.g. labelElementAttrGroup or chartType

      	<xs:attributeGroup name="labelElementAttrGroup">
      		<xs:attributeGroup ref="xulElementAttrGroup" />
      		<xs:attribute name="label" type="xs:string" use="optional" />
      		<xs:attributeGroup ref="mouseExtAttrGroup" />
      	</xs:attributeGroup>
      
      	<xs:complexType name="chartType">
      		<xs:group ref="baseGroup" minOccurs="0" maxOccurs="unbounded" />
      		<xs:attributeGroup ref="xulElementAttrGroup" />
      		...
      		<xs:attributeGroup ref="mouseAttrGroup" />
      		<xs:attributeGroup ref="rootAttrGroup" />
      	</xs:complexType>
      

      those duplicate definitions cause the errors below:

      ag-props-correct.2: Error for attribute group 'labelElementAttrGroup'.  Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 532
      ag-props-correct.2: Error for attribute group 'labelElementAttrGroup'.  Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onDoubleClick'.
      line 532
      ag-props-correct.2: Error for attribute group 'labelElementAttrGroup'.  Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 532
      ct-props-correct.4: Error for type 'chartType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 1117
      ct-props-correct.4: Error for type 'chartType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 1117
      ct-props-correct.4: Error for type 'divType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 1373
      ct-props-correct.4: Error for type 'divType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onDoubleClick'.
      line 1373
      ct-props-correct.4: Error for type 'divType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 1373
      ct-props-correct.4: Error for type 'fisheyeType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 1450
      ct-props-correct.4: Error for type 'fusionchartType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 1517
      ct-props-correct.4: Error for type 'groupboxType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 1704
      ct-props-correct.4: Error for type 'groupboxType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onDoubleClick'.
      line 1704
      ct-props-correct.4: Error for type 'groupboxType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 1704
      ct-props-correct.4: Error for type 'idspaceType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 1778
      ct-props-correct.4: Error for type 'idspaceType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onDoubleClick'.
      line 1778
      ct-props-correct.4: Error for type 'idspaceType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 1778
      ct-props-correct.4: Error for type 'imagemapType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 1829
      ct-props-correct.4: Error for type 'imagemapType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 1829
      ct-props-correct.4: Error for type 'imageType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 1816
      ct-props-correct.4: Error for type 'imageType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onDoubleClick'.
      line 1816
      ct-props-correct.4: Error for type 'imageType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 1816
      ct-props-correct.4: Error for type 'labelType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 1870
      ct-props-correct.4: Error for type 'labelType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onDoubleClick'.
      line 1870
      ct-props-correct.4: Error for type 'labelType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 1870
      ct-props-correct.4: Error for type 'sliderType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 2449
      ct-props-correct.4: Error for type 'tabboxType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 2549
      ct-props-correct.4: Error for type 'tabpanelType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 2573
      ct-props-correct.4: Error for type 'tabpanelType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onDoubleClick'.
      line 2573
      ct-props-correct.4: Error for type 'tabpanelType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 2573
      ct-props-correct.4: Error for type 'toolbarType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 2751
      ct-props-correct.4: Error for type 'toolbarType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onDoubleClick'.
      line 2751
      ct-props-correct.4: Error for type 'toolbarType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 2751
      ct-props-correct.4: Error for type 'treeitemType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 3000
      ct-props-correct.4: Error for type 'treeitemType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onDoubleClick'.
      line 3000
      ct-props-correct.4: Error for type 'treeitemType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 3000
      ct-props-correct.4: Error for type 'treerowType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 3018
      ct-props-correct.4: Error for type 'treerowType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onDoubleClick'.
      line 3018
      ct-props-correct.4: Error for type 'treerowType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 3018
      ct-props-correct.4: Error for type 'windowType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onClick'.
      line 3100
      ct-props-correct.4: Error for type 'windowType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onDoubleClick'.
      line 3100
      ct-props-correct.4: Error for type 'windowType'. Duplicate attribute uses with the same name and target namespace are specified.  Name of duplicate attribute use is 'onRightClick'.
      line 3100
      

            DevChu DevChu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h