| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: perl-XML-Twig | Distribution: openSUSE Tumbleweed |
| Version: 3.540.0 | Vendor: openSUSE |
| Release: 1.2 | Build date: Wed Jun 11 17:33:33 2025 |
| Group: Unspecified | Build host: reproducible |
| Size: 677221 | Source RPM: perl-XML-Twig-3.540.0-1.2.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://metacpan.org/release/XML-Twig | |
| Summary: XML, The Perl Way | |
This module provides a way to process XML documents. It is built on top of 'XML::Parser'. The module offers a tree interface to the document, while allowing you to output the parts of it that have been completely processed. It allows minimal resource (CPU and memory) usage by building the tree only for the parts of the documents that need actual processing, through the use of the 'twig_roots ' and 'twig_print_outside_roots ' options. The 'finish ' and 'finish_print ' methods also help to increase performance. XML::Twig tries to make simple things easy, so it tries its best to takes care of a lot of the (usually) annoying (but sometimes necessary) features that come with XML and XML::Parser.
Artistic-1.0 OR GPL-1.0-or-later
* Wed Jun 11 2025 Tina Müller <tina.mueller@suse.com>
- Updated perl-XML-Twig-CVE-2016-9180.patch
* Wed Jun 11 2025 Tina Müller <timueller+perl@suse.de>
- 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
* Thu Jan 16 2025 Dominique Leuenberger <dimstar@opensuse.org>
- Also provide perl(XML::Twig::XPath), as provided by the file
/usr/lib/perl5/vendor_perl/*/XML/Twig/XPath.pm.
* Fri Jan 10 2025 Tina Müller <tina.mueller@suse.com>
- Update perl-XML-Twig-CVE-2016-9180.patch
* Sat Dec 14 2024 Tina Müller <timueller+perl@suse.de>
- updated to 3.530.0 (3.53)
see /usr/share/doc/packages/perl-XML-Twig/Changes
3.53 - 2024-12-10 - minor maintenance release
- fixed warning from recent perl version
See RT#155759 https://rt.cpan.org/Public/Bug/Display.html?id=155759
- fixed bug with namespaced elements in navigation
- added multiclass selectors in navigation and handler triggers
(css style, eg elt.class1.class2)
- fixed bug with dots in element names confusing navigation
conditions in some cases
- fixed output when a CDATA section includes a CDATA end marker
spotted by Djibril
* Mon Mar 04 2024 pgajdos@suse.com
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN
* Mon Jul 13 2020 Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
- 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
* Thu Nov 24 2016 coolo@suse.com
- updated to 3.52
see /usr/share/doc/packages/perl-XML-Twig/Changes
3.52 - 2016-11-23 - minor maintenance release
- fixed: the previous fix was buggy...
3.51 - 2016-11-23 - minor maintenance release
- fixed: failing tests when XML::XPathEngine and XML::XPath not available
* Wed Nov 23 2016 coolo@suse.com
- updated to 3.50
see /usr/share/doc/packages/perl-XML-Twig/Changes
* Tue Apr 14 2015 coolo@suse.com
- 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
empty/undef scalar (depending of whether the element is a PCDATA or not)
as was the case in previous versions of the module.
This has the potential to break some existing code, but simplify should be
strictly the same as XML::Simple's XMLin
Thanks to Vangelis Katsikaros for the bug report and test case
https://rt.cpan.org/Public/Bug/Display.html?id=98801
/usr/bin/xml_grep /usr/bin/xml_merge /usr/bin/xml_pp /usr/bin/xml_spellcheck /usr/bin/xml_split /usr/lib/perl5/vendor_perl/5.42.0/XML /usr/lib/perl5/vendor_perl/5.42.0/XML/Twig /usr/lib/perl5/vendor_perl/5.42.0/XML/Twig.pm /usr/lib/perl5/vendor_perl/5.42.0/XML/Twig/XPath.pm /usr/lib/perl5/vendor_perl/5.42.0/XML/speedup.pl /usr/share/doc/packages/perl-XML-Twig /usr/share/doc/packages/perl-XML-Twig/Changes /usr/share/doc/packages/perl-XML-Twig/README /usr/share/doc/packages/perl-XML-Twig/check_optional_modules /usr/share/man/man1/xml_grep.1.gz /usr/share/man/man1/xml_merge.1.gz /usr/share/man/man1/xml_pp.1.gz /usr/share/man/man1/xml_spellcheck.1.gz /usr/share/man/man1/xml_split.1.gz /usr/share/man/man3/XML::Twig.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sat Nov 1 22:56:59 2025