AMSP-04 / NETN-ORG

NATO Education and Training Network (NETN) Organisation (ORG) Module
Other
1 stars 1 forks source link

Schema error in MsdlComplexTypes_1.0.0.xsd #21

Closed bergtwvd closed 4 years ago

bergtwvd commented 4 years ago

I need to add maxOccurs="unbounded" to the unit sequence in order to get a List type generated. The resulting code snippet is:

                                    <xs:element name="Units">
                                        <xs:complexType>
                                            <xs:sequence maxOccurs="unbounded">
                                                <xs:element name="Unit">
                                                    <xs:complexType>
                                                        <xs:sequence>
                                                            <xs:element name="ObjectHandle"/>
                                                        </xs:sequence>
                                                    </xs:complexType>
                                                </xs:element>
                                            </xs:sequence>
                                        </xs:complexType>
                                    </xs:element>

Attached the resulting file: MsdlComplexTypes_1.0.0.zip

bergtwvd commented 4 years ago

Updated XSD files.

Fixed in https://github.com/AMSP-04/NETN-ORG/commit/7a565245a654fc769743c0bbdf286738645a4d7d