commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33001] - [digester] Make <set-nested-properties-rule> available
Date Fri, 14 Jan 2005 11:54:54 GMT
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=33001>.
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=33001





------- Additional Comments From skitching@apache.org  2005-01-14 12:54 -------
Re patch for addressbook example: I'm not keen to apply this in its current
form, as it removes the current demonstration of how to pass an element's body
text to a target method (name element's body -> setName method). 

And in general I'm not sure it's good form to use set-nested-properties for
classes where some of the child elements are not properties, even though the
"allowUnknownChildElements" flag can be used to make this possible. It certainly
wasn't what I expected this rule to be used for when I wrote it! Maybe for
classes where there are *lots* of child elements mapping to properties it makes
sense, but in this case there is only one property!

It would be nice to have an example of set-nested-properties somewhere though;
perhaps you could think of some way to extend the existing example, or come up
with a separate example?

BTW: I've added you to the list of contributors for digester. You'll appear here:
  http://jakarta.apache.org/commons/digester/team-list.html
after the next website update.

-- 
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message