- Updated perl-XML-Twig-CVE-2016-9180.patch
- updated to 3.540.0 (3.54)
see /usr/share/doc/packages/perl-XML-Twig/Changes
3.54 2025-06-11 minor maintenance release
- changed the minimum version of Perl to 5.10
That should be old enough: "On December 18, 2007, the 20th
anniversary of Perl 1.0, Perl 5.10. 0 was released."
- fixed the "build" system
moved .pm files in the usual place for CPAN modules (lib/)
used PM_FILTER in Makefile.PL to inline some method calls
thanks to Daniel Macks for having a look at this and suggesting most
of the improvements
- fixed del_atts/set_att broke keep_atts_order
see https://stackoverflow.com/questions/79369132
- fixed #TEXT handlers not being called when set using setTwigHandlers
see https://github.com/mirod/xmltwig/issues/36
and fixed bugs in triggering #TEXT handlers in mixed content
- fixed test special casing "SA" PERL_UNICODE instead of looking for
S and A in the variable
see https://github.com/mirod/xmltwig/issues/32
- fixed docs for comment processing
see https://github.com/mirod/xmltwig/issues/31
- documentation cleanup
thanks to chrispitude for the massive cleanup in
https://github.com/mirod/xmltwig/pull/34
and to zostay and asb-capfan for finding typos in
https://github.com/mirod/xmltwig/pull/29 and
https://github.com/mirod/xmltwig/pull/33
- improved strip_att to allow more than 1 attribute to be stripped
thanks to chrispitude for https://github.com/mirod/xmltwig/pull/37
- added HTML style aliases for positions for paste and insert_new_elt
beforebegin for before
afterbegin for first_child
beforeend for last_child
afterend for after
- improved insert_new_elt to allow for the element to insert to be
a well-formed XML string, similar to insertAdjacentHTML in js
OBS-URL: https://build.opensuse.org/request/show/1284908
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Twig?expand=0&rev=45
- Security fix [bsc#1008644, CVE-2016-9180]
* Setting expand_external_ents to 0 or -1 currently doesn't work
as expected; To completely turn off expanding external entities
use no_xxe.
* Update documentation for XML::Twig to mention problems with
expand_external_ents and add information about new no_xxe argument
* Add test CVE-2016-9180.t
* Add test build-requirements:
perl-Test-Exception, perl-Text-Iconv, perl-Unicode-Map8
- Add perl-XML-Twig-CVE-2016-9180.patch
OBS-URL: https://build.opensuse.org/request/show/821143
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Twig?expand=0&rev=37
- updated to 3.49
see /usr/share/doc/packages/perl-XML-Twig/Changes
3.49 - 2015-03-24
- added: the DTD_base option to XML::Twig new, that forces XML::Twig to look
for the DTD in a given directory
thanks to Arun lakhana for the idea
- fixed: XML::Parser 2.43 caused a failure in the tests due to a change in
its behaviour when die-ing.
- fixed: prevent PAUSE from trying to index packages that are only used
for monkey patching (to re-use XML::XPath as the XPath engine for
XML::Twig::XPath). Will also prevent UNAUTHORIZED flag on metacpan.
patch sent by Graham Knop
- fixed: RT #96009
keep_atts_order => 0 behaviour. Spotted by Dolmen
https://rt.cpan.org/Public/Bug/Display.html?id=96009
- fixed bug RT #97461
wrong error message was returned calling parse on an invalid filehandle
Thanks to Slaven Rezic for the bug report and test case
https://rt.cpan.org/Public/Bug/Display.html?id=97461
- fixed: RT #98801
COMPATIBILITY WARNING
inconsistency between simplify and XML::Simple for empty elements (including
elements with start and end tags but no contents)
the XML::Simple behaviour is to map them to an empty hash, not an
OBS-URL: https://build.opensuse.org/request/show/297002
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Twig?expand=0&rev=32