Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 42262 invoked from network); 29 Jan 2006 19:12:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Jan 2006 19:12:36 -0000 Received: (qmail 79929 invoked by uid 500); 29 Jan 2006 19:12:35 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 79379 invoked by uid 500); 29 Jan 2006 19:12:33 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 79367 invoked by uid 500); 29 Jan 2006 19:12:33 -0000 Received: (qmail 79364 invoked by uid 99); 29 Jan 2006 19:12:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jan 2006 11:12:33 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 29 Jan 2006 11:12:32 -0800 Received: (qmail 41802 invoked by uid 65534); 29 Jan 2006 19:12:12 -0000 Message-ID: <20060129191212.41778.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r373338 - /jakarta/commons/sandbox/scxml/branches/BETWIXT_IO/BRANCHINFO.txt Date: Sun, 29 Jan 2006 19:12:11 -0000 To: commons-cvs@jakarta.apache.org From: rahul@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rahul Date: Sun Jan 29 11:12:08 2006 New Revision: 373338 URL: http://svn.apache.org/viewcvs?rev=373338&view=rev Log: The obligatory BRANCHINFO.txt Commons SCXML "tradition". Added: jakarta/commons/sandbox/scxml/branches/BETWIXT_IO/BRANCHINFO.txt (with props) Added: jakarta/commons/sandbox/scxml/branches/BETWIXT_IO/BRANCHINFO.txt URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/scxml/branches/BETWIXT_IO/BRANCHINFO.txt?rev=373338&view=auto ============================================================================== --- jakarta/commons/sandbox/scxml/branches/BETWIXT_IO/BRANCHINFO.txt (added) +++ jakarta/commons/sandbox/scxml/branches/BETWIXT_IO/BRANCHINFO.txt Sun Jan 29 11:12:08 2006 @@ -0,0 +1,62 @@ + +$Id$ + + COMMONS SCXML + BETWIXT_IO BRANCH + + -- PURPOSE -- + +To set up the Commons SCXML IO using betwixt. + + -- STATUS -- + +Under active development. + + -- DETAILS -- + +Tim O'Brien suggested on the commons-dev mailing list that Commons SCXML +might be better served using betwixt rather than raw digester. + + + +1. SCXMLSerializer + +Right now the code to serialize an SCXML object is a Visitor pattern +that constructs XML using a series of StringBuffers. The code to read +this XML document alrady uses a straightforward set of Digester rules +and the project already depends on commons-digester. + +*Alternative: Add a dependency to commons-betwixt, map the model package +to XML. Instead of writing Digester rules for reading and constructing +Strings for writing, use the betwixt mapping files as a single point of +translation. + +The current SCXMLDigester isn't trivial by any means, but I think it would +be easy to implement the external source rule. The current SCXMLDigester +plays two roles, first it sets up the Digester rules and "Digests" the XML, +but it also does a bit of post-processing in updateSCXML. I think the +component would be well served to separate everything that has to do with +serialization to/from XML into a separate package and to move some of this +postProcess that happens in updateSCXML somewhere else. + + + + + -- CHOSEN APPROACH -- + +Let us attempt to set up a betwixt mapping for Commons SCXML IO. + Propchange: jakarta/commons/sandbox/scxml/branches/BETWIXT_IO/BRANCHINFO.txt ------------------------------------------------------------------------------ svn:eol-style = native Propchange: jakarta/commons/sandbox/scxml/branches/BETWIXT_IO/BRANCHINFO.txt ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org