axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22980] - Header elements defining their own default namespace cause problems
Date Mon, 08 Sep 2003 11:18:45 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=22980>.
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=22980

Header elements defining their own default namespace cause problems





------- Additional Comments From dims@yahoo.com  2003-09-08 11:18 -------
--- Colin Taylor <colin.taylor@prolog.uk.com> wrote:
> 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
>

Mime
View raw message