[PHP-BUG] Bug #60674 [NEW]: SoapClient::__soapCall sends null parameters

2012-01-06 Thread blasterdrp at gmail dot com
From: 
Operating system: Windows XP SP3
PHP version:  5.3.8
Package:  SOAP related
Bug Type: Bug
Bug description:SoapClient::__soapCall sends null parameters

Description:

---
>From manual page:
http://www.php.net/soapclient.soapcall#refsect1-soapclient.soapcall-parameters
---

Sample function provided will not pass parameters to the given SOAP
function, whether associative or ordered array. This is confirmed from the
WSDL side.

Test script:
---
function doSOAP($wsdl,$func,$param) {
try {
$response = new DOMDocument();

$soap = new soapClient($wsdl, array('trace'=>true, 
'exceptions'=>true));

$result = $soap->__soapCall($func,$param);

if(is_soap_fault($result)) {
return $result;
}
else {
$response->loadXML($soap->__getLastResponse());
return $response;
}
}
catch(Exception $exc) {
return $exc;
}
}


-- 
Edit bug report at https://bugs.php.net/bug.php?id=60674&edit=1
-- 
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=60674&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=60674&r=trysnapshot53
Try a snapshot (trunk):  
https://bugs.php.net/fix.php?id=60674&r=trysnapshottrunk
Fixed in SVN:
https://bugs.php.net/fix.php?id=60674&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60674&r=needdocs
Fixed in release:
https://bugs.php.net/fix.php?id=60674&r=alreadyfixed
Need backtrace:  
https://bugs.php.net/fix.php?id=60674&r=needtrace
Need Reproduce Script:   
https://bugs.php.net/fix.php?id=60674&r=needscript
Try newer version:   
https://bugs.php.net/fix.php?id=60674&r=oldversion
Not developer issue: 
https://bugs.php.net/fix.php?id=60674&r=support
Expected behavior:   
https://bugs.php.net/fix.php?id=60674&r=notwrong
Not enough info: 
https://bugs.php.net/fix.php?id=60674&r=notenoughinfo
Submitted twice: 
https://bugs.php.net/fix.php?id=60674&r=submittedtwice
register_globals:
https://bugs.php.net/fix.php?id=60674&r=globals
PHP 4 support discontinued:  
https://bugs.php.net/fix.php?id=60674&r=php4
Daylight Savings:https://bugs.php.net/fix.php?id=60674&r=dst
IIS Stability:   
https://bugs.php.net/fix.php?id=60674&r=isapi
Install GNU Sed: 
https://bugs.php.net/fix.php?id=60674&r=gnused
Floating point limitations:  
https://bugs.php.net/fix.php?id=60674&r=float
No Zend Extensions:  
https://bugs.php.net/fix.php?id=60674&r=nozend
MySQL Configuration Error:   
https://bugs.php.net/fix.php?id=60674&r=mysqlcfg



[PHP-BUG] Bug #64445 [NEW]: Cannot load php_soap.dll

2013-03-18 Thread blasterdrp at gmail dot com
From: blasterdrp at gmail dot com
Operating system: Windows XP x86 SP3
PHP version:  5.4.13
Package:  Dynamic loading
Bug Type: Bug
Bug description:Cannot load php_soap.dll

Description:

Unzipped contents to a new PHP branch directory. Copied php.ini.development
as 
php.ini then opened it side-by-side with previous php.ini (5.4.9) to ensure
that 
the same settings had the same values to avoid hastily setting values for 
configurations I was not aware of.

I receive the following error message when starting my Apache server:

"PHP Startup: Unable to load dynamic library 'C:\Program 
Files\PHP\5.4.13\ext\php_soap.dll' - The specified procedure could not be 
found."

Navigating to that directory I can clearly see php_soap.dll. This is the
only 
extension that will not load. I have also redownloaded PHP to ensure that
this 
particular library was not corrupted.


php.ini:

extension_dir = "C:\Program Files\PHP\5.4.13\ext"

extension=php_soap.dll


-- 
Edit bug report at https://bugs.php.net/bug.php?id=64445&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=64445&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=64445&r=trysnapshot53
Try a snapshot (trunk): 
https://bugs.php.net/fix.php?id=64445&r=trysnapshottrunk
Fixed in SVN:   https://bugs.php.net/fix.php?id=64445&r=fixed
Fixed in release:   https://bugs.php.net/fix.php?id=64445&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64445&r=needtrace
Need Reproduce Script:  https://bugs.php.net/fix.php?id=64445&r=needscript
Try newer version:  https://bugs.php.net/fix.php?id=64445&r=oldversion
Not developer issue:https://bugs.php.net/fix.php?id=64445&r=support
Expected behavior:  https://bugs.php.net/fix.php?id=64445&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=64445&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=64445&r=submittedtwice
register_globals:   https://bugs.php.net/fix.php?id=64445&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64445&r=php4
Daylight Savings:   https://bugs.php.net/fix.php?id=64445&r=dst
IIS Stability:  https://bugs.php.net/fix.php?id=64445&r=isapi
Install GNU Sed:https://bugs.php.net/fix.php?id=64445&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64445&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64445&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=64445&r=mysqlcfg



Bug #64445 [Opn]: Cannot load php_soap.dll

2013-03-19 Thread blasterdrp at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=64445&edit=1

 ID: 64445
 User updated by:blasterdrp at gmail dot com
 Reported by:blasterdrp at gmail dot com
 Summary:Cannot load php_soap.dll
 Status: Open
 Type:   Bug
 Package:Dynamic loading
 Operating System:   Windows XP x86 SP3
 PHP Version:5.4.13
 Block user comment: N
 Private report: N

 New Comment:

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\Program
Files\\PHP\\5.4.13\\ext\\php_soap.dll' - The specified procedure could
not be found.\r\n in Unknown on line 0


Previous Comments:

[2013-03-18 16:00:52] blasterdrp at gmail dot com

Description:

Unzipped contents to a new PHP branch directory. Copied php.ini.development as 
php.ini then opened it side-by-side with previous php.ini (5.4.9) to ensure 
that 
the same settings had the same values to avoid hastily setting values for 
configurations I was not aware of.

I receive the following error message when starting my Apache server:

"PHP Startup: Unable to load dynamic library 'C:\Program 
Files\PHP\5.4.13\ext\php_soap.dll' - The specified procedure could not be 
found."

Navigating to that directory I can clearly see php_soap.dll. This is the only 
extension that will not load. I have also redownloaded PHP to ensure that this 
particular library was not corrupted.


php.ini:

extension_dir = "C:\Program Files\PHP\5.4.13\ext"

extension=php_soap.dll







-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64445&edit=1


Req #55127 [Com]: SimpleXML and HTML5 microformat

2012-09-14 Thread blasterdrp at gmail dot com
Edit report at https://bugs.php.net/bug.php?id=55127&edit=1

 ID: 55127
 Comment by: blasterdrp at gmail dot com
 Reported by:frederic dot auguste at gmail dot com
 Summary:SimpleXML and HTML5 microformat
 Status: Wont fix
 Type:   Feature/Change Request
 Package:SimpleXML related
 PHP Version:5.3.6
 Block user comment: N
 Private report: N

 New Comment:

"I don't really see any point complicating the SimpleXML API to support this, 
given the workaround is that easy."

The DOMDocument class is disrespectful toward input HTML and makes a lot of 
assumptions that you can't persuade it from making. It self-terminates tags you 
may not want to self-terminate, such as , or leaves open tags you may 
want to close, such as , depending on whether or not you put it in quirks 
mode or strict mode. Furthermore it also arbitrarily adds DTDs if it doesn't 
like the one you already have ( is acceptable for HTML 5), and 
the same with meta tags, and so forth.

The DOMDocument should only change what you tell it to change, but instead it 
changes everything, and there's no way to tell it not to.


Previous Comments:

[2011-07-04 08:09:30] paj...@php.net

Additionally you can use tidy to create somehow valid xhtml out of a broken 
html 
input.


[2011-07-04 08:04:31] ahar...@php.net

By definition, it's not valid XML. It's already possible to use SimpleXML to 
manipulate this markup by using DOMDocument::loadHTML() first; eg:

$doc = new DOMDocument;
$doc->loadHTML($xml);
$a = simplexml_import_dom($doc->documentElement);

I don't really see any point complicating the SimpleXML API to support this, 
given the workaround is that easy.


[2011-07-04 07:03:44] frederic dot auguste at gmail dot com

Description:

We would like to manipulate and genere HTML5 microformat.

Parsing a HTML5 microformat with simpleXML is not possible : Some warning are 
generated and simplexml_load_string function return false.

The problem is with the itemscope attribute : It has no value.

Our XML is available on this web site : http://schema.org/Person

Can you add these manipulations in simpleXML API ?
 * add attribut without value
 * parsing XML with attribute without value.

Thanks.

Test script:
---
http://schema.org/Person";>
  Jane Doe
  

  Professor
  http://schema.org/PostalAddress";>

  20341 Whitworth Institute
  405 N. Whitworth

Seattle,
WA
98052
  
  (425) 123-4567
  mailto:jane-...@xyz.edu"; itemprop="email">
jane-...@xyz.edu

  Jane's home page:
  janedoe.com

  Graduate students:
  
Alice Jones
  
Bob Smith

XML;

$a = simplexml_load_string($xml);

if($a == false) {
echo "XML not valid"; 
}
else {
echo $a->asXML();
}








-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55127&edit=1