Return-Path: X-Original-To: apmail-cocoon-dev-archive@www.apache.org Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1A129BBD for ; Fri, 13 Apr 2012 00:05:41 +0000 (UTC) Received: (qmail 51671 invoked by uid 500); 13 Apr 2012 00:05:41 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 51607 invoked by uid 500); 13 Apr 2012 00:05:41 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 51599 invoked by uid 99); 13 Apr 2012 00:05:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 00:05:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 00:05:40 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F1CF9367861 for ; Fri, 13 Apr 2012 00:05:19 +0000 (UTC) Date: Fri, 13 Apr 2012 00:05:19 +0000 (UTC) From: "Thorsten Scherler (Commented) (JIRA)" To: dev@cocoon.apache.org Message-ID: <1846284812.20068.1334275520010.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <253034425.19961.1334273479956.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COCOON3-98) RegexpLinkRewriterTransformer doesn't guarantees rules order MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON3-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13252993#comment-13252993 ] Thorsten Scherler commented on COCOON3-98: ------------------------------------------ I understand the underlying issue, so I wonder if a linkedList would get rid of the position. Otherwise looks nice. > 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