[mapguide-commits] r6053 - trunk/MgDev/Common/MdfParser

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Aug 9 20:48:25 EDT 2011


Author: hubu
Date: 2011-08-09 17:48:25 -0700 (Tue, 09 Aug 2011)
New Revision: 6053

Modified:
   trunk/MgDev/Common/MdfParser/IOURLData.cpp
Log:
Ticket #1737 Fix a bug in MdfParser

The open tag of ContentOverride is not the same as the end tag when serialized to XML file.

Modified: trunk/MgDev/Common/MdfParser/IOURLData.cpp
===================================================================
--- trunk/MgDev/Common/MdfParser/IOURLData.cpp	2011-08-09 14:44:13 UTC (rev 6052)
+++ trunk/MgDev/Common/MdfParser/IOURLData.cpp	2011-08-10 00:48:25 UTC (rev 6053)
@@ -144,7 +144,7 @@
     // Property: Content Override
     if(!urlData->GetUrlContentOverride().empty())
     {
-        fd << tab.tab() << startStr(sContent);
+        fd << tab.tab() << startStr(sContentOverride);
         fd << EncodeString(urlData->GetUrlContentOverride());
         fd << endStr(sContentOverride) << std::endl;
     }



More information about the mapguide-commits mailing list