Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support UseForeignDTD option for loading DTD for documents without DOCTYPE [rt.cpan.org #41440] #46

Open
toddr opened this issue Sep 24, 2019 · 0 comments

Comments

@toddr
Copy link
Member

toddr commented Sep 24, 2019

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.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant