DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31329>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31329 [PATCH] Support for evaluating a predicate when determining if a rule is valid for a given element ------- Additional Comments From [EMAIL PROTECTED] 2004-09-22 23:18 ------- I'm definitely interested in this patch. I've always thought it useful to be able to fire rules only when certain elements have attributes with certain values (eg "<address> elements, but only when <address> has attribute "type" set to "email"). I'm sure that people will have other conditions they want to check for. I think the "proper" solution is probably to have a more expressive (xpath-like?) pattern syntax but that is a lot of work; having predicates associated with patterns is probably much more feasable. I will try to find time to review the code within the next week, if someone doesn't beat me to it. One note: we have put some effort recently into breaking the dependency between Digester and Collections. So adding a dependency specifically on the collections Predicate class may not be a good idea. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
