You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "sandhu@terra-firma" <sa...@apparelxml.net> on 2004/01/05 17:09:56 UTC

Sendmail attachment : cocoon:/// - why 3 /s ?

Hi ,

Been trying to get sendmail attachments work with cocoon:// protocol and 
just cannot get attachments served by subsitemaps to work -
only main sitemaps pipeline seem to work ... and that with "cocoon:/// "
- three slashes.... 

Has anyone got attachments working thru subsitemaps and if yes 
why 3 slashes ??

version :Cocoon-2.1.4-dev of a week or so back.

BRgds,
Sandhu



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Sendmail attachment : cocoon:/// - why 3 /s ?

Posted by "sandhu@terra-firma" <sa...@apparelxml.net>.
Thanks Joerg ,Christian for your trying to help...much appreciated.

Yes am using XSP but really the sendmail_xsp.xml  in samples/mail/sendmail/
gives same error for subsitemaps.

..but as you say it is strange no one else has this error - or no one tried
this ??

Sandhu

----- Original Message -----
From: "Christian Haul" <ha...@informatik.tu-darmstadt.de>
To: <us...@cocoon.apache.org>
Sent: Wednesday, January 07, 2004 1:41 PM
Subject: Re: Sendmail attachment : cocoon:/// - why 3 /s ?


> Joerg Heinicke wrote:
> > I have never used it myself, but I know that some are using it through
> > reading mails on this list. I searched the archives a bit and nobody
> > complains about a similar error, for everybody cocoon: with 1 and 2
> > slashes seem to work.
> >
> > Where are the people having sendmail with internal cocoon pipeline
> > attachements working? Christian, do you have any experience with this?
>
> Not really. All the work on attachments had been triggered by requests
> on the list or were patches provided by others (that I might have worked
> on a little ;-)
>
> Basically, it just uses the normal source resolving procedures that can
> be found anywhere in cocoon. So, this shouldn't be a problem showing
> only with sendmail.
>
> It appears that Sandhu is using the logicsheet. Mmmh, could be related
> to XSP then. Maybe a wrong resolver is used??
>
> Sorry, I don't have the time to look into this in depth.
>
> Chris.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Sendmail attachment : cocoon:/// - why 3 /s ?

Posted by Christian Haul <ha...@informatik.tu-darmstadt.de>.
Joerg Heinicke wrote:
> I have never used it myself, but I know that some are using it through 
> reading mails on this list. I searched the archives a bit and nobody 
> complains about a similar error, for everybody cocoon: with 1 and 2 
> slashes seem to work.
> 
> Where are the people having sendmail with internal cocoon pipeline 
> attachements working? Christian, do you have any experience with this?

Not really. All the work on attachments had been triggered by requests
on the list or were patches provided by others (that I might have worked
on a little ;-)

Basically, it just uses the normal source resolving procedures that can
be found anywhere in cocoon. So, this shouldn't be a problem showing
only with sendmail.

It appears that Sandhu is using the logicsheet. Mmmh, could be related
to XSP then. Maybe a wrong resolver is used??

Sorry, I don't have the time to look into this in depth.

	Chris.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Sendmail attachment : cocoon:/// - why 3 /s ?

Posted by Joerg Heinicke <jo...@gmx.de>.
I have never used it myself, but I know that some are using it through 
reading mails on this list. I searched the archives a bit and nobody 
complains about a similar error, for everybody cocoon: with 1 and 2 
slashes seem to work.

Where are the people having sendmail with internal cocoon pipeline 
attachements working? Christian, do you have any experience with this?

Joerg

On 06.01.2004 04:48, sandhu@terra-firma wrote:

> That is the problem. Cannot navigate to a subsitemap from root :
> 
> Using this :
> <sendmail:attachment url="cocoon://samples/test" mime-type="text/html"
> name="welcome.html"/>
> 
> the error is :
>  SAXException: org.apache.cocoon.ResourceNotFoundException: No pipeline
> matched request: samples/test
> 
> -- this seems to be misssing a "/" in front ??
> 
> Yes, cocoon/samples/test  returns a perfect html page in the browser.
> 
> So am able to use any pipe in the main sitemap with cocoon:// AND cocoon:///
> but none in subsitemaps.
> 
> Any help very appreciated.
> 
> Sandhu
> 
> 
> ----- Original Message -----
> From: "Joerg Heinicke" <jo...@gmx.de>
> To: <us...@cocoon.apache.org>
> Sent: Tuesday, January 06, 2004 7:27 AM
> Subject: Re: Sendmail attachment : cocoon:/// - why 3 /s ?
> 
> 
> 
>>In theory it should be 1 and 2 slashes. 1 for relative to current
>>sitemap, 2 for root sitemap. 3 is really strange. But if really only 3
>>slashes and root sitemap are working you can navigate back to the
>>subsitemap, which is of course less than suboptimal ...
>>
>>Joerg
>>
>>On 05.01.2004 17:09, sandhu@terra-firma wrote:
>>
>>
>>>Hi ,
>>>
>>>Been trying to get sendmail attachments work with cocoon:// protocol and
>>>just cannot get attachments served by subsitemaps to work -
>>>only main sitemaps pipeline seem to work ... and that with "cocoon:/// "
>>>- three slashes....
>>>
>>>Has anyone got attachments working thru subsitemaps and if yes
>>>why 3 slashes ??
>>>
>>>version :Cocoon-2.1.4-dev of a week or so back.
>>>
>>>BRgds,
>>>Sandhu
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Sendmail attachment : cocoon:/// - why 3 /s ?

Posted by "sandhu@terra-firma" <sa...@apparelxml.net>.
That is the problem. Cannot navigate to a subsitemap from root :

Using this :
<sendmail:attachment url="cocoon://samples/test" mime-type="text/html"
name="welcome.html"/>

the error is :
 SAXException: org.apache.cocoon.ResourceNotFoundException: No pipeline
matched request: samples/test

-- this seems to be misssing a "/" in front ??

Yes, cocoon/samples/test  returns a perfect html page in the browser.

So am able to use any pipe in the main sitemap with cocoon:// AND cocoon:///
but none in subsitemaps.

Any help very appreciated.

Sandhu


----- Original Message -----
From: "Joerg Heinicke" <jo...@gmx.de>
To: <us...@cocoon.apache.org>
Sent: Tuesday, January 06, 2004 7:27 AM
Subject: Re: Sendmail attachment : cocoon:/// - why 3 /s ?


> In theory it should be 1 and 2 slashes. 1 for relative to current
> sitemap, 2 for root sitemap. 3 is really strange. But if really only 3
> slashes and root sitemap are working you can navigate back to the
> subsitemap, which is of course less than suboptimal ...
>
> Joerg
>
> On 05.01.2004 17:09, sandhu@terra-firma wrote:
>
> > Hi ,
> >
> > Been trying to get sendmail attachments work with cocoon:// protocol and
> > just cannot get attachments served by subsitemaps to work -
> > only main sitemaps pipeline seem to work ... and that with "cocoon:/// "
> > - three slashes....
> >
> > Has anyone got attachments working thru subsitemaps and if yes
> > why 3 slashes ??
> >
> > version :Cocoon-2.1.4-dev of a week or so back.
> >
> > BRgds,
> > Sandhu
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Sendmail attachment : cocoon:/// - why 3 /s ?

Posted by Joerg Heinicke <jo...@gmx.de>.
In theory it should be 1 and 2 slashes. 1 for relative to current 
sitemap, 2 for root sitemap. 3 is really strange. But if really only 3 
slashes and root sitemap are working you can navigate back to the 
subsitemap, which is of course less than suboptimal ...

Joerg

On 05.01.2004 17:09, sandhu@terra-firma wrote:

> Hi ,
> 
> Been trying to get sendmail attachments work with cocoon:// protocol and 
> just cannot get attachments served by subsitemaps to work -
> only main sitemaps pipeline seem to work ... and that with "cocoon:/// "
> - three slashes.... 
> 
> Has anyone got attachments working thru subsitemaps and if yes 
> why 3 slashes ??
> 
> version :Cocoon-2.1.4-dev of a week or so back.
> 
> BRgds,
> Sandhu


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org