cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: map:generate called twice
Date Fri, 29 Mar 2002 01:55:26 GMT
> From: Mathias Ochsendorf [mailto:matze@ochsendorf.net]
> 
> Hello,
> 
> I'm working with the CVS-Version of Cocoon 2 from last Wednesday
> (3/27/02).
> According to
> http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=100834637226164&w=2
> this problem has to be fixes since a couple of months.

If you read it carefully you will notice that it has to do with the
source for the XSLT transformation, not file generator.


> But every cocoon request to /NotifyService invokes the Apache server
> (bluescreen:80) twice.
> The logfile of cocoon records only one request for /NotifyService,
apache
> logs the
> message_start.php twice.

I guess that the first time it gets URL information (like
lastModificationDate and contentLength), and second time it gets the
content. See components/source/URLSource if you want to understand this.

Vadim	


> sitemap.xmap:
> [...]
> <map:match pattern="NotifyService">
>   <map:generate
>        src="http://bluescreen/message_start.php?control=106"/>
>   <map:transform src="rc/transforms/html-renderer.xsl" type="xslt"/>
>   <map:serialize type="html"/>
> </map:match>
> [...]
> 
> Any hints ?
> 
> Thx, Mathias
> 
> --
> Mathias Ochsendorf
> www: www.ochsendorf.net | www.ochsendorf.de
> ICQ: 68556900


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message