ID:               29999
 Updated by:       [EMAIL PROTECTED]
 Reported By:      kore at mindwipe dot org
-Status:           Open
+Status:           Bogus
 Bug Type:         SOAP related
 Operating System: linux
 PHP Version:      5.0.1
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

xmlCheckUTF8 is broken in libxml2-2.6.13. Either use an older version
or the latest from cvs where it's been fixed.


Previous Comments:
------------------------------------------------------------------------

[2004-09-06 16:23:39] kore at mindwipe dot org

Description:
------------
php complains about string not being valid utf-8. Now the code works
with 5.0.0 compiled against libxml2-2.6.13 but not with 5.0.1. It's the
function xmlCheckUTF8 (in libxml2) that returns the value causing the
error message.


Reproduce code:
---------------
<?php
$client = new
SoapClient("http://xml.whereisthatip.com/ip-location-service.wsdl";);

$queryresult = $client->getLocationRequest("192.48.96.9");

echo "$queryresult\n";;
?>

Expected result:
----------------
US


Actual result:
--------------
Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Client]
SOAP-ERROR: Encoding: string '192.48.96.9' is not a valid utf-8 string
in /data/www/PRO/html/pcs/test.php:5
Stack trace:
#0 /data/www/PRO/html/pcs/test.php(5):
SoapClient->getLocationRequest('getLocationRequ...', Array)
#1 {main}
  thrown in /data/www/PRO/html/pcs/test.php on line 5



------------------------------------------------------------------------


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

Reply via email to