Author: alessio.soldano(a)jboss.com
Date: 2010-03-12 13:37:07 -0500 (Fri, 12 Mar 2010)
New Revision: 11776
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/XMLContent.java
Log:
[JBWS-2940] Setting namespace prefix after copying attributes on transition bewteen
XML_VALID and DOM_VALID
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/XMLContent.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/XMLContent.java 2010-03-12
18:35:43 UTC (rev 11775)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/XMLContent.java 2010-03-12
18:37:07 UTC (rev 11776)
@@ -39,8 +39,8 @@
import org.jboss.ws.Constants;
import org.jboss.ws.WSException;
import org.jboss.ws.core.CommonMessageContext;
+import org.jboss.ws.core.binding.AbstractDeserializerFactory;
import org.jboss.ws.core.binding.BindingException;
-import org.jboss.ws.core.binding.AbstractDeserializerFactory;
import org.jboss.ws.core.binding.DeserializerSupport;
import org.jboss.ws.core.binding.SerializationContext;
import org.jboss.ws.core.binding.TypeMappingImpl;
@@ -322,6 +322,7 @@
Document ownerDoc = container.getOwnerDocument();
DOMUtils.copyAttributes(container, domElement);
+ container.setPrefix(domElement.getPrefix());
SOAPFactoryImpl soapFactory = new SOAPFactoryImpl();
Show replies by date