Skip to content

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

Open
@toddr

Description

@toddr

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.


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions