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=31546>.
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=31546

[PATCH] Serializers: bug in pop(...) of namespaces stack

           Summary: [PATCH] Serializers: bug in pop(...) of namespaces stack
           Product: Cocoon 2
           Version: 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: blocks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The 'pop(...)' method of Namespaces decreases the depth each time the for-loop 
checks its condition. Because of this the stack shrinks faster than it should. 
This patch moves the modification of the depth to after the for-loop.

Reply via email to