XSD.EXE and REDEFINE Elements

dmvprof

Member
Joined
Dec 9, 2010
Messages
12
Programming Experience
Beginner
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?
VB.NET:
	<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>
 
Back
Top