cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17984] New: - SQLTransformer only handles nested or sequential queries
Date Fri, 14 Mar 2003 04:31:32 GMT
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: cocoon-dev@xml.apache.org
        ReportedBy: jeffs@envworld.com


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.

Mime
View raw message