Skip Menu |

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

Report information
The Basics
Id: 38483
Status: resolved
Priority: 0/
Queue: XML-Compile-SOAP

People
Owner: Nobody in particular
Requestors: jloverso [...] mathworks.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.76
Fixed in: (no value)



Subject: XML::Compile 0.93 causes XML::Compile::SOAP to fail tests
Once I upgrade XML::Compile from 0.92 to 0.93, XML::Compile::SOAP starts to fail tests. Downgrading back to 0.92 eliminates this. I've attached the full output as a separate file, but this is the start of the failed tests: t/01use............Test::More version 0.8 Test::Deep version 0.103 XML::Compile version 0.93 XML::Compile::Tester version 0.02 XML::LibXML version 1.66 Math::BigInt version 1.77 libxml2 2.6.27 t/01use............ok 1/16 t/10soap11.........ok 9/10 t/11fault11........ok 1/37 t/12must11.........ok 1/19 t/13enc11..........ok 1/65 t/14dec11..........ok 1/98 t/15rpclit11.......ok 9/12 t/16rpcenc11.......ok 1/8 t/30charset........skipped all skipped: test needs fixing t/50wsdl11.........ok 1/42error: no definitions for `service' found # Looks like you planned 42 tests but only ran 3. # Looks like your test died just after 3. t/50wsdl11.........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-42 The attached log shows a cpan session (starting with XML::Compile 0.93 installed): Show quoted text
cpan> install XML::Compile::SOAP
(tests fail) Show quoted text
cpan> install M/MA/MARKOV/XML-Compile-0.92.tar.gz
(ok) Show quoted text
cpan> test XML::Compile::SOAP
(tests pass)
Subject: xml-compile-soap.err
Download xml-compile-soap.err
application/octet-stream 29k

Message body not shown because it is not plain text.

CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #38483] XML::Compile 0.93 causes XML::Compile::SOAP to fail tests
Date: Fri, 15 Aug 2008 01:03:56 +0200
To: John LoVerso via RT <bug-XML-Compile-SOAP [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* John LoVerso via RT (bug-XML-Compile-SOAP@rt.cpan.org) [080814 14:24]: Show quoted text
> Queue: XML-Compile-SOAP > Subject: XML::Compile 0.93 causes XML::Compile::SOAP to fail tests
Sorry. Problem is fixed with: (XML::Compile::XML) my $spec = $reader->($node); my $tns = $spec->{targetNamespace} or error __x"WSDL sets no targetNamespace"; # WSDL 1.1 par 2.1.1 says: WSDL def types each in own name-space my $index = $self->{index}; - my $toplevels = $spec->{gr_import} || []; # silly WSDL structure + my $toplevels = $spec->{gr_anyTopLevelOptionalElement} || []; # silly WSDL structure foreach my $toplevel (@$toplevels) { my ($which, $def) = %$toplevel; # always only one $index->{$which}{pack_type $tns, $def->{name}} = $def -- Thanks for the report, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
From: jloverso [...] mathworks.com
Yes, that fixed the problem, except that the fix is in XML::Compile::WSDL11 New release soon?
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #38483] XML::Compile 0.93 causes XML::Compile::SOAP to fail tests
Date: Fri, 15 Aug 2008 07:47:28 +0200
To: John LoVerso via RT <bug-XML-Compile-SOAP [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* John LoVerso via RT (bug-XML-Compile-SOAP@rt.cpan.org) [080815 01:50]: Show quoted text
> Queue: XML-Compile-SOAP > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38483 > > > Yes, that fixed the problem
yes, maybe today. (But I also have to give a talk today at YAPC::EU) -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #38483] XML::Compile 0.93 causes XML::Compile::SOAP to fail tests
Date: Fri, 15 Aug 2008 07:53:34 +0200
To: Mark Overmeer via RT <bug-XML-Compile-SOAP [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Mark Overmeer via RT (bug-XML-Compile-SOAP@rt.cpan.org) [080815 05:47]: Show quoted text
> yes, maybe today.
Oh, release 0.77 available now. (I just realized that internet is much better at the hotel, so took the opportunity) -- Thanks for the report! MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net