DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5791>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5791 RegExp Matcher always matches "" as positive! Summary: RegExp Matcher always matches "" as positive! Product: Cocoon 2 Version: 2.1alpha CVS Platform: All OS/Version: All Status: NEW Severity: Blocker Priority: Other Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Unlike the WildcardMatcher, when you have a sitemap pipeline like this: <map:match uri=""> <map:redirect-to href="index.html"/> </map:match> the RegExpURIMatcher always matches this in the positive. If you use this construct in your Sitemap, you will never get your expected result and the first request will throw Cocoon into a virtually infinite loop. The _only_ way out of the infinite loop is the StackOverflowException thrown by the JVM. I believe the exception is only thrown in the command line invocation due to the fact that it keeps wrapping Requests ad infinitum. The expected result of matching "" should be when you match the root URI only. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]