Axis2
  1. Axis2
  2. AXIS2-329

StAXOMBuilder omits setting for the namespace that is bound to xml prefix

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.94
    • Component/s: om
    • Labels:
      None
    • Environment:
      Ubuntu Linux 5.04, Java 1.4.2_09,Eclipse 3.0.2

      Description

      StxOMBuilder omits the settings for the namespace that is bound to the xml prefix. Hence it always return NULL for any attribute value which is bound to that namespace.

      e.g.
      <wsp:Policy xml:base="uri:thisBase"
      xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
      ...
      </wsp:Policy>

      The attribute 'xml:base' always returns as NULL in the corresponding OMElement. The namespace bound to xml prefix is fixed and should be wired in any parser that is namespace aware.

        Activity

        Sanka Samaranayake created issue -
        Ruchith Udayanga Fernando made changes -
        Field Original Value New Value
        Assignee Ruchith Udayanga Fernando [ ruchith ]
        Ruchith Udayanga Fernando made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.94 [ 12310671 ]

          People

          • Assignee:
            Ruchith Udayanga Fernando
            Reporter:
            Sanka Samaranayake
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development