[jira] [Created] (AXIS2-5888) adb-tests ExtensionTest failure for wrong element

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (AXIS2-5888) adb-tests ExtensionTest failure for wrong element

JIRA jira@apache.org
Martin Gainty created AXIS2-5888:
------------------------------------

             Summary: adb-tests ExtensionTest failure for wrong element
                 Key: AXIS2-5888
                 URL: https://issues.apache.org/jira/browse/AXIS2-5888
             Project: Axis2
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.8.0
         Environment: jdk 1.8.0
maven 3.3.3
Axis2-1.8.0-SNAPSHOT
            Reporter: Martin Gainty


//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();




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]