You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Colin Taylor <co...@prolog.uk.com> on 2003/09/08 13:09:43 UTC

Patch for Bug 22980

Hi all,
 
I have a patch for Bug 22980. The problem stems from the NSStack class
which does not correctly reset default namespaces when unrolling the
topmost frame. It starts searching for the previous default namespace
from the wrong location (by including the just removed frame). Here is
the patch:
 
Index: NSStack.java
=========================================================
RCS file:
/home/cvspublic/xml-axis/java/src/org/apache/axis/utils/NSstack.java,v
retrieving revision 1.38
diff -r1.38 NSStack.java
125a126,129
>
>             // Reset the currentDefaultNS to ignore the frame just
removed.
>             currentDefaultNS = top;
>
 
Cheers,
 
Colin.
=========================================
Colin Taylor
Systems
Promotional Logistics Ltd.
 
Email: colin.taylor@prolog.uk.com
Tel: (01623) 754 902
 
This electronic transmission is strictly confidential and intended
solely for the addressee(s). If you have received this message in error
please return it to the originator immediately and delete it from your
computer.   If you are not the intended recipient you should not use,
copy, alter or disclose the contents of this message.   All information
or opinion expressed in this communication and/or any attachments are
those of the author and not necessarily those of the company.   The
company accepts no responsibility for loss or damage arising from its
use, including damage from viruses or other harmful content.