AlanQuatermain / aqtoolkit

A toolkit consisting of a bunch of generally useful routines and extensions I wrote when putting together other projects.
http://blog.alanquatermain.net/code
BSD 3-Clause "New" or "Revised" License
785 stars 149 forks source link

StreamingXMLParser: Getting Byte Position on End of Document? #5

Open TheoA opened 14 years ago

TheoA commented 14 years ago

On parserDidEndDocument: is it possible to get the position/byte-offset that the document ended on?

I'm trying to parse several XML documents from the same socket. They are not delimited so in order to parse the next document I need to know where the current document finished parsing.