From giacomo@apache.org Fri Nov 10 22:33:59 2000 Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 76716 invoked from network); 10 Nov 2000 22:33:59 -0000 Received: from stargazer2.dataway.ch (HELO dataway.ch) (195.216.80.34) by locus.apache.org with SMTP; 10 Nov 2000 22:33:59 -0000 Received: (qmail 7440 invoked from network); 10 Nov 2000 22:33:52 -0000 X-dataway-Spamcheck: 195.216.80.140: RBL=- DUL=- RSS=- ORBS=- Received: from unknown (HELO pwr.ch) (195.216.80.140) by stargazer.dataway.ch with SMTP; 10 Nov 2000 22:33:52 -0000 Received: (qmail 1293 invoked from network); 10 Nov 2000 22:28:05 -0000 Received: from unknown (HELO apache.org) (giacomo@10.20.30.106) by simba.pwr.ch with SMTP; 10 Nov 2000 22:28:05 -0000 Sender: giacomo Message-ID: <3A0C7721.EB42FA77@apache.org> Date: Fri, 10 Nov 2000 23:30:57 +0100 From: Giacomo Pati Organization: Apache Software Foundation X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.16 i686) X-Accept-Language: de-DE, de-CH, en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org CC: "infozone-users@infozone-group.org" Subject: Re: [C2] Re: SchemoX (was: MVC, Struts and Cocoon) References: <20001101154148.6466.qmail@web106.yahoomail.com> <20001101215601.1bf0a48b.steffen@smb-tec.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Steffen Stundzig wrote: > > Hi, > > On Wed, 1 Nov 2000 07:41:48 -0800 (PST) Davanum Srinivas wrote: > > Steffen, > > Does SchemoX use Cocoon2? > > At the moment we have a sample implementation using Cocoon1.8. > I don't no why we couldn't use Cocoon2. One main goal of the SchemoX > framework is independence of the output renderer. I've had a look at SchemoX and Steffen contacted me to have some discussion about how SchemoX and Cocoon 2 can work together. I really like the idea of SchemoX and I clearly see the SchemoX framework implemented as C2 components. SchemoX is a framework that uses XSchemas to build forms to edit XML instance. The http://www.infozone-group.org/schemoxDocs/html/proposal.html gives an overview to the framework. I'd like Jeremy to take a look at it (as soon as he's back from his vacation :) because he has some experience with XML document editing from his FP taglib. I would also appreciate if we can work together with the SchemoX group discussing and building such components for C2. The discussion with Steffen has brought us to the following sitemap example snippet so far and this is a base to discuss about: The action of type "schemox-reader" will build up the XSchema representing object and put it in the environment if it is not already there. The action of type "schemox-validator" will validate the data posted. The action of type "schemox-handler" will manipulate the instance according to events posted back from the client and make them available in the environment object as well as possible messages which should be presented to the client by the generator. The generator of type "schemox-form-generator" will read the instance and form it to the schemox namespace according to the xschema supplied from the form-controller. The first xslt transformer builds up the structure of the page possibly inserting additional elements for linkage etc. The second transformer builds the styled xhtml representation of the page. The serializer makes it available to the clients OutputStream. This IMHO will give the best flexibility to change or parametrize those components for different source stores of XSchemas and XML instances. Please join it with your oppinions. Giacomo