[xml] Support Source Offset For Nodes
- From: Dan Lecocq <dan moz com>
- To: xml gnome org
- Subject: [xml] Support Source Offset For Nodes
- Date: Wed, 3 Jul 2013 10:15:42 -0700
We recently needed support for retrieving the offset in the source document where nodes appear (particularly, anchors). I added it, mostly modeled after the source line number capturing, but I couldn't find any analogous tests. I'd be happy to add them if there's an example of similar testing, of course :-)
At any rate, here's the patch and hopefully it's helpful.
Attachment:
offset.patch
Description: Binary data
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]