From 34d24de2f004df6ab096f4165eb31e16e70e76bb Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 11 Jan 2007 07:05:28 +0000 Subject: change DomDocument::loadXml to use instance method (static method causes E_STRICT error). --- framework/3rdParty/WsdlGen/Wsdl.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework/3rdParty') diff --git a/framework/3rdParty/WsdlGen/Wsdl.php b/framework/3rdParty/WsdlGen/Wsdl.php index 55694438..4b94fbb4 100644 --- a/framework/3rdParty/WsdlGen/Wsdl.php +++ b/framework/3rdParty/WsdlGen/Wsdl.php @@ -107,7 +107,8 @@ class Wsdl xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/">'; - $dom = DOMDocument::loadXml($xml); + $dom = new DOMDocument(); + $dom->loadXml($xml); $this->definitions = $dom->documentElement; $this->addTypes($dom); -- cgit v1.2.3