[fpc-pascal] XML-XSD export: importer & how to test

Reinier Olislagers reinierolislagers at gmail.com
Fri Jul 29 10:18:07 CEST 2011

On 29-7-2011 9:27, michael.vancanneyt at wisa.be wrote:
> On Thu, 28 Jul 2011, Ludo Brands wrote:
>>>>> Agreed, but you cannot every kind of data type, for that you
>>>>> will probably need the various databases... and hopefully a
>>>>> continuous integration server to run the tests...
>>>> Sqldb converts databases types to the internal ftxxx datatypes. So,
>>>> yes, you can everything without external databases.
>>> I admit I need to delve deeper into this, but to me it's
>>> strange we have datatypes like ftOracleBlob and
>>> ftParadoxOLE... These do seem to be database-specific (ok,
>>> maybe within fcl-db, but still). Earlier today I've written
>>> code to dumbly create a bufdataset with all these datatypes
>>> for and will see what happens when assigning data to it. If
>>> it blows, I'll comment it out... we'll see.
>> Db.pas line 2020 gives you the mapping between ftxxx and corresponding
>> Tfield descendant. This is a default mapping but AFAIK no db
>> implementation
>> is actually overriding this.
> Not in FPC, but in Delphi, IBX for instance overrides it.
> Maybe mseide does it too.
> Michael.

Ok, just to be safe and document mappings in any event, I'll keep the
complete list of mappings in the exporter.

I'll only test with the types that work in a bufdataset...


More information about the fpc-pascal mailing list