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/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | Exists | Exists | Exists | Exists | Exists | N/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:
- Open a TClientDataSet with PacketRecords set to 0 (retrieve meta
data only).
- Save the CDS in XML format with TClientDataSet.SaveToFile.
- Load the XML file with TClientDataSet.LoadFromFile.
This bug has been verified by Borland. |
|