csv-schema
csv-schema copied to clipboard
CSV Schema
Similar to other global directive for separator etc. See https://github.com/digital-preservation/csv-validator/issues/164
With date ranges or even simple numeric ranges if the field actually relates to a year it would sometimes be useful for the schema to be able to set the...
I'm struggling a bit to understand how to implement integrityCheck, I was looking at the examples but the test cases were too well-formed to really explain it to me. For...
Reading section 3.2.7.3 of [XMLSCHEMA-2](http://digital-preservation.github.io/csv-schema/csv-schema-1.0.html#bib-xmlschema-2), I belive that XsdTimezoneComponent should match '+00:00' & '-00:00', Reading as `((\+|-)(0[0-9]|1[0-9]|2[0-4]):(0[0-9]|[1-5][0-9])|Z)?` instead of `((\+|-)(0[1-9]|1[0-9]|2[0-4]):(0[0-9]|[1-5][0-9])|Z)?`
Under section 3.2.7.1 of [XMLSCHEMA-2](https://www.w3.org/TR/xmlschema-2/) it reads "'.' s+ (if present) represents the fractional seconds;" Implying the RegEx for XsdTimeWithoutTimezoneComponent shouldn't be restrained to millaseconds, reading as `([0-1][0-9]|2[0-4]):(0[0-9]|[1-5][0-9]):(0[0-9]|[1-5][0-9])(\.[0-9]+)?` instead of...
1. Maybe I missed it, but I couldn't tell if the columns in a CSV file one is checking must come in the same order as they are listed in...
Is there a way to describe that a column contains plain floating point numbers (except by using a regex pattern)? There is a `positiveInteger` validation expression so I would expect...
The first commit here normalizes all the code formatting, such as indentation and putting one-line paragraphs on the same line as their opening and closing p tags. This commit also...
The current URI Expression allows both absolute and relative URIs, in general we want to ensure it's an absolute URI. To enable backwards compatibility this should be implemented as either...
AFAIK Currently, the only way to express a negative rule is via the @matchIsFalse directive. This means the entire column rule must be expressed either as a positive or a...