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=17984>. 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=17984 SQLTransformer only handles nested or sequential queries Summary: SQLTransformer only handles nested or sequential queries Product: Cocoon 2 Version: 2.0.4 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Enhancement Priority: Other Component: sitemap components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The SQLTransformers never executes queries if there is a combination of nested and sequential queries in the same transformation step. In following the execute-query start and end tags, let's say the xml input document opens 2, closes 1, opens 1, and closes 2. The first time an execute-query tag is closed, the current_query_index variable is decremented. Then, when the next execute-query tag is openned the current_query_index is assigned to the size of the queries vector (the value jumps from 1 to 3). There are only 2 more execute-query end tags left, so the current_query_index variable is decremented down to 1 -- it never reaches zero and the execute_query method never gets called.