Re: [XML-SIG] 'utf8' codec can't decode byte 0xc3 - bug in xmlproc?

2005-08-04 Thread Mike Brown
Anders wrote: > Im having a hard time debugging this error: > > ::: character set conversion problem: 'utf8' codec can't > decode byte 0xc3 in position 65535: unexpected end of data > > The file Im trying to parse with xmlproc contains no illegal utf-8 byte > sequences and this error does not o

[XML-SIG] 'utf8' codec can't decode byte 0xc3 - bug in xmlproc?

2005-08-04 Thread Anders
Im having a hard time debugging this error: ::: character set conversion problem: 'utf8' codec can't decode byte 0xc3 in position 65535: unexpected end of data The file Im trying to parse with xmlproc contains no illegal utf-8 byte sequences and this error does not occur when I switch to pyexpa

[XML-SIG] SAX and DTDs

2005-08-04 Thread Alin Dobre
Hey list, I have a python script that does a simple parsing of a XML document using SAX. The problem is that I cannot get to validate the XML using an external DTD file. #!/bin/env python import sys from xml.sax import saxlib, saxexts class mySaxDH(saxlib.HandlerBase): def startD