XsdObjectGen - Support Redefine?

May 19, 2009 at 5:58 PM

Could anyone tell me if XsdObjectGen supports redefines?

I have attempted to modify the schema using an adapter schema, but XsdObjectGen does not appear to be maintaining the base elements.  The new element is included but I lose all of the elements originally defined in PCPOLICY_NoID.

Example:

 <xs:redefine schemaLocation="file:///C:\csharp\Wcf.Acord\main\source\Aah.Acord\PropertyAndCasualty\Code\Aah.Acord.Contracts\Schemas\acord-pcs-v1_15_1-ns-nodoc-codes.xsd">
    <xs:complexType name="PCPOLICY_NoID">
      <xs:complexContent>
        <xs:extension base="PCPOLICY_NoID">
          <xs:sequence>
            <xs:element ref="SignatureInfo" minOccurs="0" maxOccurs="1"/>
          </xs:sequence>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
</xs:redefine>

Any help would be appreciated.

Thanks!