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

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          6h 2m 1 Alexis Midon 23/Jul/08 00:55
          Alexis Midon made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          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
          Alexis Midon made changes -
          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.

          Which can be summed up in: take the content of the first encountered text node.
          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.]
          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.
          Alexis Midon made changes -
          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.

          Which can be sum up in: take the content of the first encountered text node.
          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.

          Which can be summed up in: take the content of the first encountered text node.
          Alexis Midon made changes -
          Field Original Value New Value
          Link This issue blocks ODE-306 [ ODE-306 ]
          Alexis Midon created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development