php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #51789 Please add support for complexType mixed="true"
Submitted: 2010-05-10 23:26 UTC Modified: -
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: justin dot hendrickson at gmail dot com Assigned:
Status: Open Package: SOAP related
PHP Version: 5.3.2 OS: Ubuntu 10.04
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-05-10 23:26 UTC] justin dot hendrickson at gmail dot com
Description:
------------
Currently, the following WSDL definition:

<s:complexType mixed="true" name="DataSheetAttribute">
 <s:annotation>
  <s:documentation>
   One attribute of information belonging to a datasheet. The information is in the element body.
  </s:documentation>
 </s:annotation>
 <s:attribute name="n" type="s:string">
  <s:annotation>
   <s:documentation>
    The name of the information. Examples: Manufacturer Website Address, Print Speed.
   </s:documentation>
  </s:annotation>
 </s:attribute>
</s:complexType>

and XML of:
<attribute n="Product Name">Heavy Duty Packaging Cutter</attribute>

is mapped to PHP as:
object(stdClass)[12]
  public 'n' => string 'Product Name' (length=12)


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 22:01:26 2024 UTC