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=34466>. 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=34466 Summary: [digester] SetNestedPropertiesRule should behave like SetNextRule Product: Commons Version: 1.6 Final Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Digester AssignedTo: commons-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Currently, SetNestedPropertiesRule really expects all the child elements to simply contain body text that can be converted to some primitive type via ConvertUtils for assignment to a java bean property. However quite often one of the elements will be matched by an ObjectCreateRule, is represents a child object. Currently, it is necessary to use a SetNestedPropertiesRule constructor variant to ignore this particular child element, and add a SetNextRule to do the assignment instead. I think it may be possible for SetNestedPropertiesRule to detect this situation and effectively emulate SetNextRule instead, making handling of this situation clean and intuitive. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]