Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 15892 invoked from network); 9 Feb 2004 02:35:01 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Feb 2004 02:35:01 -0000 Received: (qmail 38980 invoked by uid 500); 9 Feb 2004 02:34:40 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 38773 invoked by uid 500); 9 Feb 2004 02:34:38 -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 Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 38737 invoked from network); 9 Feb 2004 02:34:38 -0000 Received: from unknown (HELO linda-2.paradise.net.nz) (202.0.58.21) by daedalus.apache.org with SMTP; 9 Feb 2004 02:34:38 -0000 Received: from smtp-2.paradise.net.nz (smtp-2a.paradise.net.nz [202.0.32.195]) by linda-2.paradise.net.nz (Paradise.net.nz) with ESMTP id <0HSS0091YPTYKX@linda-2.paradise.net.nz> for dev@cocoon.apache.org; Mon, 09 Feb 2004 15:34:46 +1300 (NZDT) Received: from JESSIE (203-79-120-217.cable.paradise.net.nz [203.79.120.217]) by smtp-2.paradise.net.nz (Postfix) with SMTP id 2B0639E2CE for ; Mon, 09 Feb 2004 15:34:46 +1300 (NZDT) Date: Mon, 09 Feb 2004 15:37:56 +1300 From: Conal Tuohy Subject: RE: Cleaning up unused namespace declaration In-reply-to: <3835241C-5AA6-11D8-862C-000393D2CB02@apache.org> To: dev@cocoon.apache.org Message-id: <001101c3eeb5$b9d8f2c0$d9784fcb@insurgentes.local> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I don't know if you can configure the xml serializer to drop a namespace (seems unlikely, because such namespace might not be used until the end of the document, for all the serializer knows, so it wouldn't be safe without buffering the entire output document to check). But typically you should suppress the namespace in the XSLT which converts the dir:* content into xhtml, using the exclude-result-prefixes attribute of the xsl:stylesheet or xsl:transform element. This works for me - I just checked! :-) Con > -----Original Message----- > From: Stefano Mazzocchi [mailto:stefano@apache.org] > Sent: Monday, 9 February 2004 15:18 > To: Cocoon > Subject: Cleaning up unused namespace declaration > > > I'm not normally bugged by namespace declarations which aren't used, > but boy, something like this just can't go on without me to do > something about it: > >
xmlns:include="http://apache.org/cocoon/include/1.0"/> > > [taken from my blog output] > > do you have any suggestions on how to use the xml serializer > so that it > stops doing that? > > -- > Stefano. > >