Sophie

Sophie

distrib > Fedora > 20 > x86_64 > by-pkgid > d0cd0ff78e876edca46015012ea4ea03

perl-Test-XML-0.08-2.fc20.src.rpm

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 similiar 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 parseable as
XML.

is_good_xml(XML [, TESTNAME ])

This is an alias for is_well_formed_xml().

Generated packages:

Other version of this rpm: