Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 37147 invoked by uid 500); 19 Mar 2003 14:07:17 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 37134 invoked from network); 19 Mar 2003 14:07:16 -0000 Received: from unknown (HELO pulse.betaversion.org) (217.158.110.65) by daedalus.apache.org with SMTP; 19 Mar 2003 14:07:16 -0000 Received: (qmail 29088 invoked from network); 19 Mar 2003 14:07:16 -0000 Received: from unknown (HELO apache.org) (stefano@80.105.91.155) by pulse.betaversion.org with SMTP; 19 Mar 2003 14:07:16 -0000 Message-ID: <3E7879A5.3060302@apache.org> Date: Wed, 19 Mar 2003 15:07:33 +0100 From: Stefano Mazzocchi User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: [proposal] fixing the encoding problems References: <3E7689E8.8010308@verizon.net> <3E76CE3E.9050901@apache.org> <3E76E8E8.6070001@apache.org> <3E76F15D.1070909@apache.org> <3E770B6F.5020904@apache.org> <3E77106D.8020004@apache.org> <3E78737D.9040706@apache.org> <3E787585.7030503@volantis.com> In-Reply-To: <3E787585.7030503@volantis.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Paul Duffin wrote: > A problem that I ran into was that Serializers do not have access to the > environment (Request / Response). This means that it is very hard to > write sophisticated Serializers. For example? (I think FOP and batik are both pretty sofisticated serializers) > We worked around this by using it in conjunction with a Transformer that > was given the environment and simply passed it on to the Serializer. The problem with having an environment-dependent serializer is that the cache needs access to it because it might change its behavior depending on environment parameters. Stefano.