Skip Menu |

This queue is for tickets about the XML-Parser CPAN distribution.

Report information
The Basics
Id: 41440
Status: resolved
Priority: 0/
Queue: XML-Parser

People
Owner: Nobody in particular
Requestors: ianburrell [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Support UseForeignDTD option for loading DTD for documents without DOCTYPE
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.
Ticket migrated to github as https://github.com/toddr/XML-Parser/issues/46