Author: alessio.soldano(a)jboss.com
Date: 2008-02-28 09:27:47 -0500 (Thu, 28 Feb 2008)
New Revision: 5848
Modified:
stack/native/trunk/src/main/java/org/jboss/ws/core/soap/SOAPContentElement.java
Log:
[JBWS-1974] Overriding siblings retrieval methods in SOAPContentElement to correctly
transit the model to DOM_VALID when using the DOMWriter
Modified: stack/native/trunk/src/main/java/org/jboss/ws/core/soap/SOAPContentElement.java
===================================================================
---
stack/native/trunk/src/main/java/org/jboss/ws/core/soap/SOAPContentElement.java 2008-02-28
14:19:53 UTC (rev 5847)
+++
stack/native/trunk/src/main/java/org/jboss/ws/core/soap/SOAPContentElement.java 2008-02-28
14:27:47 UTC (rev 5848)
@@ -518,8 +518,22 @@
return super.hasAttributes();
}
+ public org.w3c.dom.Node getPreviousSibling()
+ {
+ log.trace("getPreviousSibling");
+ expandToDOM();
+ return super.getPreviousSibling();
+ }
+
+ public org.w3c.dom.Node getNextSibling()
+ {
+ log.trace("getNextSibling");
+ expandToDOM();
+ return super.getNextSibling();
+ }
+
// END Node interface
***********************************************************************************************
-
+
public void writeElement(Writer writer) throws IOException
{
if (soapContent instanceof DOMContent)
Show replies by date