]
Alexey Loubyansky closed JBXB-198.
----------------------------------
Resolution: Done
Done. Description of the feature is here
throw an exception/warn when binding to a sequence with undefined
property order
--------------------------------------------------------------------------------
Key: JBXB-198
URL:
https://jira.jboss.org/jira/browse/JBXB-198
Project: JBoss XML Binding (JBossXB)
Issue Type: Feature Request
Affects Versions: JBossXB-2.0.1.CR1
Reporter: Alexey Loubyansky
Assignee: Alexey Loubyansky
Fix For: JBossXB-2.0.1.CR2
Currently, Java types can be bound to XSD sequences with undefined property order. In
most cases this means a mistake since the order of the elements in the bound sequence
won't be consistent from one execution to another and won't be portable across
different JVMs.
The point of this features request is to add a config property to fail binding of a Java
type to xsd:sequence if the property order is undefined, i.e. XmlType.propOrder is not
specified and XmlAccessorOrder is XmlAccessOrder.UNDEFINED. The default value of the
property should be to throw an exception. System property to initialize the property could
be xb.builder.sequencesRequirePropOrder.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: