Re: Fwd: LOPT: serialization algorithm suggestions

[I have trimmed the Cc list to only xml-dist-app.  Please do not Cc me
directly on posts to xml-dist-app.]

"Eric Prud'hommeaux" <eric@w3.org> writes:

> I'm very interested in building on object model that supports graphs
> without reading a supporting schema. Let's take a regorous example
> in C. (I don't use Java because it glosses over the distinction
> between pointers and nested data.)

Hmm... your encoding rules are going to be such that a
application-specific C structure can be deserialized directly from XML
without any form of .h source, IDL, schemas, or stubs?  That's going
to put a heavy burden on languages that don't maintain ordering of
structure fields or object members, make distinctions between sizes of
data types (ints and floats), or even maintain data type information
at all.

As a general rule, I prefer to place the burden of maintaining strict
typing on those languages that already support it in some way (via
headers or IDLs, for example).

  -- Ken

Received on Monday, 17 April 2000 13:31:26 UTC