Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 71087 invoked from network); 9 Aug 2005 10:58:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Aug 2005 10:58:50 -0000 Received: (qmail 24434 invoked by uid 500); 9 Aug 2005 10:58:46 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 24366 invoked by uid 500); 9 Aug 2005 10:58:45 -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 24353 invoked by uid 99); 9 Aug 2005 10:58:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2005 03:58:45 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ap-cocoon-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2005 03:59:07 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E2Rmq-0003e4-Ms for dev@cocoon.apache.org; Tue, 09 Aug 2005 12:56:48 +0200 Received: from lns-vlq-30-str-82-254-38-68.adsl.proxad.net ([82.254.38.68]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Aug 2005 12:56:48 +0200 Received: from eric.burghard by lns-vlq-30-str-82-254-38-68.adsl.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Aug 2005 12:56:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org From: BURGHARD =?ISO-8859-15?Q?=C9ric?= Subject: Re: Suggestion for XHTMLSerializer Date: Tue, 09 Aug 2005 12:57:44 +0200 Lines: 35 Message-ID: References: <1123067609.7378.9.camel@localhost.localdomain> <42F3AC2F.4080307@gmx.de> <42F48BAF.3010808@gmx.de> <42F4FE1D.3050704@lojjic.net> <42F5477E.4040301@lojjic.net> <42F5E165.1090700@gmx.de> <42F62F0F.3030306@gmx.de> <42F64E31.8050002@gmx.de> <42F7B2DF.5090004@reverycodes.com> <42F7BA5B.10306@gmx.de> <42F7CA5C.9040502@reverycodes.com> <42F7DF76.6010604@pcextremist.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lns-vlq-30-str-82-254-38-68.adsl.proxad.net User-Agent: KNode/0.9.1 Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > From Vadim and Eric: Many (most?) serializers are not reversible and > therefore there should be no prohibition on yet another seemingly useful > serializer based upon XSLT and its output element. > In fact, if i try to summarize this thread, we are just talking about implementation language. From now java was the only language for writing serializers. With a TraxSerializer (you're right vadim, this name would have certainly avoid all this XSL crispation :-) you can write them in XSL. A Trax Serializer, is much more isolated from object model than a java one, so don't tell me that they could encourage abuses. You play with the sax stream in a java serializer and trax one in the exactly same (it's just simpler, and the risk of stream corruption is lower with xsl). For some things you cannot just use existing serializer (characters-map). Serialization in xsl 2.0 is feature rich, and it would be a pain and a waste of time to reimplement them. And if you can stand the src attribute on the serializer, just define a virtual serializer in such a manner that become in your pipelines. We use a traxserializer on our project since 2 months (as sylvain pointed out), i'm totally happy with it, and if enough people want it i can make a last effort to cleanup and format it accordingly to the cocoon project base rules. Regards.