$parser = XML::Liberal->new(LibXML);
Creates an XML::Liberal object. Currently accepted driver is only LibXML.
This is considered <B>so evilB>, but would be useful if you have existent software/library that uses XML::LibXML inside and change the behaviour globally to use Liberal parser instead, with a single method call.
For example, the following code lets XML::Atoms parser use Liberal LibXML parser.
If you want the original XML::LibXML->new back in business, you can call globally_unoverride method.
Or, you can hold the destructor object in a scalar variable and make the global override take effect only in a lexical scope:
This module tries to fix the XML data in various ways, some of which might alter your XML content, especially bytes written in CDATA.
Tatsuhiko Miyagawa <email@example.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|perl v5.20.3||XML::LIBERAL (3)||2013-01-25|