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



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

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
this:

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

-- 
Daniel Veillard      | Red Hat Network https://rhn.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]