expat meant to be restartable?

James Clark jjc at jclark.com
Mon Dec 6 03:40:20 GMT 1999


Paul Miller wrote:
> 
> I don't think it is, but I want to check. I'd like to be able to reuse
> an XML_Parser after I've called XML_Parse with isFinal set to 1.
> Basically I want to go back and parse a subset of the original file,
> using modified starting buffer pointer and length, but it doesn't seem
> to work (I get a JUNK_AFTER_DOC_ELEMENT error). I would like to avoid
> creating a new parser for each element subtree I scan.

Expat doesn't support that.

James



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list