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 bu...@apache.org on 2002/11/05 19:09:37 UTC
DO NOT REPLY [Bug 14134] -
QName Attributes lose namespace mapping in MessageElement after Serialization.
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=14134>.
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=14134
QName Attributes lose namespace mapping in MessageElement after Serialization.
------- Additional Comments From chrisw@wolfram.com 2002-11-05 18:09 -------
Here is the cvs diff for the fix that I promised. Essentially the QName
Attributes do not get set to null. They stay around and get set (rather than
added) everytime the MessageElement is output. Hence the namespace is
remembered and the namespace mapping is done in the SerializationContext.
===================================================================
RCS file: /home/cvspublic/xml-
axis/java/src/org/apache/axis/message/MessageElement.java,v
retrieving revision 1.133
diff -r1.133 MessageElement.java
730c730
< addAttribute(attrName.getNamespaceURI(),
---
> setAttribute(attrName.getNamespaceURI(),
734d733
< qNameAttrs = null;
*****CVS exited normally with code 1*****