The existing parser used for instrumentation relies on being able to parse the
XML as strings, and get reliable line number data from that. Unfortunately it
is often unable to parse the XML precisely enough to get that right.
I am attaching a new instrumenter based on the SAX parser. Since SAX already
knows how to parse XML pretty well, it simplifies the code and gives more
precise results.
The patch assumes that the previous patches I submitted are already applied:
https://code.google.com/p/cakupan/issues/detail?id=11
https://code.google.com/p/cakupan/issues/detail?id=12
Original issue reported on code.google.com by sgiff...@suspectclass.com on 30 Dec 2014 at 5:52
Original issue reported on code.google.com by
sgiff...@suspectclass.com
on 30 Dec 2014 at 5:52Attachments: