Python DTD parser?

[email protected] (L Peter Deutsch) Sat, 3 Apr 2010 06:45:23 -0700 (PDT)
Newsgroups gmane.comp.python.xml
Message-ID <[email protected]>
Dear XML-SIG,

I am trying to find a working, maintained DTD parser written in Python.  The
main Python XML distribution does not include one.  I was using the PyXML
parser, but (1) (at least on SourceForge) it hasn't been maintained for
years, and (2) (as of the last version I could find, 0.8.4) it has a bug
that sometimes causes it to not process the very last line of a DTD -- which
in a well-modularized DTD is often an entity reference that pulls in the
main content of the DTD!

I've written my own DTD parser, but it omits some features, I really don't
know how well it conforms to the spec (which is important because I'm also
writing some DTDs of my own), and I'd much rather use a well-tested one
written by others.

Any advice will be appreciated.

		Sincerely,

						L Peter Deutsch
_______________________________________________
XML-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/xml-sig