php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58078 Regression test for bug 8428 is crashing
Submitted: 2008-03-03 12:01 UTC Modified: 2017-01-10 08:11 UTC
From: mfp@php.net Assigned:
Status: Suspended Package: SCA_SDO (PECL)
PHP Version: 5.2.1 OS: Win XP
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-03-03 12:01 UTC] mfp@php.net
Description:
------------
The phpt regression test bug8428.phpt is crashing:

<b>Notice</b>:  SDO_DAS_XML::loadString - Unable to parse the supplied xml string
1 parse error(s) occurred when parsing the string:
1. Parser found unknown element return
 in <b>C:\php\PEAR\SCA\Bindings\soap\Mapper.php</b> on line <b>112</b><br />


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-01 13:31 UTC] cem@php.net
I think Something Has Changed, possibly at the server or in the PHP SoapClient.

The xml which is being passed into SCA_Bindings_soap_Mapper::fromXML() is like this: 

<return xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:type=tns:Definition>
<word xsi:type=xsd:string>wotd</word>
...
</return>

and this causes the parse error noted above.

I edited this by hand in the debugger to:
<return xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:tns=urn:UrbanSearch xsi:type=tns:Definition>
<word xsi:type=xsd:string>wotd</word>
...
</return>

and the test worked fine.
 [2017-01-10 08:11 UTC] kalle@php.net
-Status: Analyzed +Status: Suspended
 [2017-01-10 08:11 UTC] kalle@php.net
Suspending this report as the extension have not had a release for almost 9 years.  Please revive this if the extension once again shows life
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 20:01:28 2024 UTC