[mapguide-commits] r8310 - trunk/MgDev/Web/src/schemareport

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Jul 29 14:51:18 PDT 2014


Author: jng
Date: 2014-07-29 14:51:17 -0700 (Tue, 29 Jul 2014)
New Revision: 8310

Modified:
   trunk/MgDev/Web/src/schemareport/displayschemafunctions.php
Log:
This file slipped under our PHP 5.5 deprecation cleanup list. Let's fix that.

Modified: trunk/MgDev/Web/src/schemareport/displayschemafunctions.php
===================================================================
--- trunk/MgDev/Web/src/schemareport/displayschemafunctions.php	2014-07-29 09:06:21 UTC (rev 8309)
+++ trunk/MgDev/Web/src/schemareport/displayschemafunctions.php	2014-07-29 21:51:17 UTC (rev 8310)
@@ -126,7 +126,8 @@
     $gotCount = false;
     $fsBr = $resourceSrvc->GetResourceContent($featuresId);
     $fsXml = $fsBr->ToString();
-    $fsDoc = DOMDocument::loadXML($fsXml);
+    $fsDoc = new DOMDocument();
+    $fsDoc->loadXML($fsXml);
     $providerNodeList = $fsDoc->getElementsByTagName("Provider");
     $providerName = $providerNodeList->item(0)->nodeValue;
     $capsBr = $featureSrvc->GetCapabilities($providerName);



More information about the mapguide-commits mailing list