Mbaroudi / puelia-php

Automatically exported from code.google.com/p/puelia-php
0 stars 0 forks source link

Empty results should mean empty items element or array #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
With the attached configuration, try:

  http://localhost/transport/doc/country/Wales/region.xml
  http://localhost/transport/doc/country/Wales/region.json

The result has no items in it. The XML contains:

  <items>
    <item href="" />
  </items>

when it should just contain <items />.

Similarly, the JSON contains:

  items: [
    { "_about": null } 
  ]

when it should contain:

  items: []

Original issue reported on code.google.com by jeni.ten...@gmail.com on 31 May 2010 at 1:26

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by K.J.W.Al...@gmail.com on 7 Jun 2010 at 6:10

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r89.

Original comment by K.J.W.Al...@gmail.com on 7 Jun 2010 at 6:10