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 "Martin Gainty (JIRA)" <ji...@apache.org> on 2017/09/22 00:04:01 UTC

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

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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org