/api/xml?xpath=...&wrapper=... works unexpectedly if result node list size <=1

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      If the result has >=2 elements, you get <wrapper>...results...</wrapper> as you
      expect. But if it has 1 element, you get that element with no wrapper. And if it
      has no elements, you get an (HTML!) error page. While this may be pleasant for
      interactive experimentation, it makes writing a WS client harder.

            Assignee:
            Jesse Glick
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: