[
https://issues.apache.org/jira/browse/WSCOMMONS-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ajith Harshana Ranabahu resolved WSCOMMONS-309.
-----------------------------------------------
Resolution: Fixed
Assignee: Ajith Harshana Ranabahu
Fixed and added a test case
> serialization of xs:any not correct for minOccurs=0 or maxOccurs=0
> ------------------------------------------------------------------
>
> Key: WSCOMMONS-309
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-309
> Project: WS-Commons
> Issue Type: Bug
> Components: XmlSchema
> Reporter: Michael Roberts
> Assignee: Ajith Harshana Ranabahu
>
> The code in serializeAny (or anyplace else in XmlSchemaSerializer) that deals
> with maxOccurs and minOccurs does not account for a maxOccurs value of 0 or a
> minOccurs value of zero which are both valid. For an example (taken from XML
> Schema for Dublin Core):
> <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>
> XmlSchema 1.3.2 will serialize to this:
> <xs:any processContents="lax"/>
--
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]