php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40483 SOAP XML responses truncated by 1 character
Submitted: 2007-02-14 15:23 UTC Modified: 2007-02-14 16:39 UTC
From: paul dot downey at whatfettle dot com Assigned:
Status: Not a bug Package: SOAP related
PHP Version: 5.2.0 OS: Mac OSX 10.4.8
Private report: No CVE-ID: None
 [2007-02-14 15:23 UTC] paul dot downey at whatfettle dot com
Description:
------------
Testing the XML Schema Databinding support for the W3C.
The last '>' charater is missing from each and every SOAP/XML response message.

Reproduce code:
---------------
testsuite code for PHP 5.2.0 is here:

http://www.w3.org/2002/ws/databinding/edcopy/toolkits/php5_php_5.2.0/


some instructions here:

http://www.w3.org/2002/ws/databinding/testsuite/





Expected result:
----------------
we HTTP POST a series of XML files to the service, and expect the same infoset to be echo'd back.

Actual result:
--------------
response is returned with the last '>' missing from </soap:Envelope>

This bug currently means the W3C XML Schema Patterns for Databinding Working Group has the PHP 5.2.0 SOAP toolkit as being "all red" in their interoperability test report.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-14 15:31 UTC] tony2001@php.net
Did you try 5.2.1?
 [2007-02-14 15:37 UTC] paul dot downey at whatfettle dot com
Looking at previous logs, the same bug applies to 5.0.4 on my mac, and 5.1.6 on my Linux host (1and1), now trying a 5.2.0 version built from source on Dreamhosts' Linux.
 [2007-02-14 15:46 UTC] tony2001@php.net
Then please upgrade to PHP 5.2.1 first.
 [2007-02-14 15:52 UTC] paul dot downey at whatfettle dot com
I will consider doing that. Is it a known bug in releases prior to 5.2.1, or are you just wanting me to upgrade for diagnostics?
 [2007-02-14 15:57 UTC] tony2001@php.net
>Is it a known bug in releases prior to 5.2.1, or are you 
>just wanting me to upgrade for diagnostics?
I just want to make sure we're not wasting time on something that is already fixed.
 [2007-02-14 16:18 UTC] paul dot downey at whatfettle dot com
OK, I believe I've resolved the issue - there was trailing whitespace between the ?> and the end of the file.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jan 02 23:01:30 2025 UTC