Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5888

adb-tests ExtensionTest failure for wrong element

    XMLWordPrintableJSON

    Details

    • 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

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mgainty@hotmail.com Martin Gainty
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: