Hello, I'm noticing that if you create a schema in Nuxeo Studio with the advanced config option "allow nested complex types", then actually create nested complex types, the XSD that gets generated is syntactically incorrect. Here's a snippet of the XSD that gets generated:
<xs:complexType name="glanswer_answersType">
<xs:sequence>
<xs:element name="answerContent" type="xs:string"/>
<xs:element name="properties" type="nxs:glanswer_propertiesListType"/>
<xs:complexType name="glanswer_propertiesListType">
<xs:sequence>
<xs:element name="item" type="nxs:glanswer_propertiesType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="glanswer_propertiesType">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="value" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:sequence>
</xs:complexType>
Notice the <xs:complexType> nested which XSD doesn't allow. As it stands now, i have to manually edit the schema as a workaround.
I'm observing this behavior on Nuxeo Studio 2.15 on my DM 5.8-HF01
thanks