Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 91266 invoked by uid 500); 2 Jun 2003 11:45:03 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 91248 invoked from network); 2 Jun 2003 11:45:03 -0000 Received: from dobit2.ugent.be (HELO dobit2.rug.ac.be) (157.193.42.8) by daedalus.apache.org with SMTP; 2 Jun 2003 11:45:03 -0000 Received: from allserv.UGent.be (allserv.ugent.be [157.193.40.42]) by dobit2.rug.ac.be (8.12.8/8.12.8) with ESMTP id h52Bj2C6013447 for ; Mon, 2 Jun 2003 13:45:02 +0200 (MEST) Received: from otsrv1.iic.rug.ac.be (otsrv1.iic.ugent.be [157.193.121.51]) by allserv.UGent.be (8.12.8/8.12.8) with ESMTP id h52Bj13m014398 for ; Mon, 2 Jun 2003 13:45:01 +0200 (MEST) Received: from [192.168.123.102] (host102 [192.168.123.102]) by otsrv1.iic.rug.ac.be (8.11.6/8.11.6) with ESMTP id h52Bj1x25887 for ; Mon, 2 Jun 2003 13:45:01 +0200 Subject: Re: Again: "forgotten" namespaces problem From: Bruno Dumon To: cocoon-users@xml.apache.org In-Reply-To: <200306021314.22235.torstenknodt@datas-world.de> References: <3EDB0183.406@gmx.at> <200306021314.22235.torstenknodt@datas-world.de> Content-Type: text/plain Organization: Outerthought Message-Id: <1054554275.32336.1080.camel@yum.ot> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 02 Jun 2003 13:44:35 +0200 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, 2003-06-02 at 13:14, Torsten Knodt wrote: > On Monday 02 June 2003 09:49, Alexander Schatten wrote: > AS> However, revisiting the problem (also watching websites others create > AS> with Cocoon), I have to realize, that leftover namespaces are very > AS> usual; e.g. the following: SQL, i18n, XHTML also others, that have > AS> nothing to do with HTML specification. > Don't know why I didn't see your first posting. But I had, like many others, > the same problem. I've solved by writing a NamespaceStripperTransformer, > which creates a DOM and removes unused namespaces. This solves the problem > for me. I can put it in the BTS on request. And no, I can't use SAX, because > I have to modify elements dependent on their childs. Details are in my > source. Nice, but an overkill for Alexander who simply wants all namespaces to be removed, which could be done streaming. And preferably immediately in the serializer, instead of another transformation step. The Xalan people seem not yet convinced though. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center bruno@outerthought.org bruno@apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org