Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 49233 invoked from network); 8 Aug 2005 13:41:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Aug 2005 13:41:00 -0000 Received: (qmail 30139 invoked by uid 500); 8 Aug 2005 13:40:58 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 29835 invoked by uid 500); 8 Aug 2005 13:40:57 -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 29822 invoked by uid 99); 8 Aug 2005 13:40:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2005 06:40:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [81.169.145.161] (HELO natfrord.rzone.de) (81.169.145.161) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Aug 2005 06:41:18 -0700 Received: from [127.0.0.1] (D985c.d.pppool.de [80.184.152.92]) (authenticated bits=0) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id j78DeoW5026411 for ; Mon, 8 Aug 2005 15:40:52 +0200 (MEST) Message-ID: <42F760E2.8020905@abz-informatik.com> Date: Mon, 08 Aug 2005 15:40:50 +0200 From: Max Larsson User-Agent: Mozilla Thunderbird 1.0.5 (Windows/20050711) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Source resolving wired behaviour Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi everybody, i have a question about source resolving, which drives me nuts. In my own Treansformer extended from AbstractSAXTransformer i make the follwoing lines within the metod startTransformingElement: Source resource = SourceUtil.getSource( attr.getValue( COLLECT_INCLUDE_ELEMENT_SRC_ATTRIBUTE ); // if i print resource.getURI() the string machts the desired cocoon pipline. SourceUtil.toSAX( resource,xmlConsumer,null,true ); // always fail because it parses the default pipline, which contains a reader How can resouirce point to the desire pipeline match and SourceUtil.toSax() or resource.getInpuSTream() always returns the default pipeline/match (ala match="" or match="**")? regards Max