getodk / getodk/xforms-spec

Clarify how whitespace should be treated in secondary instance property names and values

Open Beginner friendly
#351 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
34
Forks
28
Avg merge
27m
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the specification sections covering CSV column names, GeoJSON properties, and secondary instance values, then review their current whitespace wording. Done means the text consistently rejects leading or trailing whitespace in property names and preserves value whitespace exactly for both formats.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.