From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: ** X-Spam-Status: No, score=2.4 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,DNS_FROM_SECURITYSAGE autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id AA9BFBBAF for ; Wed, 22 Oct 2008 22:11:37 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmUBAI0k/0jOvjGwkWdsb2JhbACTawEBAQEJCwoHEQOpS4heBQIBg0w X-IronPort-AV: E=Sophos;i="4.33,466,1220220000"; d="scan'208";a="18393857" Received: from web54606.mail.re2.yahoo.com ([206.190.49.176]) by mail3-smtp-sop.national.inria.fr with SMTP; 22 Oct 2008 22:11:37 +0200 Received: (qmail 6174 invoked by uid 60001); 22 Oct 2008 20:11:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=YUovCh/ZskOsQixITaTR9zataHF302zaW4fbW2SS7FqsQP1iWnh2mtCs0gZHjj2gM4TIs4zNyv03GI/fID+qOi7G0Q+OaARUuh6N4QtcCdHRNeJok6rcNBmX1TZXsUUvfe1Z1XZYk0gh50VCilMG4dNOKc9WBfXm5veQu9s7p+w=; X-YMail-OSG: HSnyh54VM1nldoCzk50SxQZ9SrmGN4cyAHkWBxrpfYWX_rrPytWdBV3543mwlRU9QkW01ZZtETCJXSa_HAVmF715yFY.aXid9n_Q2AnZGz7Z6AnINi5d57hVz7ASQb7567DzTEBUU.HjrbkD2MRKZc.4wCqMvlRV4rJTjUwm Received: from [213.205.70.212] by web54606.mail.re2.yahoo.com via HTTP; Wed, 22 Oct 2008 13:11:35 PDT X-Mailer: YahooMailWebService/0.7.247.3 Date: Wed, 22 Oct 2008 13:11:35 -0700 (PDT) From: Dario Teixeira Subject: Serialisation of PXP DTDs To: caml-list@yquem.inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <51474.6143.qm@web54606.mail.re2.yahoo.com> X-Spam: no; 0.00; pxp:01 dtds:01 pxp:01 dtds:01 overlooking:01 cheers:01 stone:98 parsed:01 partial:01 marshal:01 primitives:01 binary:02 parse:02 parse:02 objects:02 Hi, I am using PXP to parse the MathML2 DTD. This is a fairly large DTD, which even on a fast machine takes several seconds to parse. I am therefore looking at ways to serialise a parsed DTD, in a such a way that it can be reused by other processes. Does PXP already offer primitives for (un)serialising DTDs? (I couldn't find any). Note that using Marshal is out of the question, because DTDs are stored as objects, and we all know that objects cannot be serialised across process boundaries. But are there alternative solutions I'm overlooking? On a more general but related note, I think we should start an OSP discussion about standardising serialisation methods. The rationale should be obvious. Myself, I am partial to Sexplib, since it is reasonably fast, very simple to use, human-readable, and future-proof. I reckon that bin-prot could also be considered, as long as at some point the binary format is "set in stone", or at least deserialisers are always backwards compatible. Any other opinions? Thanks for your time! Cheers, Dario Teixeira =0A=0A=0A