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=15015>. 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=15015 Fix to NSStack problem Summary: Fix to NSStack problem Product: Axis Version: current (nightly) Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Basic Architecture AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] org.apache.axis.utils.NSStack does not properly clear namespaces at the close of an element. The current code appears to assume that namespaces will be reported by SAX after the start of the element, while SAX specifies they'll be reported before the start of the element. The current code accumulates namespace declarations on the stack, potentially reaching thousands of entries (in tests with about 1400 multiRef items the stack depth reached 2800+) and resulting in exponential increase in overhead for RPC messages with large numbers of objects. Applying this patch resulted in a >2X increase in performance for the 1400 item case. This is probably the fix for bug 11945, but in the absence of test code I'm entering it as a separate bug.