I am not quite sure I understand the behaviour you are looking for. Could you provide an example of XML and what you would like your code to do with it?
From your post, 'no such attribute' or 'no such XML tag' do not prevent the XML from being well-formed: they would cause the XML not to be valid (against a DTD), but expat is a non-validating parser. So the parser cannot report that kind of error. If the XML is not well-formed, then in any case the parser will stop at the first error. This behaviour is required by the XML spec (fatal error).
In reply to Re: XML::Twig error handling
by mirod
in thread XML::Twig error handling
by ramya2005
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |