Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.14.0

Bug #18893 xml-entities instead of hmtlentities in generated wsdl by disco-server.
Submitted: 2011-10-06 14:39 UTC
From: thg13 Assigned:
Status: Open Package: SOAP (version SVN)
PHP Version: 5.2.12 OS: linux
Roadmaps: (Not assigned)    
Subscription  


 [2011-10-06 14:39 UTC] thg13 (Thomas Gabler)
Description: ------------ I instantiate a SoapDiscoServer with description "ä" containing german umlaut: $disco = new SOAP_DISCO_Server($server,'test', "ä"); The generated wsdl has the not defined entity auml. ... <documentation>ä</documentation> The reason is in Disco.php, RV 302446 line 138: $this->_wsdl['definitions']['service']['documentation'] = htmlentities($this->_service_desc); Test script: --------------- $disco = new SOAP_DISCO_Server($server,'test', "ä"); echo $disco->getWSDL(); Expected result: ---------------- wsdl: ... <documentation>& #228;</documentation> (without blank) Actual result: -------------- wsdl: ... <documentation>& auml;</documentation> (without blank)

Comments

 [2011-10-06 18:37 UTC] doconnor (Daniel O'Connor)
Annoyingly the quickest fix for this would make PHP 5.4+ a dep with the new arguments available (http://au.php.net/htmlentities)