Re: [xml] how to validate with DTD when reading chunks

On Tue, Feb 17, 2004 at 05:37:56PM +0100, PaweÅ StoÅowski wrote:

I'm new to libxml2 and I can't find a way to validate XML document
when parsing it by chunks. The code below is a part of a client - server
app that I'm writing; the protocol is based on XML.  I'm using code like

xmlSAXHandler sax;
.. (initialization of sax struct for my callbacks)
ctxt = xmlCreatePushParserCtxt(&sax, imq, buffer, result, NULL);

  Libxml2 does not handle validation at the SAX level.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]