PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Web Services » SOAP » Bug #4410

WSDL.php produces wrong code if element name contains '-'

Details

Submitted2005-05-23 17:20 UTC
Fromjuanignaciosl at gmail dot com
Assignedchagenbu
StatusDuplicate
PackageSOAP
PHP Version4.3.11
OSGNU/Linux
Roadmaps(Not assigned)

Comments

[2005-05-23 17:20 UTC] juanignaciosl at gmail dot com

Description:
------------
If a element name contains '-' generated code is not valid. For example,

<element name="force-removal" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>

generates

function &removeJob($transaction, $clusterId, $jobId, $reason, $force-removal)

[2005-05-23 17:45 UTC] juanignaciosl at gmail dot com

- Package correction, I'm sorry

[2005-05-23 18:10 UTC] juanignaciosl at gmail dot com

I'm using last version (1.76) and it doesn't seem to be solved...