XSD generation

I have following class diagramm

Following xsd schema have been generated From this classes


But there are some problems:

  1. “Child” must be “Complex Type”
  2. For list of child i want to generate
    <xs:complexType name=“ArrayOfChild”>
  3. is expected to be generated for each Complex Type:
    For example:
    <xs:element name=“Child” nillable=“true” type=“Child” />
    <xs:element name=“ArrayOfChild” nillable=“true” type=“ArrayOfChild” />
    <xs:element name=“Main” nillable=“true” type=“Main” />

Generated and correct xsd schema files are in attachments.


Hi Renat,

Thanks for your post. I’ve passed the issue to our engineers to follow-up, and I’ll come back to you once there is any feedback.

Best regards,
Lilian Wong