cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Sahuc <ssa...@imediation.com>
Subject Re: [cocoon2][sitemap] multiple filters problem
Date Tue, 21 Mar 2000 23:16:24 GMT
> In the current alpha distribution of Cocoon2, there is a Bug in the
> way Filters are processed : The filters are treated in the exact
> reverse order in wich they've been declared in the Sitemap.

Indeed the filters are set consumers and producers in the wrong order 
in the GenericProcessor.process(). The diff follows :

Index: ./src/org/apache/cocoon/sitemap/GenericProcessor.java
===================================================================
RCS file: 
/home/cvspublic/xml-cocoon/src/org/apache/cocoon/sitemap/Attic/Generi
cProcessor.java,v
retrieving revision 1.1.2.8
diff -r1.1.2.8 GenericProcessor.java
146c146
<         for (int x=0; x<this.filters.size(); x++) {
---
>         for (int x=(this.filters.size()-1); x>=0; x--) {
164c164
<     
---
> 

Sebastien





Mime
View raw message