I think that from a parser's point of view there isn't really much more that could be done (except maybe reporting the tag name). Unless you have a DTD that disallows <ERROR> tags to be nested etc. (and XML::Simple would actually do validation), the parser cannot tell that there's an error (i.e. unclosed <ERROR> tag) before having reached the end of file.
Update: I've never used the module myself, but maybe XML::Simple::DTDReader can help with the issue...
In reply to Re: XML::Simple giving a non-specific error
by almut
in thread XML::Simple giving a non-specific error
by liverpole
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |