Halo
I'm sure this question has been asked many times in the past, but I'm having a nightmare with it.
I have a set of XSD schemas with a tonne of complex types. One of them is this:
<complexType name="commandType">
<sequence>
<choice>
<element name="check" type="epp:readWriteType"/>
</choice>
</sequence>
</complexType>
But, "check" should actually be a "checkType"....but it can't be, because doing this would create some kind of mad looping in the includes files, so the design tools just don't let you do this. So, readWriteType was put in presumably to be a class that perhaps checkType derives from (I don't know, I could be lying).
readWriteType however, looks like this:
<complexType name="readWriteType">
<sequence>
<any namespace="##other"/>
</sequence>
</complexType>
So the code generation tools just haven't got a clue what to do with it, or how checkType relates to readWriteType. It's mighty frustrating.
Anyway, was just hoping someone on here might have a brainwave!
Oh, XSD.exe doesn't work with these classes so I'm trying to work with some third party tools, something about needing element before complexType.
Thanks, P