setDocumentLocator in validating parser (xmlproc)
Cees Wesseling
cees at pcraster.nl
Sat Mar 19 04:27:25 EST 2005
"James Kew" <james.kew at gmail.com> wrote in message news:<d1fml1$fn6$1 at news.astound.net>...
Thanks James, a perfect patch that works perfect for me.
On a side note, it seems the locator is not standarized. expat gives
positions at the "<"-char of startElement while xmlproc (PyXml) gives
it the ">"-char of startElement.And both one columnNumber off. A bit
annoying when swapping parsers.
Cees
More information about the Python-list
mailing list