This currently varies by implementation. Notably, Enketo strips whitespace from CSV column header names.
I think we should preserve values exactly and reject files with leading/trailing whitespace in property names.
The spec phrasing would be:
- for CSV: Column names MUST NOT contain leading or trailing whitespace.
- for geojson: Members of
properties MUST NOT contain leading or trailing whitespace in their names.
- values: Processors MUST preserve whitespace in values exactly as represented in the source document.
This currently varies by implementation. Notably, Enketo strips whitespace from CSV column header names.
I think we should preserve values exactly and reject files with leading/trailing whitespace in property names.
The spec phrasing would be:
propertiesMUST NOT contain leading or trailing whitespace in their names.