[New-bugs-announce] [issue5485] pyexpat has no unit tests for UseForeignDTD functionality

Jean-Paul Calderone report at bugs.python.org
Fri Mar 13 17:51:02 CET 2009

New submission from Jean-Paul Calderone <exarkun at divmod.com>:

Lacking unit tests for this (documented) functionality makes it harder
for alternate Python runtimes to correctly provide it.  Plus, if it's
not tested, it might not work.

I tried to write tests for the feature since I recently used it and
thought it would be pretty straightforward.  However, I failed.  expat
inscrutably refuses to call the external entity ref handler I provided
in my test.  Attached is my attempted, in case anyone feels like helping
complete it.

components: Library (Lib), Tests, XML
files: use-foreign-dtd.patch
keywords: patch
messages: 83521
nosy: exarkun
severity: normal
status: open
title: pyexpat has no unit tests for UseForeignDTD functionality
type: feature request
versions: Python 2.7
Added file: http://bugs.python.org/file13320/use-foreign-dtd.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list