nikgoodley-ibboost / cakupan

Automatically exported from code.google.com/p/cakupan
0 stars 0 forks source link

New instrumenter based on SAX with improved precision #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

Attachments: