Author: jim.ma
Date: 2010-04-01 11:42:48 -0400 (Thu, 01 Apr 2010)
New Revision: 11923
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2975/JAXBSerializerTestCase.java
Log:
[JBWS-2975]:Minor change,correct the lines to call DOMUtils
Modified:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2975/JAXBSerializerTestCase.java
===================================================================
---
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2975/JAXBSerializerTestCase.java 2010-04-01
15:40:56 UTC (rev 11922)
+++
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2975/JAXBSerializerTestCase.java 2010-04-01
15:42:48 UTC (rev 11923)
@@ -79,7 +79,7 @@
List<Element> elements = DOMUtils.getChildElementsAsList(element,
"return");
for (Element ele : elements)
{
- String typeValue = DOMUtil.getAttrValueNS(ele,
"http://www.w3.org/2001/XMLSchema-instance", "type");
+ String typeValue = DOMUtils.getAttributeValue(ele, new
QName("http://www.w3.org/2001/XMLSchema-instance", "type"));
assertEquals("The namespace prefix is not serialized", true
,typeValue.indexOf(":") > 0);
}
//cleanup the mock object