Re: [xsl] Reflecting on: csv data to xml

Subject: Re: [xsl] Reflecting on: csv data to xml
From: davep <davep@xxxxxxxxxxxxx>
Date: Tue, 02 Jul 2013 09:21:05 +0100
On 01/07/13 09:36, Adam Retter wrote:
we have built as open source a CSV Validation tool.

The CSV Validation tool consists of a specification for a simple text
grammar that describes the format of a CSV file and rules that are
asserted against the CSV file. It also includes an implementation for
the JVM (in Scala, we also provide a Java API) which takes such a
grammar and CSV file and  performs the validation, reporting all
non-validating issues or pass. The tool is available here
github.com/digital-preservation. It should be considered beta, i.e. we
are using it internally but until now it has not been publicised. In
addition documentation is missing but the EBNF file in the source repo
describes the grammar, and running the tool without arguments gives
you the simple command line useage. I hope documentation will follow
shortly, in the mean time issues etc should be aimed at the Github
repo.


Thanks Adam, looks very useful. quick question please,
what of disparate line lengths? Are they considered 'valid'?

The other nasty is embedded quotes, if using quotes or comma if using them?





regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

Current Thread