[ expat-Patches-3446384 ] Report byte offsets for attr names and values
SourceForge.net <[email protected]> Wed, 30 Nov 2011 12:20:32 -0800
| Newsgroups | gmane.text.xml.expat.bugs |
|---|---|
| Message-ID | <[email protected]> |
Patches item #3446384, was opened at 2011-11-30 12:20 Message generated for change (Tracker Item Submitted) made by ikavairai You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310127&aid=3446384&group_id=10127 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Moses Hall (ikavairai) Assigned to: Nobody/Anonymous (nobody) Summary: Report byte offsets for attr names and values Initial Comment: The attached patch exposes a new API for querying the byte offsets of attribute names and values. The new API is XML_GetAttributeInfo(), which returns a structure with four byte offsets: attribute name start & end, and attribute value start & end. We use this new functionality in our indexing software at the University of Michigan Libraries; we needed to be able to index all parts of the source XML file, including attributes. Patch is against the latest CVS sources. Thank you for your attention. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=310127&aid=3446384&group_id=10127