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 "Jayachandra Sekhara Rao Sunkara (JIRA)" <ax...@ws.apache.org> on 2004/12/08 13:13:10 UTC

[jira] Commented: (AXIS-1671) When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.

     [ http://nagoya.apache.org/jira/browse/AXIS-1671?page=comments#action_56378 ]
     
Jayachandra Sekhara Rao Sunkara commented on AXIS-1671:
-------------------------------------------------------

Made an attempt to turn _isDirty flag to true whenever new attributes are added. Since this (addAttribute) is an overloaded function, after looking at their call hierarchies, I basically added code so that for all the method calls the dirty flag gets set to true before the method call returns. Here I'm attaching the 'cvs -q diff -u' file (1671_diff.txt) as a patch.

Thank you,
Jayachandra

> When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.
> ---------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1671
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1671
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Steve Green
>     Priority: Minor
>  Attachments: 1671_diff.txt, AttrTest.java
>
> When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.  It seems that a call to setDirty() should have been done, perhaps in addAttribute() itself.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira