Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 85016 invoked from network); 21 Jun 2002 03:30:51 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 21 Jun 2002 03:30:51 -0000 Received: (qmail 23147 invoked by uid 97); 21 Jun 2002 03:31:02 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 23091 invoked by uid 97); 21 Jun 2002 03:31:02 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 23072 invoked by uid 98); 21 Jun 2002 03:31:01 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <122001c218d3$be113500$9865fea9@spiritsoft.com> From: "James Strachan" To: "Jakarta Commons Developers List" References: <20020619103114.27130.qmail@icarus.apache.org> <3D10633C.3030103@dlr.de> Subject: Re: cvs commit: jakarta-commons-sandbox/jelly build.xml Date: Fri, 21 Jun 2002 04:28:40 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Christoph Your XML format does look quite like JDK1.4 XML-Serialization; maybe you could use XSLT to turn it into the JDK1.4 format? Incidetnally betwixt tends to try to make more 'nice to edit' looking XML thats less verbose. e.g here's a Rectangle class in betwixt... rather than the more verbose JDK-1.4 XML serialiazation style of... 12 ... 10 ... 100 ... 10 ... I guess it comes down to use cases; if you just need serialization to use XML format, and don't particularly care what it looks like or how verbose it is, then JDK 1.4 XML serialiation is fine. Betwixt tries to make less verbose 'nicer to edit' XML so takes a different approach to JDK1.4 XML serialization. James ----- Original Message ----- From: To: "Jakarta Commons Developers List" Sent: Wednesday, June 19, 2002 11:55 AM Subject: Re: cvs commit: jakarta-commons-sandbox/jelly build.xml > In our company we successfully use a XML configuration language used to instantiate beans > (and arbitrary java objects). Maybe this could serve as input (but using a betwixt/digester > reader). This code was designed before SOAP, JDK1.4 XML-Serialization, and originally > took some ideas from Koala (www.inria.fr). > > Our team has recently used this XML serialization and reading scheme to migrate > object versions and OODBs (PSEpro form ObjectDesign/ObjectStore). > > Please let me know if you would like to see the sources and more/real config code. > > The following text is an example of an XML configuration file with embedded comments > describing its syntax. > > > > > > > > > > Hello World! > > > Hello > Again! > > > > > > > > > > > > > 0 > > > > > > 1 > 2 > 3 > 4 > > > 6 > > > 7 > 8 > > The name of the rectangle > > > > > 9 > > > > > > > > > > > > > > > > > > > > > > > > 1 > 2 > > > > > > 3 > 6 > > > > > > > > > > > > > > > > > > jstrachan@apache.org wrote: > > jstrachan 2002/06/19 03:31:14 > > > > Modified: jelly build.xml > > Added: jelly/src/test/org/apache/commons/jelly/xml/betwixt > > makeBetwixt.jelly input.xml > > Log: > > added a new sample Jelly script to generate bewtixt descriptors from a sample XML bean language. > > Moving forward it mght be interesting to investigate using a simple 'BeanML' language to autogenerate beans, Torque SQL stuff, OJB descriptors etc. > >[snip] > > Index: input.xml > > =================================================================== > > > > > className="org.zenplex.tambora.transaction.PO" > > primitiveTypes="attributes" > > rootName="PO"> > > > > > > > > > > > > > >[snip] > > > -- > :) Christoph Reck > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: