Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 17223 invoked from network); 13 Aug 2004 09:51:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Aug 2004 09:51:27 -0000 Received: (qmail 90617 invoked by uid 500); 13 Aug 2004 09:51:14 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 90527 invoked by uid 500); 13 Aug 2004 09:51:14 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 90513 invoked by uid 99); 13 Aug 2004 09:51:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=LOTS_OF_STUFF,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [217.23.18.158] (HELO gw-nnov3.nnov.opencascade.com) (217.23.18.158) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 13 Aug 2004 02:51:11 -0700 Received: from glacon.nnov.opencascade.com (glacon.nnov.opencascade.com [192.90.0.20]) by gw-nnov3.nnov.opencascade.com (8.12.9/8.12.9) with ESMTP id i7D9p8Cv022232 for ; Fri, 13 Aug 2004 13:51:08 +0400 Received: from opencascade.com by glacon.nnov.opencascade.com; Fri, 13 Aug 2004 13:51:07 +0400 (MSK DST) Message-ID: <411C8F0C.778549D7@opencascade.com> Date: Fri, 13 Aug 2004 13:51:08 +0400 From: KOZLOV Roman Organization: Open CASCADE X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; I) X-Accept-Language: fr,en,ru MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Problem with " Resolving a source " References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Vladimir, According to your sitemap "sp" and "pics/" are on the same level. Why do you refer to gif with "../" prefix? The path should be (according the sitemap) "http://localhost:8888/html-xml/pics/z82.gif" so that reference is "pics/z82.gif" and not "../pics/z82.gif ". Vladimir Lisin wrote: > > Hi all, > I have the next situation: > > There is directory D:\cocoon-2.1.5\build\webapp\html-xml\ > There are two files : > First is sitemap.xmap : > > --------------------------------------------------------------------------------------------------------------- > > > > > > > src="http://localhost:8888/pics/{1}.gif"/> > > > mime-type="text/html"/> > > > > > > -------------------------------------------------------------------------------------------------------------------- > > Second is sp.html : > -------------------------------------------- > > > Picture > > >

height=34>
Picture 1

> > > ------------------------------------------- > After load : http://localhost:8888/html-xml/sp I have not on > the page in browser the image of z82.gif > The path for directory "pics" is > D:\cocoon-2.1.5\build\webapp\pics\ > I wrote the tag src="d:\cocoon-2.1.5\build\webapp\pics\{1}.gif"/> but nothing. > > In " http://wiki.apache.org/cocoon/Source " is point : > > "2. Resolving a source > TODO explain SourceResolver, SourceFactory and URLFactory" > > But I can't search this refrence :-(((((( > > Can anyone correct my mistakes ? > > Thanks in advance. > > VL > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org