[
https://jira.jboss.org/jira/browse/JBXB-244?page=com.atlassian.jira.plugi...
]
Jason T. Greene commented on JBXB-244:
--------------------------------------
I mentioned this earlier on the forums, but I thought I should add this in case it helps.
Aside from the current schema 1.0 method of using an unbounded xs:choice, the current
working draft of schema 1.1 supports true unordered sequences by removing the
maxOccurs="1" restriction on xs:all.
The new model definition for ALL is here:
http://www.w3.org/TR/xmlschema11-1/#all-mg
don't use repeatable handlers for terms inside unordered
sequences
------------------------------------------------------------------
Key: JBXB-244
URL:
https://jira.jboss.org/jira/browse/JBXB-244
Project: JBoss XML Binding (JBossXB)
Issue Type: Feature Request
Affects Versions: JBossXB-2.0.2.Beta5
Reporter: Alexey Loubyansky
Assignee: Alexey Loubyansky
Fix For: JBossXB-2.0.2.GA
People are asking for over-the-edge freedom in (un)ordering their elements in xml.
Not only terms of unordered sequences should be allowed to appear in any order but also
repeatable terms should be allowed to be spread and mixed with other terms, i.e. not
necessarily appear in a sequence. Which of course breaks collecting and setting values by
repeatable particle handlers. So, the only way to have repeatable terms collected
correctly is to disable repeatable particle handlers and add items directly to the
properties.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira