Skip to content
Permalink
Browse files
FIx test and remove println
git-svn-id: https://svn.apache.org/repos/asf/cxf/trunk@1540859 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dkulp committed Nov 11, 2013
1 parent 1c96e19 commit e24ab14ef6ad54e6d7f79d79a48b27821acfee55
Showing 1 changed file with 3 additions and 2 deletions.
@@ -845,10 +845,11 @@ public void testExceptionList() throws Exception {
assertTrue(nd.getAttribute("type").endsWith(":myData"));


nd = (Element)util.getValueNode("//xsd:element[@name='address']", doc);
StaxUtils.print(nd);
nd = (Element)util.getValueNode("//xsd:complexType[@name='ListException2']"
+ "/xsd:sequence/xsd:element[@name='address']", doc);
assertNotNull(nd);
assertEquals("0", nd.getAttribute("minOccurs"));
assertEquals("unbounded", nd.getAttribute("maxOccurs"));
assertTrue(nd.getAttribute("type").endsWith(":myData"));
}

0 comments on commit e24ab14

Please sign in to comment.