You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Thorsten Scherler <th...@apache.org> on 2006/03/15 11:46:09 UTC

RequestReader (was: Re: DO NOT REPLY [Bug 38969] )

Excuse the cross-post but it seems important for both projects.

El mié, 15-03-2006 a las 01:41 +0000, bugzilla@apache.org escribió:
...
> ------- Additional Comments From renaud.richardet@wyona.com  2006-03-15 01:41 -------
> Created an attachment (id=17896)
>  --> (http://issues.apache.org/bugzilla/attachment.cgi?id=17896&action=view)
> unfied diff against trunk
> 
> Cocoon RequestReader, please check if the implementation is correct
> 

Well, it looks very nice. Thanks.

The only thing that I am wondering is whether this Reader should not go
back to cocoon.

...or better ask is there already such a RequestReader in cocoon?

I can find find in 
cocoon-2.1.x/src/blocks/webdav/samples/davmap/sitemap.xmap:
<!-- Read the request for binaries PUT -->
      <!--
      <map:match pattern="request/read">
        <map:read type="request" />
      </map:match>
      -->

...but cannot find any place where cocoon defines
<map:reader name="request" .../>

wdyt?

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: RequestReader

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 15 mars 06 à 15:31, Renaud Richardet a écrit :

> ...Bertrand Delacretaz wrote:
>> ...It's defined in the main sitemap in the Cocoon default build:
>>
>> <map:reader logger="sitemap.reader.resource" name="resource" pool-  
>> max="32" src="org.apache.cocoon.reading.ResourceReader">
>
> Hum, this is the RessourceReader. Can it also read the binary of a  
> request?

oops sorry, brain fart here - ignore my previous reply, I got  
confused between resource and request ;-(

-Bertrand

Re: RequestReader

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 15 mars 06 à 15:31, Renaud Richardet a écrit :

> ...Bertrand Delacretaz wrote:
>> ...It's defined in the main sitemap in the Cocoon default build:
>>
>> <map:reader logger="sitemap.reader.resource" name="resource" pool-  
>> max="32" src="org.apache.cocoon.reading.ResourceReader">
>
> Hum, this is the RessourceReader. Can it also read the binary of a  
> request?

oops sorry, brain fart here - ignore my previous reply, I got  
confused between resource and request ;-(

-Bertrand

Re: RequestReader

Posted by Renaud Richardet <re...@wyona.com>.
Bonjour Bertrand,

Bertrand Delacretaz wrote:

> Le 15 mars 06 à 11:46, Thorsten Scherler a écrit :
>
>> ...or better ask is there already such a RequestReader in cocoon?
>
Would be nice. Please check the implementation: it works, but I cannot 
guarantee that it's correctly implemented.

>>
>> I can find find in
>> cocoon-2.1.x/src/blocks/webdav/samples/davmap/sitemap.xmap:
>> <!-- Read the request for binaries PUT -->
>>       <!--
>>       <map:match pattern="request/read">
>>         <map:read type="request" />
>>       </map:match>
>>       -->
>>
>> ...but cannot find any place where cocoon defines
>> <map:reader name="request" .../>
>
See also
http://mail-archives.apache.org/mod_mbox/cocoon-dev/200410.mbox/%3C417AA35F.2080800@ajlsm.com%3E 
<http://mail-archives.apache.org/mod_mbox/cocoon-dev/200410.mbox/%3C417AA35F.2080800@ajlsm.com%3E>
http://mail-archives.apache.org/mod_mbox/cocoon-dev/200410.mbox/%3c417D2185.2090609@ajlsm.com%3e 
<http://mail-archives.apache.org/mod_mbox/cocoon-dev/200410.mbox/%3c417D2185.2090609@ajlsm.com%3e>

>
> It's defined in the main sitemap in the Cocoon default build:
>
> <map:reader logger="sitemap.reader.resource" name="resource" pool- 
> max="32" src="org.apache.cocoon.reading.ResourceReader">

Hum, this is the RessourceReader. Can it also read the binary of a request?

Thanks,
Renaud

>
> -Bertrand


-- 
Renaud Richardet
COO America
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
office +1 857 776-3195                     mobile +1 617 230 9112
renaud.richardet <at> wyona.com              http://www.wyona.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: RequestReader

Posted by Renaud Richardet <re...@wyona.com>.
Bonjour Bertrand,

Bertrand Delacretaz wrote:

> Le 15 mars 06 à 11:46, Thorsten Scherler a écrit :
>
>> ...or better ask is there already such a RequestReader in cocoon?
>
Would be nice. Please check the implementation: it works, but I cannot 
guarantee that it's correctly implemented.

>>
>> I can find find in
>> cocoon-2.1.x/src/blocks/webdav/samples/davmap/sitemap.xmap:
>> <!-- Read the request for binaries PUT -->
>>       <!--
>>       <map:match pattern="request/read">
>>         <map:read type="request" />
>>       </map:match>
>>       -->
>>
>> ...but cannot find any place where cocoon defines
>> <map:reader name="request" .../>
>
See also
http://mail-archives.apache.org/mod_mbox/cocoon-dev/200410.mbox/%3C417AA35F.2080800@ajlsm.com%3E 
<http://mail-archives.apache.org/mod_mbox/cocoon-dev/200410.mbox/%3C417AA35F.2080800@ajlsm.com%3E>
http://mail-archives.apache.org/mod_mbox/cocoon-dev/200410.mbox/%3c417D2185.2090609@ajlsm.com%3e 
<http://mail-archives.apache.org/mod_mbox/cocoon-dev/200410.mbox/%3c417D2185.2090609@ajlsm.com%3e>

>
> It's defined in the main sitemap in the Cocoon default build:
>
> <map:reader logger="sitemap.reader.resource" name="resource" pool- 
> max="32" src="org.apache.cocoon.reading.ResourceReader">

Hum, this is the RessourceReader. Can it also read the binary of a request?

Thanks,
Renaud

>
> -Bertrand


-- 
Renaud Richardet
COO America
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
office +1 857 776-3195                     mobile +1 617 230 9112
renaud.richardet <at> wyona.com              http://www.wyona.com


Re: RequestReader (was: Re: DO NOT REPLY [Bug 38969] )

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 15 mars 06 à 11:46, Thorsten Scherler a écrit :

> ...or better ask is there already such a RequestReader in cocoon?
>
> I can find find in
> cocoon-2.1.x/src/blocks/webdav/samples/davmap/sitemap.xmap:
> <!-- Read the request for binaries PUT -->
>       <!--
>       <map:match pattern="request/read">
>         <map:read type="request" />
>       </map:match>
>       -->
>
> ...but cannot find any place where cocoon defines
> <map:reader name="request" .../>

It's defined in the main sitemap in the Cocoon default build:

<map:reader logger="sitemap.reader.resource" name="resource" pool- 
max="32" src="org.apache.cocoon.reading.ResourceReader">

-Bertrand

Re: RequestReader (was: Re: DO NOT REPLY [Bug 38969] )

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 15 mars 06 à 11:46, Thorsten Scherler a écrit :

> ...or better ask is there already such a RequestReader in cocoon?
>
> I can find find in
> cocoon-2.1.x/src/blocks/webdav/samples/davmap/sitemap.xmap:
> <!-- Read the request for binaries PUT -->
>       <!--
>       <map:match pattern="request/read">
>         <map:read type="request" />
>       </map:match>
>       -->
>
> ...but cannot find any place where cocoon defines
> <map:reader name="request" .../>

It's defined in the main sitemap in the Cocoon default build:

<map:reader logger="sitemap.reader.resource" name="resource" pool- 
max="32" src="org.apache.cocoon.reading.ResourceReader">

-Bertrand