digital-preservation / csv-schema

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

starts vs startsWith in docs #11

Closed glebsts closed 8 years ago

glebsts commented 8 years ago

Hello, just discovered your tool, planning to use in continuous validation process, thank you. Writing my first csvs ^-^ 1.1 and 1.2 docs contain following

[41] StartsWithExpr ::= "starts(" StringProvider ")"

while samples use 'startsWith'. Same for 'ends'. Is that correct?

DavidUnderdown commented 8 years ago

@glebsts - thanks for the feedback, it should just be starts and ends: I'll update the samples when I get chance.

DavidUnderdown commented 8 years ago

fixed by 2c307b4 and 6dd5f3c

mhGLEIF commented 5 years ago

Noted this too. The example is still there:

http://digital-preservation.github.io/csv-schema/csv-schema-1.1.html#ex-15-example-15-a_column-startswith-some-string-the-value-of-a_column-must-start-with-the-string-some-string-eg-some-strings-or-some-string-is-here-that-s-really-long-another_column-startswith-a_column-the-value-of-another_column-must-start-with-the-contents-of-a_column

DavidUnderdown commented 5 years ago

Apologies I updated only the master branch previously, rather than the gh-pages branch from which the GitHub pages documentation is generated. Should be fixed now.