Any way to programmatically validate a groups of schema files?

We validate our schemas files by hand and there’s so many to check. Which is the recommended way to validate that from command line or if theres some function to call and check the log result will be great.

Best regards.

The basic APIs should probably be all available (certainly the classes to load a schema at runtime, of not the actual logic that does the checks). I’ll check with the team of we can migrate the latter part from DASM down into the (.NET) core library, if its not there already.


1 Like

If you will put your ands theres will be great have a way to COMPARE schemas. The actual xml use an incremental number for fields. Because that, comparing file to file is practically impossible.For that reason will be great if theres a method to compare two schemas.

Best regards.

Yeah, I always hated that, it’s a bit of a relic from the days when schemas were streamed down using Delphi’s component serialization infrastructure back in DA1.

I’m wondering if we could/should introduce a new, more diffable and unman redable/editable schema format (as option, of course)

1 Like

I dream with that! :heart_eyes: :grin:

Thanks, logged as bugs://83685

Thanks, logged as bugs://83702

see Data Abstract for Delphi vNext: New features

That remain in analysis?

Well, I logged the feature request a mere 6 days ago…

1 Like

I plan to deliver a Delphi console app to use the api and validate schema files at customer side. Which are the prerequisites on the customer machine?

The validation from the api down work on Linux. Get a system 14 error. Have sense. Theres any alternative at this moment or maybe when yo migrate to .NET core? I confirm using wine works.

Any comment will be appreciated

Bets regards.