in reply to Re^3: XML::Simple cannot parse Simple XML file
in thread XML::Simple cannot parse Simple XML file

I'm not convinced that the name of the module is very sensible. If it can parse 'invalid XML' without an error then it isn't a compliant XML Processor, the specification is quite clear about this:

Validating and non-validating processors alike MUST report violations of this specification's well-formedness constraints in the content of the document entity and any other parsed entities that they read.
The emphasis is from the specification. Obviously it's a bit late now but the module would be better to be called something like 'Text::XMLish' or 'Text::Tagged::AngleBrackets' to make it clear. There is no such thing as a 'Liberal' XML parser in terms of the well-formedness constraints.

/J\

  • Comment on Re^4: XML::Simple cannot parse Simple XML file