-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
Suppose we have the following XML:
<root>
<a>
<b />
</a>
<a>
<b />
<b />
</a>
</root>
Nori will create the following hash:
{"root"=>{"a"=>[{"b"=>nil}, {"b"=>[nil, nil]}]}}
If we have the following document schema:
<xsd:complexType name="a">
<xsd:sequence>
<xsd:element name="b" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
element ['root']['a'][0]['b']
should return a single-valued array, but there is no way to specify this to Nori.
lachezar, danielfone and cema-sp
Metadata
Metadata
Assignees
Labels
No labels