You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/01/30 15:32:55 UTC
DO NOT REPLY [Bug 16597] New: -
Redefined Twice From Different Files
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16597>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16597
Redefined Twice From Different Files
Summary: Redefined Twice From Different Files
Product: Xerces2-J
Version: 2.2.1
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: XML Schema datatypes
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: nmehrega@ca.ibm.com
CC: nddelima@ca.ibm.com
Consider the following schema code:
<xsd:redefine schemaLocation="schemaFile1.xsd">
<xsd:complexType name="ComplexType01">
<xsd:complexContent>
<xsd:extension base="ComplexType01">
<xsd:sequence>
<xsd:element minOccurs="0" name="Element03"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:redefine>
<xsd:redefine id="bad01" schemaLocation="schemaFile2.xsd">
<xsd:complexType name="ComplexType01">
<xsd:complexContent>
<xsd:extension base="ComplexType01">
<xsd:sequence>
<xsd:element minOccurs="0" name="Element06"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:redefine>
The type called 'ComplexType01' is redefined twice from two different files.
This type has been declared in two different schema files called 'schemaFile1'
and 'schemaFile2' and now it's being redefined twice in a third schema file.
This duplicate redefinition of types goes undetected in Xerces2-J.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org