Re: [xml] End of document with push parser
- From: Daniel Veillard <veillard redhat com>
- To: jerome marant free fr
- Cc: xml gnome org
- Subject: Re: [xml] End of document with push parser
- Date: Tue, 30 Aug 2005 17:09:10 -0400
On Tue, Aug 30, 2005 at 01:52:00PM +0200, Jérôme Marant wrote:
Hi,
I'm writing a small server which receives requests from
a TCP stream in XML and I do use a push parser for
this (xmlParseChunk).
The program who push the data must provide the information about the
end of the data to the parser. You cannot guess that from the parser state
nor the XML data, that information must come from some context outside the
document. If you don't have that inforamtion availbale in your system you
are building it's a serious design flaw, basically it was designed without
understanding XML.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]