#1145728 ITP: libxml-tidy-tiny-perl -- module to indent XML without parsing it

#1145728#5
Date:
2026-08-26 20:13:32 UTC
From:
To:
* Package name    : libxml-tidy-tiny-perl
  Version         : 0.02
  Upstream Author : A. G. Grishayev <grian@cpan.org>
* URL             : https://metacpan.org/release/XML-Tidy-Tiny
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : module to indent XML without parsing it

XML::Tidy::Tiny re-indents an XML document by splitting it on tag boundaries
and tracking nesting depth, indenting each level by two spaces. Elements whose
content is plain text stay on one line; any XML declaration is kept on a line
of its own, and whitespace-only text between tags is discarded.

It exports a single function, xml_tidy. There is no parser and no validation,
so it has no dependencies beyond core Perl and it will reformat input that is
not well-formed. Use XML::Tidy if you need a tidier that understands the
document.

This module is a dependency of the Cassandane test suite shipped with
cyrus-imapd. Cassandane's 1383 tests cover the CalDAV, CardDAV, JMAP and Sieve
surface of the server; 35 suites currently cannot run in Debian because these
Perl modules are not packaged. See #1145447.

The package will be maintained under the umbrella of the Debian Perl Group.