Skip to content

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

Description

@lognaturel

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions