XSD generation

Hi,
I have following class diagramm

Following xsd schema have been generated From this classes

classDiagram.JPG

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.

Thanks.

classDiagram.JPG
TestXSD.rar

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