11-21-2013 04:25 PM
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
11-21-2013 05:51 PM
This isn't really a full answer, but it's an acceptable workaround. I still think the underlying issue is a bug in studio.
After I "Update" from "Update Center" to pull down the latest studio stuff, I do the following:
When you next run the update, Nuxeo DM reinitializes correctly, and no errors processing the schema.
11-22-2013 09:44 AM
Hi,
11-22-2013 10:25 AM
Ok, here's what I did (all within studio)
11-22-2013 10:42 AM
Thanks a lot for the report and the detailed steps to reproduce!
11-22-2013 11:12 AM
Thanks for the update! My user creds don't have access to the NXS jira space, so i might just have to keep my fingers crossed
11-22-2013 11:13 AM
Ah ok, i thought it was public, i'll look into it
11-26-2013 04:33 AM
Hi,
02-21-2014 07:27 AM
Hi,
The corresponding bug (https://jira.nuxeo.com/browse/NXS-1851) is now fixed, thanks again for the report and the steps to reproduce.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.