[Expat-bugs] [ expat-Patches-3446384 ] Report byte offsets for attr names and values

SourceForge.net noreply at sourceforge.net
Wed Nov 30 21:20:32 CET 2011


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


More information about the Expat-bugs mailing list