3 Commits

Author SHA1 Message Date
4bd604c7bb Fix typo 2018-06-29 12:33:05 +01:00
547fdd6c2f Bump version to 0.9.0-draft.2 2017-10-08 16:23:31 +01:00
b1db3147d7 Minor formatting and wording tweaks 2017-10-08 16:22:56 +01:00
2 changed files with 8 additions and 7 deletions

View File

@@ -1 +1 @@
0.9.0-draft.1 0.9.0-draft.2

View File

@@ -32,8 +32,8 @@ Roadmap
------- -------
1. Write up core specification rules. _[in-progress]_ 1. Write up core specification rules. _[in-progress]_
2. Create input/output test files covering all rules in the specification. 2. ~Create website for [csv-spec.org](http://csv-spec.org/).~ _**[done]**_
3. Create website for [csv-spec.org](http://csv-spec.org/). 3. Create input/output test files covering all rules in the specification.
4. Create linting tool as a NPM module, allowing easy validation of CSV data 4. Create linting tool as a NPM module, allowing easy validation of CSV data
both client-side in a web browser, and server side via a command line tool. both client-side in a web browser, and server side via a command line tool.
5. Create automatic delimiter character detection code snippets in various 5. Create automatic delimiter character detection code snippets in various
@@ -47,7 +47,7 @@ Terminology
- **Record** (or **Row**) — A collection of fields. This is often referred to as - **Record** (or **Row**) — A collection of fields. This is often referred to as
a "line", but a single record can span multiple text lines if a field within a "line", but a single record can span multiple text lines if a field within
it contains one or more line breaks. it contains one or more line breaks.
- **Delimiter** — The character used to separate fields withing a row. Commonly - **Delimiter** — The character used to separate fields within a row. Commonly
this will be a comma (`,`), but semi-colons (`;`) or tabs (`\t`) are two other this will be a comma (`,`), but semi-colons (`;`) or tabs (`\t`) are two other
popular delimiter characters. popular delimiter characters.
- **Header** — The first row is often used to contain the column names for all - **Header** — The first row is often used to contain the column names for all
@@ -56,9 +56,9 @@ Terminology
- **Line Break** — Line breaks in CSV files can be CRLF (`\r\n`), LF (`\n`), and - **Line Break** — Line breaks in CSV files can be CRLF (`\r\n`), LF (`\n`), and
even in rare cases CR (`\r`). even in rare cases CR (`\r`).
- **LF, CR, and CRLF** — Different types of line breaks, typically determined by - **LF, CR, and CRLF** — Different types of line breaks, typically determined by
the OS. Linux, OSX, and other *NIX operating systems generally use a line feed the OS. Linux, macOS, and other *NIX operating systems generally use a line
(LF or `\n`) character. Windows uses a carriage return (CR or `\r`) and a line feed (LF or `\n`) character. Windows uses a carriage return (CR or `\r`) and a
feed character, effectively "CRLF" (`\r\n`). line feed character, effectively "CRLF" (`\r\n`).
CSV Format Specification CSV Format Specification
------------------------ ------------------------
@@ -290,6 +290,7 @@ clarifications and improved examples.
13. When parsing input CSV data all forms of line breaks (CRLF, LF, and CR) MUST 13. When parsing input CSV data all forms of line breaks (CRLF, LF, and CR) MUST
be supported. be supported.
14. When rendering output CSV data, CRLF MUST be used for line breaks to ensure 14. When rendering output CSV data, CRLF MUST be used for line breaks to ensure
maximum cross-platform compatibility. maximum cross-platform compatibility.