[Patches] [ python-Patches-1014930 ] Expose current parse location
to XMLParser
SourceForge.net
noreply at sourceforge.net
Tue Aug 24 04:47:41 CEST 2004
Patches item #1014930, was opened at 2004-08-24 02:44
Message generated for change (Comment added) made by davecole
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1014930&group_id=5470
Category: XML
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Dave Cole (davecole)
Assigned to: Nobody/Anonymous (nobody)
Summary: Expose current parse location to XMLParser
Initial Comment:
This patch adds CurrentByteIndex, CurrentColumnNumber,
CurrentLineNumber members to the
xml.parsers.expat.XMLParser object which respectively
wrap the XML_GetCurrentByteIndex,
XML_GetCurrentLineNumber, and
XML_GetCurrentColumnNumber expat functions.
----------------------------------------------------------------------
>Comment By: Dave Cole (davecole)
Date: 2004-08-24 02:47
Message:
Logged In: YES
user_id=28658
Oops - obviously CurrentColumnNumber wraps
XML_GetCurrentColumnNumber, and CurrentLineNumber wraps
XML_GetCurrentLineNumber.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1014930&group_id=5470
More information about the Patches
mailing list