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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: justin dot hendrickson at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 16:01:29 2024 UTC