W3C home > Mailing lists > Public > xml-dist-app@w3.org > April 2000

Re: Fwd: LOPT: serialization algorithm suggestions

From: Ken MacLeod <ken@bitsko.slc.ut.us>
Date: 17 Apr 2000 12:34:53 -0500
To: xml-dist-app@w3.org
Message-ID: <x5bt38r5qa.fsf@bitsko.slc.ut.us>
[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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:01:09 UTC