Re: updated proposal on issue #144 - array metadata in SOAP Encod ing

On Mon, Nov 12, 2001 at 06:18:25PM -0500, Rich Salz wrote:
> It is possible to communicate sparseness between serializer and
> application, but it should not be a requirement.
> 	/r$

How can sparseness be communicated? I know how to communicate whether
data is an integer, a string, or an array - but I don't know how to
communicate within SOAP that its sparse.

It still feels uncomfortable to me that many people seem to think that
its good practice to send type information over the wire (xsi:type),
that sparse arrays are different to non-sparse arrays (as illustrated
by the comment above indicating sparseness can be communicated),
but that sparseness does not need to be communicated in a SOAP packet.
Why say 'types are good' and then say 'indicating sparseness is not
necessary'?

To be *consistent*, surely there should be a *standard* way to say
if an array is or is not sparse on the wire (like other type info),
with that information being optional (like other type info).
eg: soap:sparse="yes" / soap:sparse="no" / omitted attribute.

Alan

Received on Monday, 12 November 2001 23:55:51 UTC