[mapguide-commits] r4804 - trunk/Tools/Maestro/MaestroAPI

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Apr 19 21:16:08 EDT 2010


Author: jng
Date: 2010-04-19 21:16:08 -0400 (Mon, 19 Apr 2010)
New Revision: 4804

Modified:
   trunk/Tools/Maestro/MaestroAPI/ServerConnectionBase.cs
Log:
#1325: Refine the provider capabilities xml pre-processing.

Modified: trunk/Tools/Maestro/MaestroAPI/ServerConnectionBase.cs
===================================================================
--- trunk/Tools/Maestro/MaestroAPI/ServerConnectionBase.cs	2010-04-20 01:09:50 UTC (rev 4803)
+++ trunk/Tools/Maestro/MaestroAPI/ServerConnectionBase.cs	2010-04-20 01:16:08 UTC (rev 4804)
@@ -242,8 +242,12 @@
 
                 //Pre-2.2 the elements were suffixed with Collection, change the suffix to List
 
-                sb.Replace("FunctionDefinitionCollection>", "FunctionDefinitionList>");
-                sb.Replace("ArgumentDefinitionCollection>", "ArgumentDefinitionList>");
+                sb.Replace("<FunctionDefinitionCollection>", "<FunctionDefinitionList>");
+                sb.Replace("</FunctionDefinitionCollection>", "</FunctionDefinitionList>");
+                sb.Replace("<FunctionDefinitionCollection/>", "<FunctionDefinitionList/>");
+                sb.Replace("<ArgumentDefinitionCollection>", "<ArgumentDefinitionList>");
+                sb.Replace("</ArgumentDefinitionCollection>", "</ArgumentDefinitionList>");
+                sb.Replace("<ArgumentDefinitionCollection/>", "<ArgumentDefinitionList/>");
 
                 byte[] bytes = Encoding.UTF8.GetBytes(sb.ToString());
 



More information about the mapguide-commits mailing list