in reply to XML::Parser and XML::Twig

The message means just that: the parser finds something after the end of the document. This is illegal in XML. Use the ErrorContext => 1 option when you create the twig in order to get the line displayed.

This message often happens when your XML dosument does not have a root.

Replies are listed 'Best First'.
Re: Re: XML::Parser and XML::Twig
by matth (Monk) on Dec 09, 2002 at 16:26 UTC
    Tests suggest that the problem was that I had missing attribute data. Do XML modules not normally allow for missing attribute data (vague question I know, sorry)?