w3c / csvw

Documents produced by the CSV on the Web Working Group
Other
163 stars 57 forks source link

JSON-tests 030 and 031 includes a spurious object for an empty row #385

Closed 6a6d74 closed 9 years ago

6a6d74 commented 9 years ago

Looking at manifest-json#test030: countries.json example and manifest-json#test031: countries.json example I see that the results includes a spurious object for an empty row ... e.g. result for the standard mode output:

        {
          "url": "http://w3c.github.io/csvw/tests/test030/countries.csv#row=5",
          "rownum": 4,
          "describes": [
            {
              "@id": "http://example.org/countries.csv#",
              "http://www.geonames.org/ontology#countryCode": "",
              "schema:latitude": "",
              "schema:longitude": "",
              "schema:name": ""
            }
          ]
        }

Both of the input files (test030/countries.csv and test030/country_slice) each only have 1 header row and 3 data rows.

6a6d74 commented 9 years ago

FWIW, both the equivalent RDF tests do this too.

6a6d74 commented 9 years ago

I see you have fixed this. Closing issue.