[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] [Commented] (XMLBEANS-513) SampleXmlUtil.processChoice() does not honor xs:choice boundaries
From:       "Victor Roldan Betancort (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2014-11-14 14:55:33
Message-ID: JIRA.12755378.1415976647000.500639.1415976933678 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/XMLBEANS-513?page=com.atlassian.jira.plugi \
n.system.issuetabpanels:comment-tabpanel&focusedCommentId=14212330#comment-14212330 ] \


Victor Roldan Betancort commented on XMLBEANS-513:
--------------------------------------------------

For the record, not sure if xmlbeans is any longer maintained, but decided to file \
this bug for documentation purposes.

> 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic