Skip Menu |
 

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

Report information
The Basics
Id: 132759
Status: open
Priority: 0/
Queue: XML-Simple

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

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



Subject: t/1_XMLin.t and t/2_XMLout.t started to fail: & vs &
Download (untitled) / with headers
text/plain 838b
My smokers (different OS, different perl versions) started to report a new failure: ... # Failed test 'successfully read an SRT config file' # at t/1_XMLin.t line 1490. # Structures begin differing at: # $got->{pubpath}{test2}{title} = 'web_source -> web_target1 & web_target2' # $expected->{pubpath}{test2}{title} = 'web_source -> web_target1 & web_target2' # Looks like you failed 1 test of 132. t/1_XMLin.t .............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/132 subtests # Failed test 'generated document with escaping' # at t/2_XMLout.t line 300. # Structures begin differing at: # $got->{c} = '&C&' # $expected->{c} = '&C&' # Looks like you failed 1 test of 201. t/2_XMLout.t ............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/201 subtests ...
Download (untitled) / with headers
text/plain 1006b
On 2020-06-02 13:46:43, SREZIC wrote: Show quoted text
> My smokers (different OS, different perl versions) started to report a > new failure: > > ... > # Failed test 'successfully read an SRT config file' > # at t/1_XMLin.t line 1490. > # Structures begin differing at: > # $got->{pubpath}{test2}{title} = 'web_source -> web_target1 > & web_target2' > # $expected->{pubpath}{test2}{title} = 'web_source -> web_target1 > & web_target2' > # Looks like you failed 1 test of 132. > t/1_XMLin.t .............. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/132 subtests > > # Failed test 'generated document with escaping' > # at t/2_XMLout.t line 300. > # Structures begin differing at: > # $got->{c} = '&C&' > # $expected->{c} = '&C&' > # Looks like you failed 1 test of 201. > t/2_XMLout.t ............. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/201 subtests > ...
A github issue already exists: https://github.com/grantm/xml-simple/issues/13
RT-Send-CC: SHLOMIF [...] cpan.org
Download (untitled) / with headers
text/plain 1.5k
On 2020-06-02 14:21:19, SREZIC wrote: Show quoted text
> On 2020-06-02 13:46:43, SREZIC wrote:
> > My smokers (different OS, different perl versions) started to report a > > new failure: > > > > ... > > # Failed test 'successfully read an SRT config file' > > # at t/1_XMLin.t line 1490. > > # Structures begin differing at: > > # $got->{pubpath}{test2}{title} = 'web_source -> web_target1 > > & web_target2' > > # $expected->{pubpath}{test2}{title} = 'web_source -> web_target1 > > & web_target2' > > # Looks like you failed 1 test of 132. > > t/1_XMLin.t .............. > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/132 subtests > > > > # Failed test 'generated document with escaping' > > # at t/2_XMLout.t line 300. > > # Structures begin differing at: > > # $got->{c} = '&C&' > > # $expected->{c} = '&C&' > > # Looks like you failed 1 test of 201. > > t/2_XMLout.t ............. > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/201 subtests > > ...
> > A github issue already exists: > https://github.com/grantm/xml-simple/issues/13
Some guesswork: * XML::LibXML had broken XML::SAX registration for some time, which was fixed recently: https://metacpan.org/changes/distribution/XML-LibXML#L3-8 * if XML::LibXML::SAX was the default parser (as determined in t/0_Config.t), then the latest pass on my smokers was with XML::LibXML::SAX 2.0201 -> Looking at the documented changes between 2.0201 and 2.0205 shows this one as the most likely candidate: https://metacpan.org/changes/distribution/XML-LibXML#L21-22
Download (untitled) / with headers
text/plain 1.8k
Do you have a suggestion on the right way to deal with this? I'm having difficulty seeing it as a problem with XML::Simple that the test suite fails if the system is configured to use a broken XML parser. On Tue Jun 02 14:34:44 2020, SREZIC wrote: Show quoted text
> On 2020-06-02 14:21:19, SREZIC wrote:
> > On 2020-06-02 13:46:43, SREZIC wrote:
> > > My smokers (different OS, different perl versions) started to > > > report a > > > new failure: > > > > > > ... > > > # Failed test 'successfully read an SRT config file' > > > # at t/1_XMLin.t line 1490. > > > # Structures begin differing at: > > > # $got->{pubpath}{test2}{title} = 'web_source -> > > > web_target1 > > > & web_target2' > > > # $expected->{pubpath}{test2}{title} = 'web_source -> > > > web_target1 > > > & web_target2' > > > # Looks like you failed 1 test of 132. > > > t/1_XMLin.t .............. > > > Dubious, test returned 1 (wstat 256, 0x100) > > > Failed 1/132 subtests > > > > > > # Failed test 'generated document with escaping' > > > # at t/2_XMLout.t line 300. > > > # Structures begin differing at: > > > # $got->{c} = '&C&' > > > # $expected->{c} = '&C&' > > > # Looks like you failed 1 test of 201. > > > t/2_XMLout.t ............. > > > Dubious, test returned 1 (wstat 256, 0x100) > > > Failed 1/201 subtests > > > ...
> > > > A github issue already exists: > > https://github.com/grantm/xml-simple/issues/13
> > Some guesswork: > * XML::LibXML had broken XML::SAX registration for some time, which > was fixed recently: https://metacpan.org/changes/distribution/XML- > LibXML#L3-8 > * if XML::LibXML::SAX was the default parser (as determined in > t/0_Config.t), then the latest pass on my smokers was with > XML::LibXML::SAX 2.0201 > -> Looking at the documented changes between 2.0201 and 2.0205 shows > this one as the most likely candidate: > https://metacpan.org/changes/distribution/XML-LibXML#L21-22
RT-Send-CC: SHLOMIF [...] cpan.org
Download (untitled) / with headers
text/plain 2.1k
Shlomi, do you think XML::LibXML is really broken here? Regards, Slaven On 2020-06-21 19:28:32, GRANTM wrote: Show quoted text
> Do you have a suggestion on the right way to deal with this? I'm > having difficulty seeing it as a problem with XML::Simple that the > test suite fails if the system is configured to use a broken XML > parser. > > On Tue Jun 02 14:34:44 2020, SREZIC wrote:
> > On 2020-06-02 14:21:19, SREZIC wrote:
> > > On 2020-06-02 13:46:43, SREZIC wrote:
> > > > My smokers (different OS, different perl versions) started to > > > > report a > > > > new failure: > > > > > > > > ... > > > > # Failed test 'successfully read an SRT config file' > > > > # at t/1_XMLin.t line 1490. > > > > # Structures begin differing at: > > > > # $got->{pubpath}{test2}{title} = 'web_source -> > > > > web_target1 > > > > & web_target2' > > > > # $expected->{pubpath}{test2}{title} = 'web_source -> > > > > web_target1 > > > > & web_target2' > > > > # Looks like you failed 1 test of 132. > > > > t/1_XMLin.t .............. > > > > Dubious, test returned 1 (wstat 256, 0x100) > > > > Failed 1/132 subtests > > > > > > > > # Failed test 'generated document with escaping' > > > > # at t/2_XMLout.t line 300. > > > > # Structures begin differing at: > > > > # $got->{c} = '&C&' > > > > # $expected->{c} = '&C&' > > > > # Looks like you failed 1 test of 201. > > > > t/2_XMLout.t ............. > > > > Dubious, test returned 1 (wstat 256, 0x100) > > > > Failed 1/201 subtests > > > > ...
> > > > > > A github issue already exists: > > > https://github.com/grantm/xml-simple/issues/13
> > > > Some guesswork: > > * XML::LibXML had broken XML::SAX registration for some time, which > > was fixed recently: https://metacpan.org/changes/distribution/XML- > > LibXML#L3-8 > > * if XML::LibXML::SAX was the default parser (as determined in > > t/0_Config.t), then the latest pass on my smokers was with > > XML::LibXML::SAX 2.0201 > > -> Looking at the documented changes between 2.0201 and 2.0205 shows > > this one as the most likely candidate: > > https://metacpan.org/changes/distribution/XML-LibXML#L21-22
Download (untitled) / with headers
text/plain 2.4k
On Mon Jun 22 01:47:13 2020, SREZIC wrote: Show quoted text
> Shlomi, do you think XML::LibXML is really broken here? >
Hi, I checked and "git revert ff99d94" fixes the problem, see: https://github.com/shlomif/perl-XML-LibXML/commit/ff99d94a5186fecf90b88379755434739550b5a9 . sorry it took me so long. Show quoted text
> Regards, > Slaven > > On 2020-06-21 19:28:32, GRANTM wrote:
> > Do you have a suggestion on the right way to deal with this? I'm > > having difficulty seeing it as a problem with XML::Simple that the > > test suite fails if the system is configured to use a broken XML > > parser. > > > > On Tue Jun 02 14:34:44 2020, SREZIC wrote:
> > > On 2020-06-02 14:21:19, SREZIC wrote:
> > > > On 2020-06-02 13:46:43, SREZIC wrote:
> > > > > My smokers (different OS, different perl versions) started to > > > > > report a > > > > > new failure: > > > > > > > > > > ... > > > > > # Failed test 'successfully read an SRT config file' > > > > > # at t/1_XMLin.t line 1490. > > > > > # Structures begin differing at: > > > > > # $got->{pubpath}{test2}{title} = 'web_source -> > > > > > web_target1 > > > > > & web_target2' > > > > > # $expected->{pubpath}{test2}{title} = 'web_source -> > > > > > web_target1 > > > > > & web_target2' > > > > > # Looks like you failed 1 test of 132. > > > > > t/1_XMLin.t .............. > > > > > Dubious, test returned 1 (wstat 256, 0x100) > > > > > Failed 1/132 subtests > > > > > > > > > > # Failed test 'generated document with escaping' > > > > > # at t/2_XMLout.t line 300. > > > > > # Structures begin differing at: > > > > > # $got->{c} = '&C&' > > > > > # $expected->{c} = '&C&' > > > > > # Looks like you failed 1 test of 201. > > > > > t/2_XMLout.t ............. > > > > > Dubious, test returned 1 (wstat 256, 0x100) > > > > > Failed 1/201 subtests > > > > > ...
> > > > > > > > A github issue already exists: > > > > https://github.com/grantm/xml-simple/issues/13
> > > > > > Some guesswork: > > > * XML::LibXML had broken XML::SAX registration for some time, which > > > was fixed recently: https://metacpan.org/changes/distribution/XML- > > > LibXML#L3-8 > > > * if XML::LibXML::SAX was the default parser (as determined in > > > t/0_Config.t), then the latest pass on my smokers was with > > > XML::LibXML::SAX 2.0201 > > > -> Looking at the documented changes between 2.0201 and 2.0205 shows > > > this one as the most likely candidate: > > > https://metacpan.org/changes/distribution/XML-LibXML#L21-22
> >


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.