[fpc-pascal] SDFDataset users!?

Reinier Olislagers reinierolislagers at gmail.com
Mon Sep 24 17:19:55 CEST 2012


Hi list,

There are some bugs open for sdfdataset, e.g.
22894 Sdfdataset: empty file with FirstLineAsSchema reports Recordcount
1 instead of 0
22882 SDFDataset .AllowMultiLine does not support multiline import

I've written a test suite to check sdfdataset behaviour. An older
version of this is already in FPC trunk in the database tests
(tcsdfdata.pp).
The test set can be donwnloaded here:
https://bitbucket.org/reiniero/fpc_laz_patch_playground/downloads

Currently, taazz on the forum is improving sdfdataset against this test set:
http://lazarus.freepascal.org/index.php/topic,18224.0.html

If there are any sdfdataset users out there:
1. I'd very much appreciate additional test cases for tcsdfdata.pp.
Especially if you think there are issues with current sdfdataset, please
don't hesitate to send an tcsdfdata.pp with more tests.

2. Presumably sdfdataset is used to exchange data with Delphi systems
using tstrings.delimitedtext. Therefore I'm stressing Delphi
compatibility in my tests. Do you think this is justified?

3. Taazz has an improved version of sdfdataset available at
http://lazarus.freepascal.org/index.php/topic,18224.msg103232.html#msg103232
My test suite contains test results for this code; an additional test is
satisfied, but there are still failing tests.
Do you think this version is good enough? Comments here or on the forum
would be welcome.

Thanks very much,
Reinier aka BigChimp



More information about the fpc-pascal mailing list