Re: [XML-SIG] Python DTD parser?

2010-04-04 Thread Fred Drake
On Sat, Apr 3, 2010 at 7:58 PM, L Peter Deutsch wrote: >  Sorry to have taken > your time for this. Not a problem; I glad I could help! -Fred -- Fred L. Drake, Jr. "Chaos is the score upon which reality is written." --Henry Miller ___ XML-SIG

Re: [XML-SIG] Python DTD parser?

2010-04-04 Thread L Peter Deutsch
> Are you attempting to only parse the DTD itself, or validate a document > according to the DTD? Only the former. > If the former, xml.parsers.expat can be made to serve this purpose. Thanks very much. I just now read the xml.parsers.expat documentation, and I see the callbacks that correspond

[XML-SIG] More on Python DTD parser?

2010-04-04 Thread lpd
Dear XML-SIG, I'm sorry to impose on you, but I've had a very frustrating afternoon trying to report a couple of Python expat bugs on the PSF bug tracker. SourceForge appears to have lost all of my account data (for the second time), and when I tried to register separately on the bug tracker site