Re: validating parser

2007-09-20 Thread Stefan Behnel
David wrote: > On 9/20/07, Robert Schweikert <[EMAIL PROTECTED]> wrote: >> Is there a Python module which will do XSD validation? > > http://mail.python.org/pipermail/xml-sig/2006-June/011527.html ... of which lxml (i.e. libxml2) is definitely the most standards compliant (and feature rich anyway

Re: validating parser

2007-09-20 Thread David
On 9/20/07, Robert Schweikert <[EMAIL PROTECTED]> wrote: > Is there a Python module which will do XSD validation? http://mail.python.org/pipermail/xml-sig/2006-June/011527.html -- http://mail.python.org/mailman/listinfo/python-list

validating parser

2007-09-20 Thread Robert Schweikert
Is there a Python module which will do XSD validation? Thanks, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU ([EMAIL PROTECTED]) LINUX -- http://mail.python.org/mailman/listinfo/python-list

Re: setDocumentLocator in validating parser (xmlproc)

2005-03-19 Thread Cees Wesseling
"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

Re: setDocumentLocator in validating parser (xmlproc)

2005-03-18 Thread James Kew
"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 si

setDocumentLocator in validating parser (xmlproc)

2005-03-18 Thread Cees Wesseling
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