Venkat,
all-tests failing with these changes. can you please recheck?
thanks,
dims
On 3 Aug 2005 10:26:28 -0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> venkat 2005/08/03 03:26:28
>
> Modified: java/src/org/apache/axis/encoding
> DeserializationContext.java
> java/src/org/apache/axis/message NodeImpl.java
> Log:
> Fix for AXIS-2139. Reset the envelop to clean state immediately after it is
> parsed.
>
> Revision Changes Path
> 1.64 +1 -0
> ws-axis/java/src/org/apache/axis/encoding/DeserializationContext.java
>
> Index: DeserializationContext.java
> ===================================================================
> RCS file:
> /home/cvs/ws-axis/java/src/org/apache/axis/encoding/DeserializationContext.java,v
> retrieving revision 1.63
> retrieving revision 1.64
> diff -u -r1.63 -r1.64
> --- DeserializationContext.java 12 Feb 2005 04:41:20 -0000 1.63
> +++ DeserializationContext.java 3 Aug 2005 10:26:28 -0000 1.64
> @@ -242,6 +242,7 @@
> }
> inputSource = null;
> }
> + envelope.reset();
> }
>
> /**
>
>
>
> 1.17 +9 -0 ws-axis/java/src/org/apache/axis/message/NodeImpl.java
>
> Index: NodeImpl.java
> ===================================================================
> RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/message/NodeImpl.java,v
> retrieving revision 1.16
> retrieving revision 1.17
> diff -u -r1.16 -r1.17
> --- NodeImpl.java 20 Jun 2005 22:50:52 -0000 1.16
> +++ NodeImpl.java 3 Aug 2005 10:26:28 -0000 1.17
> @@ -839,4 +839,13 @@
> ((NodeImpl) parent).setDirty(true);
> }
> }
> + /* clear dirty flag recursively */
> + public void reset() {
> + if (children != null) {
> + for (int i=0; i<children.size(); i++) {
> + ((NodeImpl) children.get(i)).reset();
> + }
> + }
> + this._isDirty = false;
> + }
> }
>
>
>
>
--
Davanum Srinivas -http://blogs.cocoondev.org/dims/