"James Kew" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
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 start
"Cees Wesseling" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> it seems that xmlproc, the default Validating parser, in my setup does
> not call back to setDocumentLocator. Is there anyway to get a locator
> in my handler?
It's a known bug with a simple patch -- I don't know why i
Hi,
it seems that xmlproc, the default Validating parser, in my setup does
not call back to setDocumentLocator. Is there anyway to get a locator
in my handler?
Below you find an example and its output.
Regards, Cees
# base imports
from xml.sax.handler import ContentHandler
from xml.sax.handler i