I call this:

int printDCRD(DDAS_CLIENT_RESULT_DATA* results)
{
??????? cout<<endl;

??????? for( unsigned int i=0; i<results->size; i++ )
??????? {
??????????????? cout<<"Defintion number #"<<i<<": "<<results->def_nums[i]<<endl;
??????????????? cout<<"Binary representation #"<<i<<": 
"<<results->bin_reps[i]<<endl;
??????????????? cout<<"SSE #"<<i<<": "<<results->SSEs[i]<<endl;

??????????????? for( unsigned int j=0; j<results->coefficients->size; j++ )
??????????????? {
??????????????????????? cout<<"Coefficient index: 
"<<results->coefficients[i].index[j]<<" value: 
"<<results->coefficients[i].values[j]<<endl;
??????????????? }

??????????????? cout<<endl;
??????? }

??????? cout<<endl;
}

as the first line of the XML handling function. It prints out the data 
correctly. But somehow after this the data gets garbled.

Max


-----Original Message-----
From: Alberto Massari <[EMAIL PROTECTED]>
To: [email protected]
Sent: Mon, 12 May 2008 8:23 pm
Subject: Re: Xerces-C Syntactical Error ??



If you get some data correct and some not, it's possible that it gets 
corrupted; have you tried printing the value of the various sse_buffer, 
br_buffer, dn_buffer just before calling XMLString::transcode??
?
Alberto?
?
[EMAIL PROTECTED] wrote:?
> Here's a link explaining my problem, 
> http://groups.google.com/group/comp.text.xml/browse_thread/thread/0ac874b4a0769d1c.?
>?
> Xerces-C version 2.8.0?
>?
> Redhat Enterprise?Linux 4?
>?
> Thanks,?
>?
> Max?
>?
> ?

Reply via email to