Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constraints for valid EtherCalc #136

Open
amir-zeldes opened this issue May 10, 2019 · 1 comment
Open

Constraints for valid EtherCalc #136

amir-zeldes opened this issue May 10, 2019 · 1 comment

Comments

@amir-zeldes
Copy link
Contributor

Spreadsheet:

  • Token column exists - it is left most and labeled 'tok' as a header, has no merged spans
  • All columns with any filled cell have a header
  • All headers should look like [A-Za-z0-9_]+ (tentative suggestion)
  • We should either forbid explicit [<>&"] in cells or make sure they are escaped on all in/output comms with EtherCalc

Metadata:

  • No odd characters in metadata names, e.g. chapter@type
  • Similar escaping measures for metadata contents as EtherCalc cells
  • No tabs anywhere in metadata (bad for ANNIS export, TT format)
  • Keys and values should be stripped on entry (e.g. accidentally pasted trailing tabs from Excel, new lines..)

Violations of these constraints should throw hard wired errors to the dashboard/editor validation (no rules need to be defined for these to run, and the interfaces can skip other validations until these are resolved).

@amir-zeldes
Copy link
Contributor Author

@lgessler - let's use this issue to brainstorm data model constraints for GD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant