Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 80866 invoked from network); 2 Jan 2006 00:23:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Jan 2006 00:23:20 -0000 Received: (qmail 80819 invoked by uid 500); 2 Jan 2006 00:23:18 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 80729 invoked by uid 500); 2 Jan 2006 00:23:17 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 80718 invoked by uid 99); 2 Jan 2006 00:23:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 16:23:17 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gianugo@gmail.com designates 64.233.184.207 as permitted sender) Received: from [64.233.184.207] (HELO wproxy.gmail.com) (64.233.184.207) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2006 16:23:16 -0800 Received: by wproxy.gmail.com with SMTP id i11so73274wra for ; Sun, 01 Jan 2006 16:22:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=c1mz26pMBA1cZDY9INvLEuzj6D64P9Uog5cpxjNaWI50/jMeiLJWgU3aZi/AuKkpYbkCyEVo+UXn8dPygjhtpSWT/upLiJOnf2C67BqYmcWBt//dzWXR3iygaerl4KhrYM5ET8XdWCSwImjkczsIch8YdZgxLEzMXxdq0k2s9Iw= Received: by 10.65.148.14 with SMTP id a14mr80280qbo; Sun, 01 Jan 2006 16:22:55 -0800 (PST) Received: by 10.65.145.4 with HTTP; Sun, 1 Jan 2006 16:22:55 -0800 (PST) Message-ID: <7557e99f0601011622r4fa75b6au98aeab51be691e3d@mail.gmail.com> Date: Mon, 2 Jan 2006 01:22:55 +0100 From: Gianugo Rabellino Sender: gianugo@gmail.com To: dev@cocoon.apache.org Subject: Re: W3C XML Processing working group In-Reply-To: <43B85566.2050507@wyona.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43B57442.5020608@apache.org> <7557e99f0512301019m3c8f430fn23ad1778c81a688a@mail.gmail.com> <43B85566.2050507@wyona.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 1/1/06, Michael Wechner wrote: > > > >I'm not that much interested into yet another DSL expressed in XML, > >and I don't feel alone at all. Actually I'd much rather drift towards > >a programmatic pipeline API. > > > > what do you mean by a programmatic pipeline API? Uhm, part of the story is on my blog[1] but I'll give you an excerpt and save you a click ;-) It strikes me how, in early 2006, people are still thinking that another XML domain-specific language is the way to go. We are all learning the hard way how the XML verbiage has been useless and, to some extents, detrimental: from Jelly onwards (and yes, I deserve some blame as well) it became crystal clear how programming in XML leads to unmaintainable, opaque and unreadable stuff. The fake myth that XML can be written by grandmas, coupled with the low entry barrier in creating new languages (no compiler's compiler needed, yay!) has produced a plethora of half-baked solutions that just don't get how grandmas aren't going to code anyway, while angle brackets get heavily in the way of anyone who understands even just the basics of programming. Now, don't get me wrong: XML is great when properly used. That is, data (some grandmas might even write data at a certain point), information interchange and tool-oriented stuff. But please, pretty please, when talking about programming (that is, data processing and component connections), take those angle brackets out of the picture and give us the power of effective syntaxes. There might be some exceptions: transformation languages such as XSLT, having to deal with XML all the way, are consistently expressed in XML, but that's not the case for XML pipelines. Pipelines are about connecting, chaining, concatenating: there's nothing there that needs XML to be expressed. It's meta-XML, in a way, a side order to the main XML dish. What we (well, I at least) need are APIs: a standard and effective way to tie XML processing components together so that data manipulation can work in a multistage environment. We then need some machinery around it that provides transparent adapters between the different XML processing world (SAX, DOM, StAX) and we could definitely use some services (logging, management, security) on top of it. But we don't need XML for that. We might want to use it at a later point, as a sort of wrapper around the pipeline language if, and only if, there is a clear need for tooling that could use a well-established and easy to parse data format, but please save our aging eyes and our carpal tunnels from angle brackets whenever possible. [1] http://www.rabellino.it/blog/?p=3D117 -- Gianugo Rabellino Pro-netics s.r.l. - http://www.pro-netics.com Orixo, the XML business alliance: http://www.orixo.com (blogging at http://www.rabellino.it/blog/)