Submitted patch #1014930 to exposes the current parse location in pyexpat

I would like someone to review the patch I just submitted - it exposes more the the expat API to the xml.parsers.expat.XMLParser object. Expat supplies the XML_GetCurrentLineNumber, XML_GetCurrentColumnNumber, and XML_GetCurrentByteIndex functions to obtain the current parse location. The patch exposes these as the following respective members of the xml.parsers.expat.XMLParser object; CurrentLineNumber, CurrentColumnNumber, CurrentByteIndex. I have checkin permission, I just want someone to cast their eye over the patch before I commit. - Dave -- http://www.object-craft.com.au

On Monday 23 August 2004 10:53 pm, Dave Cole wrote:
Expat supplies the XML_GetCurrentLineNumber, XML_GetCurrentColumnNumber, and XML_GetCurrentByteIndex functions to obtain the current parse location. The patch exposes these as the following respective members of the xml.parsers.expat.XMLParser object; CurrentLineNumber, CurrentColumnNumber, CurrentByteIndex.
This sounds like a good idea to me. Please post the patch on SF and assign to me. Thanks! -Fred -- Fred L. Drake, Jr. <fdrake at acm.org>

Fred L. Drake, Jr. wrote:
On Monday 23 August 2004 10:53 pm, Dave Cole wrote:
Expat supplies the XML_GetCurrentLineNumber, XML_GetCurrentColumnNumber, and XML_GetCurrentByteIndex functions to obtain the current parse location. The patch exposes these as the following respective members of the xml.parsers.expat.XMLParser object; CurrentLineNumber, CurrentColumnNumber, CurrentByteIndex.
This sounds like a good idea to me. Please post the patch on SF and assign to me.
I have committed the patch after adding the suggestions from the reviewer. - Dave -- http://www.object-craft.com.au
participants (2)
-
Dave Cole
-
Fred L. Drake, Jr.