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=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id EF2FFBC6B for ; Sun, 25 Nov 2007 21:40:18 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CALVsSUdA9hw0/2dsb2JhbACRDA X-IronPort-AV: E=Sophos;i="4.21,464,1188770400"; d="scan'208";a="4887953" Received: from tenhost.net ([64.246.28.52]) by mail1-smtp-roc.national.inria.fr with SMTP; 25 Nov 2007 21:40:18 +0100 Received: (qmail 7088 invoked from network); 25 Nov 2007 14:08:10 -0600 Received: from ip72-208-52-84.ph.ph.cox.net (HELO ?192.168.1.99?) (72.208.52.84) by tenhost.net with SMTP; 25 Nov 2007 14:08:10 -0600 Message-ID: <4749DDA1.3030909@ramenlabs.com> Date: Sun, 25 Nov 2007 13:40:01 -0700 From: Dave Benjamin User-Agent: Mozilla-Thunderbird 2.0.0.6 (X11/20071009) MIME-Version: 1.0 To: caml-list@yquem.inria.fr Subject: ANN: XmlRpc-Light 0.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; xmlrpc:01 ocaml:01 ocamlnet:01 integers:01 xmlrpc:01 de-facto:01 0.6:98 equality:01 unix:01 unix:01 parsing:01 parsing:01 typing:01 typing:01 naming:01 I have released XmlRpc-Light 0.6. XmlRpc-Light is an XmlRpc client and server library written in OCaml. It requires Xml-Light and Ocamlnet 2. http://code.google.com/p/xmlrpc-light/ This release introduces a new module, XmlRpcDateTime, which provides a date time type (still a tuple of integers), time-zone-aware equality and comparison, XmlRpc-flavored iso-8601 parsing and generation, time zone adjustment, and conversion functions to- and from- Unix float and Unix.tm for both local and UTC times. There is also a handy "now()" function to build a time stamp for the current time. The Unix conversion functions follow the same naming convention as Julien Signoles' calendar library to ease integration with that package. I have written a suite of unit tests, based on Maas-Maarten Zeeman's oUnit framework, which you can run by typing "make test". These tests cover parsing and generation of XmlRpc values and messages, date-time parsing and arithmetic, and the server's function call and error handling behavior. The WordPress example library has been updated to support WordPress 2.3, which now provides UTC date-time values. The interface has been kept mostly the same. It now uses XmlRpcDateTime.t instead of defining a "datetime" type, but this shouldn't break any code since due to structural typing. The one thing that doesn't work the same is the "suggest_categories" method, since WordPress has completely changed the structure of its results. Rather than attempt to make any sense of the new result format, which is rather odd, I decided to punt here and just return an XmlRpc.value (variant). Finally, I have added support for the somewhat controversial "nil" type. Not all servers support this type, and Dave Winer has been known to be adamantly opposed to it, but it has become a de-facto standard and quite a few XmlRpc libraries support it now. If you don't like it, don't use it. =) Best wishes, Dave