Re: [xml] context reuse for push parser
- From: Daniel Veillard <veillard redhat com>
- To: Graham Bennett <graham-libxml simulcra org>
- Cc: xml gnome org
- Subject: Re: [xml] context reuse for push parser
- Date: Tue, 28 Oct 2003 16:35:23 -0500
On Wed, Oct 22, 2003 at 09:48:21PM +0100, Graham Bennett wrote:
I have updated my function:
static int xmlCtxtInitPushParser(xmlParserCtxtPtr ctxt, const char
*chunk, int size, const char *filename, xmlCharEncoding enc)
Okay, I have mostly integrated it but with a few differences:
- reformatting
- takes a const char * encoding instead of the xmlCharEncoding,
since I want to get rid of this enum as much as possible
- renamed it as xmlCtxtResetPush and exported it from <libxml/parser.h>
that should be in CVS. The only unfortunate point is that I didn't wrote
code or converted xmllint --push --repeat to use it...
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]