Open
Description
Migrated from rt.cpan.org#41440 (status was 'new')
Requestors:
From [email protected] on 2008-12-05 00:20:12
:
It would be handy if XML::Parser supported the Expat UseForeignDTD
option which allows the application to provide a DTD for document that
do not contain a DOCTYPE declaration. The "UseForeignDTD" option to
new() should use the Expat XML_UseForeignDTD function to set this
option. For document without a DOCTYPE, the ExternEnt handler will be
called with NULL (presumably translated to undef) systemId and publicId.
This would allow applications to provide a DTD instead of rewriting the
input.