Sanjay Radia wrote:
I like the self describing data for the reasons you have state.
Q. I assume that in many cases the reader of some serialized data is
expecting a particular data-definition (or versions of it). In this case
the
reader has the expected data-definition that was generated from the idl.
If the two data-definitions (the one from the idl and the other from the
serialized data) do not match (modulo versions), then is an exception
is thrown?
If there are required fields in the expected IDL that are not in the
data, then, yes, an exception should be thrown.
Doug