tclientdataset

Anyone that has a partial XSD that describes the METADATA section of Delphi TClientDataSet XML files?

我是研究僧i 提交于 2019-11-28 18:28:38
I know that you cannot fully describe the XML that the TClientDataSet with an XSD schema, as the ROW elements have attributes that have names that vary with the contents. However, the METADATA section of such an XML should be. So: is there anyone having a (partial) XSD that describes the METADATA portion of the XML that can be saved with Delphi TClientDataSets? Regards. PS: Thanks for the pointers to XML->XSD conversion tools/sites; I should have written that I did that myself as well, but that generating that XSD in a proper way (i.e. one that covers all possibilities) will need input XML

MidasLib.dcu makes the application slower

主宰稳场 提交于 2019-11-28 12:02:00
I´m declaring MidasLib to avoid dll hell caused by Midas.dll in some clients. The code below runs in about 2350ms. If I remove the MidaLib declaration in uses it starts to run in just 45ms!! The data.xml file was saved with TClientDataSet.SaveToFile method, has 5000 records and its size is about 600Kb. Does anybody knows how to explain this weird behavior? I can confirm the problem in Delphi XE2 upd 3 and in Delphi XE3 upd 2. Thanks. program Loader; {$APPTYPE CONSOLE} {$R *.res} uses MidasLib, System.SysUtils, Winapi.Windows, Data.DB, Datasnap.DBClient; var cds : TClientDataSet; start, stop :

Anyone that has a partial XSD that describes the METADATA section of Delphi TClientDataSet XML files?

孤街浪徒 提交于 2019-11-27 11:22:37
问题 I know that you cannot fully describe the XML that the TClientDataSet with an XSD schema, as the ROW elements have attributes that have names that vary with the contents. However, the METADATA section of such an XML should be. So: is there anyone having a (partial) XSD that describes the METADATA portion of the XML that can be saved with Delphi TClientDataSets? Regards. PS: Thanks for the pointers to XML->XSD conversion tools/sites; I should have written that I did that myself as well, but