Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Serialisation of PXP DTDs
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-10-23 (16:56)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] Re: Serialisation of PXP DTDs
On Thu, Oct 23, 2008 at 12:37 PM, Stefano Zacchiroli <> wrote:
> I mean, as long as types are as simples are pairs we will probably
> write down the very same S-expression, but for more complex types you
> hand up having to choose how to encode them in S-expressions. Such
> design choices can need to be changed in the future as more types will
> be supported.  I fail to see why the future-proofness of such choices
> should be better than that of bin-prot.

Both the S-expression converters and the binary protocol already
support all extensionally defined datatypes in OCaml, and there are no
plans to change their representation.  I think it is fair to say that
both of them are reasonably future-safe.


Markus Mottl