[ 
https://issues.apache.org/jira/browse/COCOON3-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253224#comment-13253224
 ] 

Javier Puerto commented on COCOON3-98:
--------------------------------------

The problem I see is that Cocoon use a Map again to configure the transformer,

public void setup(final Map<String, Object> parameters)

so the order is not guaranteed neither.
                
> RegexpLinkRewriterTransformer doesn't guarantees rules order
> ------------------------------------------------------------
>
>                 Key: COCOON3-98
>                 URL: https://issues.apache.org/jira/browse/COCOON3-98
>             Project: Cocoon 3
>          Issue Type: Bug
>          Components: cocoon-sax
>    Affects Versions: 3.0.0-beta-1
>            Reporter: Javier Puerto
>         Attachments: LinkRewriterTransformer-COCOON-98.diff
>
>
> RegexpLinkRewriterTransformer apply all the defined rules iterating over a 
> Set. I think that makes sense to implement some kind of priority because you 
> may have rules that depends on other rules.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to