in reply to XML::Twig doctype and entity handling

Maybe you need to use option expand_external_ents/set_expand_external_entities
  • Comment on Re: XML::Twig doctype and entity handling

Replies are listed 'Best First'.
Re^2: XML::Twig doctype and entity handling
by AZed (Monk) on Sep 07, 2008 at 22:02 UTC

    You mean, setting expand_external_ents => -1,? Interesting thought, though I'm not sure what would happen if it ever got to the stage of being able to print the output.

    Unfortunately, however, that remains true even after trying it -- the parser still dies at the same spot even with it set to -1. As an aside,  keep_encoding => 1 doesn't help, either.