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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: core
    • None
    • Environment:
      Platform: All, OS: All

      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
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: