t/stockquote.t started to fail (with XML-Compile-SOAP-3.20?) #1
Labels
No labels
bug
duplicate
enhancement
help wanted
housekeeping
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mjg/perl-XML-CompileX-Schema-Loader#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
My smoker systems started to report the following failure in the test suite:
Statistical analysis suggests that this happens only with XML-Compile-SOAP-3.20 (@markov2: FYI):
Yes, my change triggered this. It's a bug in XML::CompileX::Schema::Loader:
The test XSD t/stockquote/stockquote.xsd contains:
http://www.w3.org/2000/10/XMLSchema
which really no-one uses anymore. XML::Compile doesn't know about the
types in that namespace. Change that into
http://www.w3.org/2001/XMLSchema
The other two warnings in t/stockquote.t are caused by
my $response = HTTP::Response->new( HTTP_OK => status_message(HTTP_OK) );
which should be
my $response = HTTP::Response->new( &HTTP_OK => status_message(HTTP_OK) );
or
my $response = HTTP::Response->new(HTTP_OK, status_message(HTTP_OK) );
On the other hand: it does also show me a bug at my side. Module
XML::Compile::XOP tells people to load it to have XOP enabled... but
the hook to handle XOP is instated anyway. That's incorrect. There
was a small change in that code which made the test fails. I have fixed
that for the next release.
greetz,
MarkOv
http://Mark.Overmeer.net http://solutions.overmeer.net