[
https://issues.apache.org/jira/browse/WSCOMMONS-274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ajith Harshana Ranabahu resolved WSCOMMONS-274.
-----------------------------------------------
Resolution: Fixed
Assignee: Ajith Harshana Ranabahu
Fixed. The error was in the serializer
> minOccurs="0" on embedded sequence is lost....
> ----------------------------------------------
>
> Key: WSCOMMONS-274
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-274
> Project: WS-Commons
> Issue Type: Bug
> Components: XmlSchema
> Environment: XmlSchema 1.3.2
> Reporter: Daniel Kulp
> Assignee: Ajith Harshana Ranabahu
>
> In an XSD, if I have:
> <complexType name="FooStruct">
> <sequence>
> <element name="varInteger" type="int"/>
> <sequence minOccurs="0">
> <element name="varInt" type="xsd:int"/>
> <element name="varFloat" type="xsd:float"/>
> </sequence>
> </sequence>
> </complexType>
> If I then load the XSD into XmlSchema, then have XmlSchema write out to a new
> file, I get:
> <complexType name="FooStruct">
> <sequence>
> <element name="varInteger" type="int"/>
> <sequence>
> <element name="varInt" type="xsd:int"/>
> <element name="varFloat" type="xsd:float"/>
> </sequence>
> </sequence>
> </complexType>
> The minOccurs="0" is lost.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]