[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Reflecting on: csv data to xml

Subject: Re: Reflecting on: csv data to xml
From: davep <davep@xxxxxxxxxxxxx>
Date: Tue, 02 Jul 2013 09:21:05 +0100
Re:  Reflecting on: csv data to xml
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.