OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

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

[ Lists Home | Date Index | Thread Index ]


----- Original Message ----- 
From: "Elliotte Rusty Harold" <elharo@metalab.unc.edu>
To: <xml-dev@lists.xml.org>
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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS