You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Victor Roldan Betancort (JIRA)" <xm...@xml.apache.org> on 2014/11/14 15:51:34 UTC
[jira] [Created] (XMLBEANS-513) SampleXmlUtil.processChoice() does
not honor xs:choice boundaries
Victor Roldan Betancort created XMLBEANS-513:
------------------------------------------------
Summary: SampleXmlUtil.processChoice() does not honor xs:choice boundaries
Key: XMLBEANS-513
URL: https://issues.apache.org/jira/browse/XMLBEANS-513
Project: XMLBeans
Issue Type: Bug
Components: Samples
Affects Versions: Version 2.6
Reporter: Victor Roldan Betancort
Priority: Minor
When generating a sample for an XSD making use of xs:choice. SampleXmlUtil does not consider the boundaries of the choice, but in fact generate an instance of every element in the choice. This leads to invalid XML, depending on the value of the minOccurs and maxOccurs.
http://www.w3schools.com/schema/el_choice.asp
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org