https://bz.apache.org/bugzilla/show_bug.cgi?id=58170
Bug ID: 58170
Summary: Attribute group in Redefine is not working for more
than one level in java 7 and above
Product: Ant
Version: 1.7.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: AntUnit
Assignee: [email protected]
Reporter: [email protected]
Security-test.xsd:
<xs:redefine schemaLocation="./security1.xsd">
<xs:attributeGroup name="paramGroup">
<xs:attributeGroup ref="paramGroup"/>
<xs:attribute name="err_label"/>
</xs:attributeGroup>
</xs:redefine>
Security1.xsd:
<xs:redefine schemaLocation="./security.xsd">
</xs:redefine>
Security.xsd has attribute group "paramGroup" But in security1.xsd it is not
defined. Now while building security-test.xsd using ant, I get an error,
--cvc-complex-type.3.2.2: Attribute 'err_label' is not allowed to appear in
element 'param'--
This issue occurs in jdk 1.7 and above. In 1.6 the two level redefine work
fine.
--
You are receiving this mail because:
You are the assignee for the bug.