ODE
  1. ODE
  2. ODE-344

Support element for headers and query strings

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Axis2 Integration
    • Labels:
      None

      Description

      So far, parts bound to HTTP headers or encoding withe url-encoded/x-www-form-urlencoded must be simple types.
      This improvement aims at support elements too.

      So for a given part A, if A as a text-node, take the content of that node ;
      else check if a child element exists and take the text content of that element.

      ignore the next sentence plz.
      [Which can be summed up in: take the content of the first encountered text node.]

        Issue Links

          Activity

          Hide
          Alexis Midon added a comment -

          patch submitted in trunk and 1.X

          Show
          Alexis Midon added a comment - patch submitted in trunk and 1.X
          Hide
          Assaf Arkin added a comment -

          Mixed content is the root of all unexplained bugs.

          If the element is simple type, we can say that mapping that element is the same as mapping its content (i.e. all its text nodes). If the element is complex type, something is wrong, throw a selection fault. If someone really meant to discard the element contents except for the text nodes, they can say so explicitly using XPath.

          Show
          Assaf Arkin added a comment - Mixed content is the root of all unexplained bugs. If the element is simple type, we can say that mapping that element is the same as mapping its content (i.e. all its text nodes). If the element is complex type, something is wrong, throw a selection fault. If someone really meant to discard the element contents except for the text nodes, they can say so explicitly using XPath.

            People

            • Assignee:
              Unassigned
              Reporter:
              Alexis Midon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development