From dev-return-67182-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Tue Nov 02 16:20:07 2004 Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 34196 invoked from network); 2 Nov 2004 16:20:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Nov 2004 16:20:06 -0000 Received: (qmail 21996 invoked by uid 500); 2 Nov 2004 16:19:57 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 21902 invoked by uid 500); 2 Nov 2004 16:19:56 -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 21887 invoked by uid 99); 2 Nov 2004 16:19:56 -0000 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 (hermes.apache.org: domain of ap-cocoon-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO main.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 02 Nov 2004 08:19:55 -0800 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CP1Nw-0002F4-00 for ; Tue, 02 Nov 2004 17:19:52 +0100 Received: from dyn-213-36-224-146.ppp.tiscali.fr ([213.36.224.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Nov 2004 17:19:47 +0100 Received: from eric.burghard by dyn-213-36-224-146.ppp.tiscali.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Nov 2004 17:19:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org From: BURGHARD =?ISO-8859-15?Q?=C9ric?= Subject: Re: how to get the xml serializer Date: Tue, 02 Nov 2004 17:27:24 +0100 Lines: 23 Message-ID: References: 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: dyn-213-36-224-146.ppp.tiscali.fr User-Agent: KNode/0.8.0 Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Luigi Bai wrote: > You need to make sure there is a serializer with the name "xml" declared > in your sitemap.xmap file (or a parent sitemap) before you use your source > module. > thanks for your answer, the xml serializer is effectively declared in my main sitemap ;-(. It's not the default one, but it is declared as xml. i use the source module in a pipeline, say test i can view the test url in a browser. When i debug, the xml serializer is correctly selected, everything seems to be ok. but when i into another document, the exception is thrown ???. I can instantiate directly an XMLSerializer, configure it, and recycle it at the end and it work everytime (url and cinclude). But i think it's ugly. isn't it ? regards