Skip Menu |

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

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

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

Bug Information
Severity: Normal
Broken in: 2.29
Fixed in: 2.30



Subject: complexContent and extension tags in schema definition are not being recognized
I am using an XSD with a complexType defined by extending another complexType, via the complexContent and extension tags: <xsd:complexType name="PurchasedRequestType"> <xsd:complexContent> <xsd:extension base="bons0:RequestType"> <xsd:sequence> ... xsd:elements here... </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> However, only the elements defined in the base RequestType type (credentialInfo) are being recognized - all other elements passed are being rejected. When I rewrite the PurchasedRequestType definition to not refer to RequestType, but instead list all sequence elements directly, explain() produces the expected output (listing all the eligible elements). Since the schema definition cannot be published, I am sending these to Mark in private email, along with full reproduction steps and the explain() output from the original schema as well as a version patched to not use the extension tag.
Subject: Re: [rt.cpan.org #79986] complexContent and extension tags in schema definition are not being recognized
Date: Sat, 6 Oct 2012 14:49:58 +0200
To: Karen Etheridge via RT <bug-XML-Compile-SOAP [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Karen Etheridge via RT (bug-XML-Compile-SOAP@rt.cpan.org) [121003 18:18]: Show quoted text
> Wed Oct 03 14:17:58 2012: Request 79986 was acted upon. > Transaction: Ticket created by ETHER > Queue: XML-Compile-SOAP > Subject: complexContent and extension tags in schema definition are not
Fixed. Please upgrade XML::Compile::SOAP v2.30 (The fix is in XML::Compile 1.28) -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net