Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 32754 invoked from network); 26 Jun 2007 09:15:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2007 09:15:49 -0000 Received: (qmail 9499 invoked by uid 500); 26 Jun 2007 09:15:51 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 9425 invoked by uid 500); 26 Jun 2007 09:15:51 -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 9414 invoked by uid 99); 26 Jun 2007 09:15:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2007 02:15:51 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of riceyeh@gmail.com designates 64.233.184.229 as permitted sender) Received: from [64.233.184.229] (HELO wr-out-0506.google.com) (64.233.184.229) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2007 02:15:47 -0700 Received: by wr-out-0506.google.com with SMTP id i23so1469492wra for ; Tue, 26 Jun 2007 02:15:26 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=UBS1EjJehODiE77TnjiDJcYTFFSVvbZ39kKdp9GgYQVsnfQgnkMy+44rT9fA75aqwZSteqrYK1C65VhGjLsrp1eJ8kLOTUQdzodPbmpWJryCiwzwbup8R+n2e06m2ujoda5meM8Z2NPAeCRhOvbIYSQOaxbNqdvAkJpLxAEDIUw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=sfpu4FFsiTRLOsHXjnuWjF8BWqnte6sC+6l+UeMgcHnJI8rx3MlYa+GAruxzqZMLnVgLE29CEx3xHy7iCntlvioTTxSRb6IsvoHWkG2vtzoCSNj7fiSnsbGaItH05CPz26MBl82dBJL4KvYaXXI3AvZtzEOJ6R+RuewLygOuLFY= Received: by 10.78.201.10 with SMTP id y10mr2976905huf.1182849324598; Tue, 26 Jun 2007 02:15:24 -0700 (PDT) Received: by 10.78.134.15 with HTTP; Tue, 26 Jun 2007 02:15:24 -0700 (PDT) Message-ID: <47f71d940706260215r74c7dcd9k22740340fb91bd21@mail.gmail.com> Date: Tue, 26 Jun 2007 17:15:24 +0800 From: "Rice Yeh" To: dev@cocoon.apache.org Subject: Re: servlet: protocol cannot be used in xsl:include's href attribute in a xsl file? In-Reply-To: <4680CD34.7040604@apache.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_11521_23439755.1182849324561" References: <47f71d940706252344s37a3e01fu11251647bfe3f10b@mail.gmail.com> <4680CD34.7040604@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_11521_23439755.1182849324561 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline After checking my code again, I find it is a error in my sitemap. Thank you guys. Rice On 6/26/07, Grzegorz Kossakowski wrote: > > Rice Yeh pisze: > > Hi, > > Can the servlet: protocol can be used in xsl:include's href attribute > > in a xsl file? I keep get MalformedURLException in URL with > > servlet: protocol. I remember there is a discussion on writing > > URLStreamHandler for servlet: protocol. Is this problem related to that > > discussion? > > I agree with Joerg that the problem is probably in how Cocoon resolver is > used by XSLT processor. See: > https://issues.apache.org/jira/browse/COCOON-2044#action_12490040 > > -- > Grzegorz Kossakowski > http://reflectingonthevicissitudes.wordpress.com/ > ------=_Part_11521_23439755.1182849324561 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline After checking my code again, I find it is a error in my sitemap.

Thank you guys.
Rice

On 6/26/07, Grzegorz Kossakowski < gkossakowski@apache.org> wrote:
Rice Yeh pisze:
> Hi,
>   Can the servlet: protocol can be used in xsl:include's href attribute
> in a xsl file? I keep get MalformedURLException in URL<init> with
> servlet: protocol. I remember there is a discussion on writing
> URLStreamHandler for servlet: protocol. Is this  problem related to that
> discussion?

I agree with Joerg that the problem is probably in how Cocoon resolver is used by XSLT processor. See:
https://issues.apache.org/jira/browse/COCOON-2044#action_12490040

--
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/

------=_Part_11521_23439755.1182849324561--