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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to