-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
Description
Hello,
for schema like this:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://org.moten.david/example"
xmlns="http://org.moten.david/example" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:i="http://moten.david.org/xsd-forms">
<xs:element name="sections">
<xs:annotation i:label="Sections"/>
<xs:complexType>
<xs:sequence>
<xs:element name="section" minOccurs="1" maxOccurs="unbounded">
<xs:annotation i:label="Section"/>
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
the xml output is:
<?xml version="1.0" encoding="utf-8"?>
<sections xmlns="http://org.moten.david/example">
<section>
<name>name of section 1</name>
<name>name of section 2</name>
</section>
</sections>
but it should be:
<?xml version="1.0" encoding="utf-8"?>
<sections xmlns="http://org.moten.david/example">
<section>
<name>name of section 1</name>
</section>
<section>
<name>name of section 2</name>
</section>
</sections>
I used your web service to generate the form and the output. The form works as expected.
Reactions are currently unavailable