Next in thread → Next in month →

Re: [xml-dev] Keep XML parser from eating linefeed in element data ??

From
Karl Waclawek <>
To
, Elliotte Rusty Harold <>
Date
2003-01-10T18:53:01Z
ID
<005901c2b8d9$7fc5f910$9e539696@citkwaclaww2k>
Thread
Re: [xml-dev] Keep XML parser from eating linefeed in element data ??
----- Original Message ----- 
From: "Elliotte Rusty Harold" <>
To: <>
Sent: Friday, January 10, 2003 11:39 AM
Subject: Re: [xml-dev] Keep XML parser from eating linefeed in element data ??


> At 9:56 AM -0500 1/10/03, Karl Waclawek wrote:
> 
> 
> >A not infrequent user problem with SAX processing is that
> >users don't expect character data that appear to be contiguous
> >to be reported through more than one call-back. I was suspecting
> >that this might be the case.
> 
> 
> Perhaps. However, expat is not a SAX parser.

Yes and no, more accurate would  be: SAX-like. It is not too difficult
(and has been done) to wrap a fully functional SAX2 API, including
the extensions, around Expat.

> It might well have the 
> same issues with text in multiple calls. I don't know. Again we need 
> more details.

It has the same "issues", but this behaviour conforms to the SAX specs.
You are correct - we need more details.

Karl
Next in thread → Next in month →