Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 87815 invoked from network); 8 Sep 2003 11:14:42 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Sep 2003 11:14:42 -0000 Received: (qmail 15086 invoked by uid 500); 8 Sep 2003 11:14:30 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 15052 invoked by uid 500); 8 Sep 2003 11:14:30 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Delivered-To: moderator for axis-dev@ws.apache.org Received: (qmail 6458 invoked from network); 8 Sep 2003 11:11:02 -0000 X-Authentication-Warning: mail.prologistics.co.uk: Host colint.local [172.16.101.137] claimed to be ColinT From: "Colin Taylor" To: Cc: Subject: Patch for Bug 22980 Date: Mon, 8 Sep 2003 12:09:43 +0100 Message-ID: <000301c375f9$b5198180$896510ac@ColinT> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0004_01C37602.16DDE980" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Message: Scanned for viruses by Efinity http://www.smtnet.co.uk/efinity X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------=_NextPart_000_0004_01C37602.16DDE980 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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. ------=_NextPart_000_0004_01C37602.16DDE980 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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

>

>       &nbs= p;     // Reset the currentDefaultNS to = ignore the frame just removed.

>       &nbs= p;     currentDefaultNS =3D top;

>

 

Cheers,

 

Colin.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D

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.

 

------=_NextPart_000_0004_01C37602.16DDE980--