[mapguide-commits] r4801 - trunk/MgDev/Server/src/Services/Feature
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Fri Apr 16 12:53:38 EDT 2010
Author: brucedechant
Date: 2010-04-16 12:53:37 -0400 (Fri, 16 Apr 2010)
New Revision: 4801
Modified:
trunk/MgDev/Server/src/Services/Feature/ServerGetProviderCapabilities.cpp
Log:
Fix for trac ticket 1050.
http://trac.osgeo.org/mapguide/ticket/1050
Notes:
- Fixed typo in generated xml. Changed FunctionDefinitionCollection to FunctionDefinitionList to match the schema
Modified: trunk/MgDev/Server/src/Services/Feature/ServerGetProviderCapabilities.cpp
===================================================================
--- trunk/MgDev/Server/src/Services/Feature/ServerGetProviderCapabilities.cpp 2010-04-16 15:56:51 UTC (rev 4800)
+++ trunk/MgDev/Server/src/Services/Feature/ServerGetProviderCapabilities.cpp 2010-04-16 16:53:37 UTC (rev 4801)
@@ -473,7 +473,7 @@
if (funcCnt > 0)
{
// Add function definition collection element if there are any functions available
- DOMElement* funcDefColNode = m_xmlCap->AddChildNode(expressionNode, "FunctionDefinitionCollection");
+ DOMElement* funcDefColNode = m_xmlCap->AddChildNode(expressionNode, "FunctionDefinitionList");
CHECKNULL(funcDefColNode, L"MgServerGetProviderCapabilities::CreateExpressionCapabilities");
for (FdoInt32 i=0; i < funcCnt; i++)
@@ -506,7 +506,7 @@
if (argCnt > 0)
{
// Add ArgumentDefinitionCollection if there are arguments
- DOMElement* argDefColNode = m_xmlCap->AddChildNode(funcDefNode, "ArgumentDefinitionCollection");
+ DOMElement* argDefColNode = m_xmlCap->AddChildNode(funcDefNode, "ArgumentDefinitionList");
CHECKNULL(argDefColNode, L"MgServerGetProviderCapabilities::CreateExpressionCapabilities");
for (FdoInt32 j=0; j < argCnt; j++)
More information about the mapguide-commits
mailing list