Skip Menu |
 

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

Report information
The Basics
Id: 122639
Status: new
Priority: 0/
Queue: PITA-XML

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

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



CC: PERIGRIN [...] cpan.org
Subject: t/13_ids.t fails (normalization problems?)
Download (untitled) / with headers
text/plain 1.1k
Test 16 in t/13_ids.t fails, even with perls not subject to hash randomization: $ perl5.10.1 -Mblib t/13_ids.t ... not ok 16 - Wrote XML with id in it ok # Failed test 'Wrote XML with id in it ok' # at t/13_ids.t line 85. # got: '<?xml version="1.0" encoding="UTF-8"?> # <request xmlns='http://ali.as/xml/schema/pita-xml/0.52' id='9B5B88CC-745B-11E7-AC12-986A3F0B0112'><scheme>perl5</scheme><distname>Foo-Bar</distname><file><filename>Foo-Bar-0.01.tar.gz</filename><digest>MD5.0123456789abcdef0123456789abcdef</digest></file></request>' # expected: '<?xml version='1.0' encoding='UTF-8'?><request xmlns='http://ali.as/xml/schema/pita-xml/0.52' id='9B5B88CC-745B-11E7-AC12-986A3F0B0112'><scheme>perl5</scheme><distname>Foo-Bar</distname><file><filename>Foo-Bar-0.01.tar.gz</filename><digest>MD5.0123456789abcdef0123456789abcdef</digest></file></request>' ... This looks like different normalization (extra newline after the xml preamble, usage of double instead of single quotes). Very probably caused by the recent XML::SAX::Writer 0.56 release, see: https://metacpan.org/diff/file?target=PERIGRIN%2FXML-SAX-Writer-0.57%2F&source=PERIGRIN%2FXML-SAX-Writer-0.56


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.