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

adb-tests ExtensionTest failure for wrong element

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 1.8.0
    • None
    • adb
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: