digital-preservation / csv-schema

CSV Schema
http://digital-preservation.github.io/csv-schema
Mozilla Public License 2.0
100 stars 33 forks source link

allow is to take multiple comma separated values as alternative to large or statements #5

Closed DavidUnderdown closed 8 years ago

DavidUnderdown commented 9 years ago

One of the digital archivists tried to wrtie the syntax is("value1","value2") rather than is("value1") or is("value2"). Obviously this doesn't work currently, but as it was actually using an ExplicitContextExpr too(ie referring to the value of another column) it made for a much more compact expression, so this might be worth considering for later versions of the schema language.

DavidUnderdown commented 8 years ago

To be implemented as the new Any Expression, see Issue 19 in the CSV Validator repository

DavidUnderdown commented 8 years ago

Included in 1.1 release, see Commit 22850f5