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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 01:01:30 2024 UTC