-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Invalid
-
Affects Version/s: 1.8.0
-
Fix Version/s: None
-
Component/s: adb
-
Labels:None
-
Environment:jdk 1.8.0
maven 3.3.3
Axis2-1.8.0-SNAPSHOT
//this fixes missing currencyElement from SimpleExtensionTest::testPaymentAmountElementParse:
//create the currency element
OMElement subElement = factory.createOMElement(new QName("http://apache.org/axis2/schema/extension", "currency"));
//add subElement to element
element.addChild(subElement);
//now create the XMLStreamReader from element (with subelement currency)
XMLStreamReader reader=element.getXMLStreamReader();