Multiple inheritance

Hi,

I'm looking for making a double inheritance and don't manage doing so.
What I would like is that an element inherits attributes from a first 
type defined in a xsd file, and also inherits attributes from a second 
type defined in a second xsd file.

I tried kind of things like :

   <xs:complexType name="Type0">
     <xs:complexContent>
       <xs:extension base="dt1:DataType1">
         <xs:extension base="dt2:DataType2"/>
         <xs:attribute name="comment" type="xs:string" use="required"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>

but errors occur when i parse a xml instance with xerces-j.

Someone could help me??
thx a lot

----
Mathieu DUBOS

Received on Wednesday, 28 August 2002 11:24:08 UTC