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 ve...@apache.org on 2008/12/22 14:06:00 UTC
svn commit: r728674 -
/webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPEnvelopeTest.java
Author: veithen
Date: Mon Dec 22 05:06:00 2008
New Revision: 728674
URL: http://svn.apache.org/viewvc?rev=728674&view=rev
Log:
Fixed invalid test case: Element#getNamespaceURI returns null (instead of "") if the element has no namespace. The behavior of this method was changed in Axiom r728554 to make it compliant with DOM specs.
Modified:
webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPEnvelopeTest.java
Modified: webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPEnvelopeTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPEnvelopeTest.java?rev=728674&r1=728673&r2=728674&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPEnvelopeTest.java (original)
+++ webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPEnvelopeTest.java Mon Dec 22 05:06:00 2008
@@ -603,7 +603,7 @@
obj = iter.next();
assertTrue(obj instanceof SOAPElement);
soapElement = (SOAPElement)obj;
- assertEquals("", soapElement.getNamespaceURI());
+ assertNull(soapElement.getNamespaceURI());
assertEquals("symbol", soapElement.getLocalName());
assertFalse(iter.hasNext());