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=28704>. 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=28704 [PATCH] Allow XConfToolTask to modify multiple attributes Summary: [PATCH] Allow XConfToolTask to modify multiple attributes Product: Cocoon 2 Version: Current CVS 2.1 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The attached patch allows XConfToolTask to modify multiple attributes in a single file. This is very useful in updating the pool parameters. The immplemmentation requires that attributes names start with "add-attribute-". What follows the '-' is the attribute name. The value specified for this will become the value of the attribute. For example, the following will modify the pool-max, pool-min, and pool-grow attributes on the file generator. In addition, it suppresses the comments that would normally be inserted. This is useful when several patches are applied, some of which add new content while some only modify attributes. <xmap xpath="/sitemap/components/generators/[EMAIL PROTECTED]'file']" add-attribute-pool-max="100" add-attribute-pool-min="25" add-attribute-pool-grow="5" add-comments="false" />