Compare XML in perl tests
24.91 KB
built 2026-10-17 01:45:35 GMT
Description
This module contains generic XML testing tools. Functions include:
is_xml(GOT, EXPECTED [, TESTNAME ])
This function compares GOT and EXPECTED, both of which are strings of XML.
The comparison works semantically and will ignore differences in syntax
that are meaningless in xml, such as different quote characters for
attributes, order of attributes or empty tag styles. It returns true or
false, depending upon test success.
isnt_xml(GOT, MUST_NOT_BE [, TESTNAME ])
This function is similar to is_xml(), except that it will fail if GOT and
MUST_NOT_BE are identical.
is_well_formed_xml(XML [, TESTNAME ])
This function determines whether or not a given XML string is parsable as
XML.
is_good_xml(XML [, TESTNAME ])
This is an alias for is_well_formed_xml().
Dependencies
26 totalRequires19
- perl(Carp)
- perl(Test::Builder)
- perl(Test::More)
- perl(Test::XML)
- perl(XML::LibXML)
- perl(XML::Parser)
- perl(XML::SAX)
- perl(XML::SAX::ParserFactory)
- perl(XML::SAX::Writer)
- perl(XML::SemanticDiff)
- perl(XML::Twig)
- perl(XML::XPath)
- perl(strict)
- perl(warnings)
- perl-libs
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides7
- perl(Test::XML) = 0.08
- perl(Test::XML::SAX) = 0.01
- perl(Test::XML::Twig) = 0.01
- perl(Test::XML::XPath) = 0.03
- perl(Test::XML::XPath::XML::LibXML)
- perl(Test::XML::XPath::XML::XPath)
- perl-Test-XML = 0.08-34.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
13
Files 1–13 of 13
Component of
buildroots that installed this RPMBuildroot ![]() |
Created | State |
|---|---|---|
| f45-build-27584-624 | 2026-10-17 02:43:03 | expired |
Buildroots 1–1 of 1

