https://jsr235.dev.java.net/issues/show_bug.cgi?id=15
------- Additional comments from rad...@dev.java.net Tue Apr 8 17:16:39 +0000
2008 -------
I think the answer in the general case is "yes", DataObjects can still be equal
even if their XML representation is not exactly the same. So, for open content
properties, order does not matter unless the containing type is sequenced.
To translate the reference to "OSOA issue SDO-280", this means changing the
JavaDoc for EqualityHelper.equalsShallow() from:
If the type is a sequenced type, the sequence entries must be the same. For each
entry index in the sequence where the property is used in the comparison,
dataObject1.getSequence().getValue(index).equals(
dataObject2.getSequence().getValue(index)) and
dataObject1.getSequence().getProperty(index) ==
dataObject2.getSequence().getProperty(index) must be true.
to further say that the algorithm compares only entries with dataType=true and
text entries. Entries with dataType=false are skipped.