SRU::U...XMLTest(3pm)
β¨ NAME β¨
SRU::Utils::XMLTest β the XML testing utility functions bestie, it's giving "little helper module that just wants your XML to be valid" π
So real quick, this page is titled SRU::U...XMLTest(3pm) up top (yeah the title bar cuts it off, that's just how it renders, don't panic π
) and it lives in the User Contributed Perl Documentation manual. Cute, right? Let's go.
πΈ SYNOPSIS πΈ
use SRU::Utils::XMLText;
ok( wellFormedXML($xml), '$xml is well formed' );
Okay so yes, the use line literally says XMLText with a t at the end and not XMLTest with a t... wait no. Text vs Test. The synopsis says XMLText. The module is XMLTest. That's exactly what the original page says, so I'm handing it to you character for character, no cap, I am not "fixing" anything π«Ά. Copy it at your own risk, that's between you and your @INC.
π¦ DESCRIPTION π¦
It's a little grab-bag of utility functions made for testing XML data. That's the whole vibe. It's not a framework, it's not a lifestyle, it's just some helpers so your tests can be like "is this XML okay or is it a mess π".
π METHODS π
π wellFormedXML( $xml )
Checks if $xml is welformed.
(yes, "welformed", that's the spelling the original page uses and I am a faithful narrator π β you know what it means: is it well formed? is the XML valid and not feral?)
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2013 by Ed Summers.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Slay, honestly. π
And that's the whole page bestie π«Ά this gem was rendered by perl v5.34.0 on 2022-06-17, and that's the last line of the original, so here's your cute sign-off: go forth, test your XML, and may it always be well formed β¨π
π¦ where this page comes from
- debian bookworm: libsru-perl 1.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libsru-perl 1.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libsru-perl 1.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libsru-perl 1.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libsru-perl 1.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms