Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1361

xpath fails when chile elements are prefixed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 1.7.0
    • xml/om
    • None

    Description

      xpath
      Envelope/Header/Topic

      does not work for following

      <?xml version="1.0" encoding="UTF-8"?>
      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
      <aip:Topic xmlns:aip="http://apache.org/aip">synapse/event/test</aip:Topic>
      .....
      .....

      But work for
      <Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
      <Topic xmlns:aip="http://apache.org/aip">synapse/event/test</aip:Topic>
      .....
      .....

      Attachments

        1. test_xpath.c
          4 kB
          Pallewela Perera

        Activity

          People

            Unassigned Unassigned
            damitha Damitha N.M. Kumarage
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: