Skip Menu |

This queue is for tickets about the Test-XML-Ordered CPAN distribution.

Report information
The Basics
Id: 89263
Status: new
Priority: 0/
Queue: Test-XML-Ordered

People
Owner: Nobody in particular
Requestors: NGLENN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.0.6
Fixed in: (no value)



Subject: Compare processing instructions
PIs are not currently considered in the XML comparison. Each PI has a name and a value, so the following should not pass but do: use Test::More; plan tests => 2; use Test::XML::Ordered qw(is_xml_ordered); is_xml_ordered( [string => '<xml><?FOO stuff?></xml>'], [string => '<xml><?FOO bar?></xml>'], 'XML structure' ); is_xml_ordered( [string => '<xml><?FOO stuff?></xml>'], [string => '<xml><?BAR stuff?></xml>'], 'XML structure' ); I do not know what the behavior in Test::XML (the only referenced distribution) is.