The Delphi Bug List

Entry No.
597
VCL - Midas - dbclient - TClientDataset
TClientDataSet can't load XML files containing only meta data (no data records).
1.02 2.01 3.0 3.01 3.02 4.0 4.01 4.02 4.03 5.0 5.01 6.0 6.01 6.02 Kylix 1.0
N/AN/AN/AN/AN/AN/AN/AN/AN/AExistsExistsExistsExistsExistsN/A
Description
Reported by Anders Melander
When a TClientDataSet loads an XML file containing meta data only, an EDBClient exception is thrown with the message: "Mismatch in datapacket".

To reproduce:

  1. Open a TClientDataSet with PacketRecords set to 0 (retrieve meta data only).
  2. Save the CDS in XML format with TClientDataSet.SaveToFile.
  3. Load the XML file with TClientDataSet.LoadFromFile.
This bug has been verified by Borland.
Latest update of this entry: 2002-04-09

Post a comment on this bug


Index page
Delphi Bug List home page
The Delphi Bug Lists are presently maintained by Jordan Russell, who has taken over this task from Reinier Sterkenburg since August 2000.
All feedback is appreciated. See also the feedback section of the Delphi Bug List home page.