Re: [XML-SIG] SAX and DTDs

2005-08-27 Thread Albert Chin
On Sun, Aug 28, 2005 at 01:02:48AM -0500, Albert Chin wrote: > On Sat, Aug 06, 2005 at 11:15:36AM -0600, Uche Ogbuji wrote: > > On Thu, 2005-08-04 at 12:39 +0300, Alin Dobre wrote: > > > I have a python script that does a simple parsing of a XML document > > > using SAX. The problem is that I canno

Re: [XML-SIG] SAX and DTDs

2005-08-27 Thread Albert Chin
On Sat, Aug 06, 2005 at 11:15:36AM -0600, Uche Ogbuji wrote: > On Thu, 2005-08-04 at 12:39 +0300, Alin Dobre wrote: > > 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. > > > > --

Re: [XML-SIG] SAX and DTDs

2005-08-06 Thread Alin Dobre
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alin Dobre wrote: > 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 >

Re: [XML-SIG] SAX and DTDs

2005-08-06 Thread Uche Ogbuji
On Thu, 2005-08-04 at 12:39 +0300, Alin Dobre wrote: > 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.s

[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