Axis2-C
  1. Axis2-C
  2. AXIS2C-787

axutil_qname_to_string serialize with the prefix.

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.7.0
    • Component/s: util
    • Labels:
      None
    • Environment:
      Linux Ubuntu, But this is a bug in every platform

      Description

      Currently the axutil_qname_to_serialize function serialize the qname with the prefix.
      "localpart|namespace_uri|prefix"

      This cause problems in comparing qnames,

      I.e. although axutil_qname_equals has get rid of this using different approaches (just not comparing prefixes), In other places like axiom this serialized strings kept in the hashes. (e.g. attribute hash in the element).
      This leads axiom_element_get_attribute not to work on occasions where the prefix of the given qname is different. This is a problem for interoperability.

      I think these bugs can be fixed if we remove the prefix in the serialized string generated from axutil_qname_to_string

        Activity

          People

          • Assignee:
            Nandika Jayawardana
            Reporter:
            Dimuthu Gamage
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development