Author: ropalka
Date: 2012-05-03 07:20:02 -0400 (Thu, 03 May 2012)
New Revision: 16228
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/Message.properties
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/NodeImpl.java
Log:
[JBWS-3470] fixing infinite loop in NodeImpl
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/Message.properties
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/Message.properties 2012-04-30
10:29:18 UTC (rev 16227)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/Message.properties 2012-05-03
11:20:02 UTC (rev 16228)
@@ -41,8 +41,8 @@
INCONSISTENT_NODE=Inconsistent node, child lists not synchronized
CANNOT_FIND_REFCHILD=Cannot find refChild in list of javax.xml.soap.Node children
-NO_SOAP_PARENT=Inconsistent node, has a DOM parent but no SOAP parent [{0}] {1}
-NOT_IDENTICAL_WITH_DOM_PARENT=Inconsistent node, SOAP parent is not identical with DOM
parent [{0}] {1}
+NO_SOAP_PARENT=Inconsistent node, has a DOM parent but no SOAP parent [{0}]
+NOT_IDENTICAL_WITH_DOM_PARENT=Inconsistent node, SOAP parent is not identical with DOM
parent [{0}]
UNABLE_TO_CREATE_FAULT_DETAIL=Unable to create fault detail
UNSUPPORTED_ENCODING=Unsupported encoding: {0}
CANNOT_WRITE_SOAP_ELEMENT=Cannot write SOAP element
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/NodeImpl.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/NodeImpl.java 2012-04-30
10:29:18 UTC (rev 16227)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/soap/NodeImpl.java 2012-05-03
11:20:02 UTC (rev 16228)
@@ -585,9 +585,9 @@
{
org.w3c.dom.Node domParent = domNode.getParentNode();
if (domParent != null && soapParent == null)
- throw new WSException(BundleUtils.getMessage(bundle, "NO_SOAP_PARENT",
new Object[]{ this , DOMWriter.printNode(this, false)}));
+ throw new WSException(BundleUtils.getMessage(bundle, "NO_SOAP_PARENT",
new Object[]{ this }));
if (domParent != null && soapParent != null && domParent !=
soapParent.domNode)
- throw new WSException(BundleUtils.getMessage(bundle,
"NOT_IDENTICAL_WITH_DOM_PARENT", new Object[]{ this , DOMWriter.printNode(this,
false)}));
+ throw new WSException(BundleUtils.getMessage(bundle,
"NOT_IDENTICAL_WITH_DOM_PARENT", new Object[]{ this }));
}
// END org.w3c.dom.Node
*******************************************************************************************
Show replies by date