[Expat-discuss] Max Character Data Line Length

Glynn Beeken Glynn.Beeken at generaldynamics.uk.com
Tue Jul 13 10:17:06 CEST 2004


Thanks for the prompt response. 

That seems to be the problem. Expat splits the contiguous data at the 495th 
and 511th characters although this is probably influenced by other factors
in the 
document. My handlers were failing to expect these extra callbacks.

-----Original Message-----
From: expat-discuss-bounces at libexpat.org
[mailto:expat-discuss-bounces at libexpat.org]On Behalf Of Karl Waclawek
Sent: 12 July 2004 18:55
To: expat-discuss at libexpat.org
Subject: Re: [Expat-discuss] Max Character Data Line Length 



> When I exceed a character data line of a length >494 the data string
handed
> to my handler contains only those characters in positions greater than 494
> and len is fixed at 494. When I use debug mode in VC6.0 Expat calls a user
> breakpoint whan this occurs.

I do not know of any such limitation in Expat.
Expat will often divide character data into multiple call-backs even
if they are contiguous. Could that be happening?

Karl
_______________________________________________
Expat-discuss mailing list
Expat-discuss at libexpat.org
http://mail.libexpat.org/mailman/listinfo/expat-discuss


General Dynamics United Kingdom Limited
Registered in England and Wales No. 1911653
Registered Office: 100 New Bridge Street, London, EC4V 6JA 


More information about the Expat-discuss mailing list