5427Re: [soapbuilders] Sparse Array w/ Duplicates
- Sep 30, 2001Andrew Layman discussed the algorithim for decoding offset and position
attributes in . As for your example:
"For practical reasons, we should consider it an error if
the encoded position of an element is the same as or prior
to the position of the previous element."
I use the algorithim he discuses in  because it is very reasonable
and clears up the ambiguities.
> What if a sparse array has duplicates on enc:position
> <someArray enc:arrayType="xsd:string">
> <item enc:position="">this</item>
> <item enc:position="">is</item>
> <item enc:position="">a</item>
> <item enc:position="">test</item>
> I would believe either of two would apply
> 1) a fault
> 2) the highest ordinal member of the soap array with a matching 'position'
> value would be the actual value of the member of the array, e.g., ignoring
> any values of lower ordinal members of the soap array with matching
> 'position' values.
> Thoughts, comments, etc.
> btw, only three toolkits do (2).
- << Previous post in topic Next post in topic >>