[ 
http://issues.apache.org/jira/browse/AXIS-2139?page=comments#action_12317973 ] 

Venkat Reddy commented on AXIS-2139:
------------------------------------

I agree with Steve - need to fix the bug which is setting the envelope as dirty 
after deser. I think it makes sense to be able to replay the sax recorder for 
desig verification just after deserialization.

However, if the any element of the message is modified later, then it should be 
optimized during serialization, which also involves in removal of ignorable 
whitespace whithin THIS element. I think the real fix is to ensure that the 
other un-touched parts of the message are still serialized using SAX recorder 
as long as possible.

- venkat


> SAX recorder is dirty after deserialization
> -------------------------------------------
>
>          Key: AXIS-2139
>          URL: http://issues.apache.org/jira/browse/AXIS-2139
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Steve Green
>     Assignee: Venkat Reddy
>     Priority: Blocker
>  Attachments: Test2139.java, test.java, test.java
>
> During parsing of a message, SAX events are stored in the recorder, and 
> MessageElement objects are created.  The insertion of the new MessageElements 
> are setting _isDirty, and thus invalidating the recorder for serialization.  
> In my particular case, this breaks digital signatures becuase the 
> MessageElement DOM is incomplete (it's missing some whitespace text nodes).  
> It seems to me that it doesn't make sense to dirty the recorder during 
> recording itself.  This problem seemed to be created at version 1.13 of 
> NodeImpl.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to