BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mismatch

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
Alan David Zoldan
Guest





PostPosted: Thu Jul 10, 2003 9:15 pm    Post subject: mismatch Reply with 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


Alan Zoldan


Back to top
Bill Todd
Guest





PostPosted: Thu Jul 10, 2003 11:14 pm    Post subject: Re: mismatch Reply with quote



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





PostPosted: Fri Jul 11, 2003 8:52 am    Post subject: Re: mismatch Reply with quote



"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.