You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: csv-schema.html
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
subtitle : "A Language for Defining and Validating CSV Data",
19
19
20
20
// if you wish the publication date to be other than today, set this
21
-
// publishDate: "2014-08-23",
21
+
publishDate: "2016-01-25",
22
22
23
23
// if the specification's copyright date is a range of years, specify
24
24
// the start date here:
@@ -178,7 +178,7 @@
178
178
as defined by <ahref="http://www.nationalarchives.gov.uk">The National Archives</a>.
179
179
It is unclear yet whether this document will be submitted to a formal standards body
180
180
such as the <ahref="http://w3.org">W3C</a>.
181
-
This version supersedes the original <ahref="http://digital-preservation.github.io/csv-schema/csv-schema-1.1.html">CSV Schema Language 1.0</a> published on 28 August 2014.
181
+
This version supersedes the original <ahref="http://digital-preservation.github.io/csv-schema/csv-schema-1.0.html">CSV Schema Language 1.0</a> published on 28 August 2014.
182
182
</section>
183
183
<sectionid='abstract'>
184
184
<acronymtitle="Comma Separated Value">CSV</acronym> (Comma Separated Value) data comes in many shapes and sizes. Apart from [[RFC4180]] which is a fairly recent development (and often ignored),
The default value for this string is an empty string.
1668
1669
The second parameter allows a string provider to be given to point to an explicit subdirectory relative to the location of the base path.
1669
1670
By default this subdirectory is expected to be called "content".
1671
+
If only a single OPTIONAL parameter is supplied, it will be assumed to be the first, so if you wish to set only the second OPTIONAL parameter,
1672
+
you MUST also explicitly supply the first as an empty string ("")
1670
1673
The final expression MUST be supplied. This indicates whether references to subfolders are explicitly included in the CSV file,
1671
1674
if the CSV file has a row for each subfolder the exact string "includeFolder" should be given,
1672
1675
if the subfolders do not have explicit references, the exact string "excludeFolder" should be given.
@@ -1691,7 +1694,7 @@ <h5>Usage</h5>
1691
1694
as the second parameter has not been supplied it defaults to the value "content" meaning that all sub folders must
1692
1695
sit within a folder with that name*/
1693
1696
another_column: integrityCheck("file:///C:/","excludeFolder") //here the string "file:///C:/" is prepended to the contents of another_column before the integrity check is made
1694
-
third_column: integrityCheck("","excludeFolder") //here as an empty string is included, we indicate that there is no content folder
1697
+
third_column: integrityCheck("","","excludeFolder") //here as an strings are passed for both optional parameters, we indicate that there is no content folder
0 commit comments