cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Leszek Gawron)
Subject [BUG?] Caching and non caching pipelines - any changes lately ?
Date Wed, 05 Feb 2003 11:13:26 GMT
Has anything changed lately with caching and non caching pipelines? I am using
cocoon as xml data provider from MSSQL/Sybase/Pervasive database. 
My pipeline looks like this: 

<map:match pattern="protected/data/*">
	<map:aggregate element="root">
		<map:part src="xml/status-ok.xml" strip-root="true"/>
		<map:part src="cocoon:/data/{1}" strip-root="true"/>
<map:match pattern="data/*">
	<map:select type="request-parameter">
		<map:when test="data">
			<map:generate src="descriptors/{1}.xml"/>
		<map:when test="filter">
			<map:generate src="descriptors/{1}-filter.xml"/>
			<map:generate src="data/{1}.xsp" type="serverpages"/>
			<map:transform src="stylesheets/default.xsl"/>

request parameter selector is :
<map:selector logger="sitemap.selector.request-parameter" 

It works like that: 
if user requests http://host/cocoon/protected/data/somedata - xml data from
database is provided

if user requests http://host/cocoon/protected/data/somedata?descriptor=file or 
http://host/cocoon/protected/data/somedata?descriptor=data static xml files
are sent that describe the rowset. 

The problem is that using cocoon HEAD only some days old I started getting
"descriptors/somedata.xml" no matter what parameters in the URL are sent.

I am using default pipeline configuration I'm also sure that is not due to the
client side caching.

         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/          _\\()//_
         .'/()\'.     Phone: +48(600)341118     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |

To unsubscribe, e-mail:
For additional commands, email:

View raw message