[jira] [Updated] (COCOON3-76) Remove jakarta-regexp dependency

2012-04-12 Thread Javier Puerto (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Javier Puerto updated COCOON3-76:
-

Attachment: DirectoryGenerator-COCOON3-76.diff

Switch jakarta-regex to java.util.regex

 Remove jakarta-regexp dependency
 

 Key: COCOON3-76
 URL: https://issues.apache.org/jira/browse/COCOON3-76
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-optional
Reporter: Francesco Chicchiriccò
 Attachments: DirectoryGenerator-COCOON3-76.diff


 Remove jakarta-regexp dependency from all POMs: the only class using this is, 
 at the moment, DirectoryGenerator, in cocoon-optional.
 This class should be refactored to make use of java.util.regexp.* instead.

--
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




[jira] [Commented] (COCOON3-76) Remove jakarta-regexp dependency

2012-04-12 Thread Javier Puerto (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13252917#comment-13252917
 ] 

Javier Puerto commented on COCOON3-76:
--

The patch is valid for Cocoon 2.2 but there are differences in behaviour. See 
http://stackoverflow.com/questions/6582569/differences-between-jakarta-regexp-and-java-6-java-util-regex



 Remove jakarta-regexp dependency
 

 Key: COCOON3-76
 URL: https://issues.apache.org/jira/browse/COCOON3-76
 Project: Cocoon 3
  Issue Type: Improvement
  Components: cocoon-optional
Reporter: Francesco Chicchiriccò
 Attachments: DirectoryGenerator-COCOON3-76.diff


 Remove jakarta-regexp dependency from all POMs: the only class using this is, 
 at the moment, DirectoryGenerator, in cocoon-optional.
 This class should be refactored to make use of java.util.regexp.* instead.

--
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




[jira] [Created] (COCOON3-98) RegexpLinkRewriterTransformer doesn't guarantees rules order

2012-04-12 Thread Javier Puerto (Created) (JIRA)
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


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




[jira] [Updated] (COCOON3-98) RegexpLinkRewriterTransformer doesn't guarantees rules order

2012-04-12 Thread Javier Puerto (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON3-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Javier Puerto updated COCOON3-98:
-

Attachment: LinkRewriterTransformer-COCOON-98.diff

* Switch MapPattern, String to ListRule
* Add new position parameter (optional).


 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




[jira] [Commented] (COCOON3-98) RegexpLinkRewriterTransformer doesn't guarantees rules order

2012-04-12 Thread Thorsten Scherler (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON3-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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