I have a schema that I'm trying to build a class from using XSD.EXE
However, this schema has a REDEFINE element, which causes xsd.exe to choke up.
This is a known issue...
Redefine Element Binding Support
Is there any way to tweak this schema or the class to allow me to create a class that I can then populate and serialize to an XML document that is valid?
Code:<xs:redefine schemaLocation="crt-court.xsd"> <xs:complexType name="HeaderDataType"> <xs:complexContent> <xs:extension base="cch:HeaderDataType"> <xs:sequence> <xs:element name="ResponseNumber" type="j:IDType"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:redefine>


Reply With Quote


Bookmarks