 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Alan David Zoldan Guest
|
Posted: Thu Jul 10, 2003 9:15 pm Post subject: mismatch |
|
|
Hi i am using D 6.02 and a Clientdataset for editing data witch are then
stored in an xml file using SaveToFile method.
When later i try to load these data using LoadFromFile an exception is
raised:
EDBClient error 'Mismatch in Datapacket;
The same happens when i save the XMLData to a string and try to assign that
string to the XMLData of another cds.
Note that the cds i use has datasetfields with childdefs.
Does any one has any idea what am i doing wrong?
thanks
Alan Zoldan
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Thu Jul 10, 2003 11:14 pm Post subject: Re: mismatch |
|
|
Try using the ClientDataSet's native file format instead of XML. I
suspect the problem will go away.
--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
|
|
| Back to top |
|
 |
Dave Rowntree Guest
|
Posted: Fri Jul 11, 2003 8:52 am Post subject: Re: mismatch |
|
|
"Alan David Zoldan" <dcc6adnz (AT) joinville (DOT) udesc.br> wrote:
| Quote: | Hi i am using D 6.02 and a Clientdataset for editing data witch are then
stored in an xml file using SaveToFile method.
When later i try to load these data using LoadFromFile an exception is
raised:
EDBClient error 'Mismatch in Datapacket;
The same happens when i save the XMLData to a string and try to assign that
string to the XMLData of another cds.
Note that the cds i use has datasetfields with childdefs.
Does any one has any idea what am i doing wrong?
thanks
|
There were several problems in D6 with XML, most of which were fixed
in D7.
As Bill says, if you can save in cds format instead of xml format the
problem should go away. If you have to use xml, if you create a test
case app that produces and (attempts to) read problematic xml, and
post it to b.p.attachments, then post here saying you have done so, I
will run it through D7 to see if the problem has been fixed.
--
Dave Rowntree
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|