[Expat-discuss] whitespace trouble
Allen, Michael B (RSCH)
Mon, 27 Aug 2001 19:41:58 -0400
Be very carefull about the code in your CharacterDataHandler
function. The strings passed to it are NOT null terminated and
may not be all of the text (may be broken into adjacent
peices). This is a great place for an error. See how DOMC
handles it in the chardata_fn when building the DOM tree here:
> -----Original Message-----
> From: Glen Hein [SMTP:firstname.lastname@example.org]
> Sent: Monday, August 27, 2001 7:03 PM
> To: email@example.com
> Subject: [Expat-discuss] whitespace trouble
> Hello Everybody!
> I'm new to expat and I recently adopted a project that was
> using expat. Unfortunately, I do not have contact with the
> orginal programmer.
> I've having a problem with whitespace in the xml structure that
> is to be parsed. It appears that any whitespace bewtween the
> xml tags casuse the parser to fail.
> I have not yet determined if the problem is in expat or in the
> overall application.
> Is there a known problem with whitespace? Is there a particular
> area of expat that I should be looking at? Is whitespace an
> option in expat?
> Glen Hein
> Expat-discuss mailing list