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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1h 45m 1 Ruchith Udayanga Fernando 09/Dec/05 17:07
        Ruchith Udayanga Fernando made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.94 [ 12310671 ]
        Hide
        Ruchith Udayanga Fernando added a comment -

        Fixed the findDeclaredNamespace method in OMElementImpl to recognize the "xml" prefix and "http://www.w3.org/XML/1998/namespace" namespace.

        Show
        Ruchith Udayanga Fernando added a comment - Fixed the findDeclaredNamespace method in OMElementImpl to recognize the "xml" prefix and "http://www.w3.org/XML/1998/namespace" namespace.
        Ruchith Udayanga Fernando made changes -
        Field Original Value New Value
        Assignee Ruchith Udayanga Fernando [ ruchith ]
        Sanka Samaranayake created issue -

          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