Details
-
Bug
-
Status: Open
-
Resolution: Unresolved
-
2.2.1
-
None
-
None
-
Operating System: Windows NT/2K
Platform: PC
-
16640
Description
A type can be redefined and then another file can be included that redefines
the same type again. That is, we redefine a type from 'schemaFile1.xsd' and
include another file called 'schemaFile2.xsd', but this file also redefines the
same type in 'schemaFile1.xsd'. We end up with the redefinition of the same
type twice. Consider the following schema code:
<xsd:redefine id="true" schemaLocation="schemaFile1.xsd">
<xsd:simpleType name="SimpleType01">
<xsd:restriction base="SimpleType01">
<xsd:whiteSpace value="collapse"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:redefine>
<xsd:include id="bad01" chemaLocation="schemaFile2.xsd"/>
-
- Note: 'schemaFile2.xsd' also redefines the 'SimpleType01' type
in 'schemaFile1.xsd'
- Note: 'schemaFile2.xsd' also redefines the 'SimpleType01' type