[mapguide-commits] r8145 - in branches/2.6/MgDev: . UnitTest UnitTest/TestData UnitTest/TestData/FeatureService UnitTest/TestData/Samples UnitTest/TestData/Samples/Sheboygan UnitTest/TestData/Samples/Sheboygan/Library UnitTest/TestData/Samples/Sheboygan/Library/Samples UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/MapsTiled UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks UnitTest/WebTier/Php UnitTest/WebTier/Php/MapAgentShim

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed May 21 21:44:12 PDT 2014


Author: jng
Date: 2014-05-21 21:44:12 -0700 (Wed, 21 May 2014)
New Revision: 8145

Added:
   branches/2.6/MgDev/UnitTest/TestData/Samples/
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/BuildingOutlines.FeatureSource_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/BuildingOutlines.FeatureSource_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/CityLimits.FeatureSource_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/CityLimits.FeatureSource_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicLines.FeatureSource_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicLines.FeatureSource_DATA_HydrographicLines.sdf
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicLines.FeatureSource_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Islands.FeatureSource_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Islands.FeatureSource_DATA_Islands.sdf
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Islands.FeatureSource_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/LandUse.FeatureSource_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/LandUse.FeatureSource_DATA_LandUse.sdf
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/LandUse.FeatureSource_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Parcels.FeatureSource_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Parcels.FeatureSource_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Rail.FeatureSource_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Rail.FeatureSource_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/RoadCenterLines.FeatureSource_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/RoadCenterLines.FeatureSource_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Soils.FeatureSource_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Soils.FeatureSource_DATA_Soils.sdf
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Soils.FeatureSource_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Trees.FeatureSource_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Trees.FeatureSource_DATA_Trees.sdf
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Trees.FeatureSource_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/VotingDistricts.FeatureSource_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/VotingDistricts.FeatureSource_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Aqua.ApplicationDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Aqua.ApplicationDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/LimeGold.ApplicationDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/LimeGold.ApplicationDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Maroon.ApplicationDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Maroon.ApplicationDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/SlateCommercial.ApplicationDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/SlateCommercial.ApplicationDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/TurquoiseYellow.ApplicationDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/TurquoiseYellow.ApplicationDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Buildings.LayerDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Buildings.LayerDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/CityLimits.LayerDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/CityLimits.LayerDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Districts.LayerDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Districts.LayerDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Hydrography.LayerDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Hydrography.LayerDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Islands.LayerDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Islands.LayerDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Parcels.LayerDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Parcels.LayerDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Roads.LayerDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Roads.LayerDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Tracks.LayerDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Tracks.LayerDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAspTiled.WebLayout_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAspTiled.WebLayout_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJspTiled.WebLayout_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJspTiled.WebLayout_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganMap.PrintLayout_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganMap.PrintLayout_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhpTiled.WebLayout_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhpTiled.WebLayout_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganV26.WebLayout_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganV26.WebLayout_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/Sheboygan.MapDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/Sheboygan.MapDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/SheboyganCommercial.MapDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/SheboyganCommercial.MapDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/MapsTiled/
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/MapsTiled/_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary_DATA_symbols.dwf
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/Logos.SymbolLibrary_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/Logos.SymbolLibrary_DATA_symbols.dwf
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/Logos.SymbolLibrary_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapCommercialText.WatermarkDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapCommercialText.WatermarkDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapText.WatermarkDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapText.WatermarkDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapTiledText.WatermarkDefinition_CONTENT.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapTiledText.WatermarkDefinition_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/_HEADER.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/MgResourcePackageManifest.xml
   branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/build.bat
   branches/2.6/MgDev/UnitTest/WebTier/Php/MapAgentShim/
   branches/2.6/MgDev/UnitTest/WebTier/Php/MapAgentShim/index.php
   branches/2.6/MgDev/UnitTest/prepare.php
   branches/2.6/MgDev/run_tests.bat
Modified:
   branches/2.6/MgDev/UnitTest/TestData/FeatureService/FeatureServiceTest.dump
   branches/2.6/MgDev/build.bat
Log:
This submission includes the following changes:
 - #2031: Check in the Sheboygan dataset. To avoid extra footprint due to redundant files, only data files not already present in the tree is checked in. A build.bat file is included which will "compile" the Sheboygan.mgp file
 - Streamline the test process:
   - Add a new PHP-based mapagent shim that can be used with PHP's built-in web server to act as a http mapagent endpoint for the PHP mapagent test suite
   - Add a prepare.php script that generates a webconfig.ini free of relative paths for key settings
   - Update the GetSpatialContexts responses in the Feature Service tests (TODO: Probably should find a way to strip the FDO version from this response so it won't break with FDO version bumps)
   - Add a new run_tests.bat that does the following:
      - Run the mgserver tests
      - Start the mgserver process and the PHP-based mapagent shim
      - Run the PHP test runner (API and http tests)
      - Run the DotNet test runner
      - Tear down the mgserver and PHP-based mapagent

Modified: branches/2.6/MgDev/UnitTest/TestData/FeatureService/FeatureServiceTest.dump
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/FeatureService/FeatureServiceTest.dump	2014-05-22 04:25:19 UTC (rev 8144)
+++ branches/2.6/MgDev/UnitTest/TestData/FeatureService/FeatureServiceTest.dump	2014-05-22 04:44:12 UTC (rev 8145)
@@ -519,8 +519,52 @@
 INSERT INTO "HttpTestResults" VALUES('GetSpatialContexts on Oracle resource when ACTIVEONLY  is 1', 8007, 'text/xml; charset=utf-8', X'0A20203C46646F5370617469616C436F6E746578744C6973743E0A202020203C50726F76696465724E616D653E4175746F6465736B2E4F7261636C652E332E303C2F50726F76696465724E616D653E0A202020203C5370617469616C436F6E746578743E0A2020202020203C436F6F7264696E61746553797374656D4E616D653E3C2F436F6F7264696E61746553797374656D4E616D653E0A2020202020203C436F6F7264696E61746553797374656D576B743E3C2F436F6F7264696E61746553797374656D576B743E0A2020202020203C4465736372697074696F6E3E44656661756C74204461746162617365205370617469616C20436F6E746578743C2F4465736372697074696F6E3E0A2020202020203C457874656E743E0A20202020202020203C4C6F7765724C656674436F6F7264696E6174653E0A202020202020202020203C583E2D31303030303030303C2F583E0A202020202020202020203C593E2D31303030303030303C2F593E0A20202020202020203C2F4C6F7765724C656674436F6F7264696E6174653E0A20202020202020203C55707065725269676874436F6F7264696E6174
 653E0A202020202020202020203C583E31303030303030303C2F583E0A202020202020202020203C593E31303030303030303C2F593E0A20202020202020203C2F55707065725269676874436F6F7264696E6174653E0A2020202020203C2F457874656E743E0A2020202020203C457874656E74547970653E5374617469633C2F457874656E74547970653E0A2020202020203C4E616D653E53435F303C2F4E616D653E0A2020202020203C5859546F6C6572616E63653E302E3030313030303C2F5859546F6C6572616E63653E0A2020202020203C5A546F6C6572616E63653E302E3030303030303C2F5A546F6C6572616E63653E0A202020203C2F5370617469616C436F6E746578743E0A20203C2F46646F5370617469616C436F6E746578744C6973743E');
 INSERT INTO "HttpTestResults" VALUES('GetSpatialContexts on a SDF resource when resource data is not set yet', 8009, 'text/plain', 'MgResourceTagNotFoundException
 ');
-INSERT INTO "HttpTestResults" VALUES('GetSpatialContexts on a SDF resource', 8010, 'text/xml; charset=utf-8', X'0A20203C46646F5370617469616C436F6E746578744C6973743E0A202020203C50726F76696465724E616D653E4F5347656F2E5344462E332E383C2F50726F76696465724E616D653E0A202020203C5370617469616C436F6E746578743E0A2020202020203C436F6F7264696E61746553797374656D4E616D653E47454F4743535B224C4C3834222C444154554D5B22574753203834222C53504845524F49445B22574753203834222C363337383133372C305D2C544F57475338345B302C302C302C302C302C302C305D5D2C5052494D454D5B22477265656E77696368222C305D2C554E49545B2244656772656573222C302E30313734353332393235325D5D3C2F436F6F7264696E61746553797374656D4E616D653E0A2020202020203C436F6F7264696E61746553797374656D576B743E47454F4743535B224C4C3834222C444154554D5B22574753203834222C53504845524F49445B22574753203834222C363337383133372C305D2C544F57475338345B302C302C302C302C302C302C305D5D2C5052494D454D5B22477265656E77696368222C305D2C554E49545B2244656772656573222C302E3031373435333239323
 5325D5D3C2F436F6F7264696E61746553797374656D576B743E0A2020202020203C4465736372697074696F6E3E574753383420646174756D2C204C617469747564652D4C6F6E6769747564652C20446567726565733C2F4465736372697074696F6E3E0A2020202020203C457874656E743E0A20202020202020203C4C6F7765724C656674436F6F7264696E6174653E0A202020202020202020203C583E31303C2F583E0A202020202020202020203C593E31303C2F593E0A20202020202020203C2F4C6F7765724C656674436F6F7264696E6174653E0A20202020202020203C55707065725269676874436F6F7264696E6174653E0A202020202020202020203C583E34303C2F583E0A202020202020202020203C593E34303C2F593E0A20202020202020203C2F55707065725269676874436F6F7264696E6174653E0A2020202020203C2F457874656E743E0A2020202020203C457874656E74547970653E44796E616D69633C2F457874656E74547970653E0A2020202020203C4E616D653E4C4C38343C2F4E616D653E0A2020202020203C5859546F6C6572616E63653E302E3030303030303C2F5859546F6C6572616E63653E0A2020202020203C5A546F6C6572616E63653E302E3030303030303C2F5A546F6C6572616E63653E0A202020203C2F5370617469616C43
 6F6E746578743E0A20203C2F46646F5370617469616C436F6E746578744C6973743E');
-INSERT INTO "HttpTestResults" VALUES('GetSpatialContexts on a SDF resource', 8011, 'text/xml; charset=utf-8', X'0A20203C46646F5370617469616C436F6E746578744C6973743E0A202020203C50726F76696465724E616D653E4F5347656F2E5344462E332E383C2F50726F76696465724E616D653E0A202020203C5370617469616C436F6E746578743E0A2020202020203C436F6F7264696E61746553797374656D4E616D653E47454F4743535B224C4C3834222C444154554D5B22574753203834222C53504845524F49445B22574753203834222C363337383133372C305D2C544F57475338345B302C302C302C302C302C302C305D5D2C5052494D454D5B22477265656E77696368222C305D2C554E49545B2244656772656573222C302E30313734353332393235325D5D3C2F436F6F7264696E61746553797374656D4E616D653E0A2020202020203C436F6F7264696E61746553797374656D576B743E47454F4743535B224C4C3834222C444154554D5B22574753203834222C53504845524F49445B22574753203834222C363337383133372C305D2C544F57475338345B302C302C302C302C302C302C305D5D2C5052494D454D5B22477265656E77696368222C305D2C554E49545B2244656772656573222C302E3031373435333239323
 5325D5D3C2F436F6F7264696E61746553797374656D576B743E0A2020202020203C4465736372697074696F6E3E574753383420646174756D2C204C617469747564652D4C6F6E6769747564652C20446567726565733C2F4465736372697074696F6E3E0A2020202020203C457874656E743E0A20202020202020203C4C6F7765724C656674436F6F7264696E6174653E0A202020202020202020203C583E31303C2F583E0A202020202020202020203C593E31303C2F593E0A20202020202020203C2F4C6F7765724C656674436F6F7264696E6174653E0A20202020202020203C55707065725269676874436F6F7264696E6174653E0A202020202020202020203C583E34303C2F583E0A202020202020202020203C593E34303C2F593E0A20202020202020203C2F55707065725269676874436F6F7264696E6174653E0A2020202020203C2F457874656E743E0A2020202020203C457874656E74547970653E44796E616D69633C2F457874656E74547970653E0A2020202020203C4E616D653E4C4C38343C2F4E616D653E0A2020202020203C5859546F6C6572616E63653E302E3030303030303C2F5859546F6C6572616E63653E0A2020202020203C5A546F6C6572616E63653E302E3030303030303C2F5A546F6C6572616E63653E0A202020203C2F5370617469616C43
 6F6E746578743E0A20203C2F46646F5370617469616C436F6E746578744C6973743E');
+INSERT INTO "HttpTestResults" VALUES('GetSpatialContexts on a SDF resource', 8010, 'text/xml; charset=utf-8', '
+  <FdoSpatialContextList>
+    <ProviderName>OSGeo.SDF.3.9</ProviderName>
+    <SpatialContext>
+      <CoordinateSystemName>GEOGCS["LL84",DATUM["WGS 84",SPHEROID["WGS 84",6378137,0],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees",0.01745329252]]</CoordinateSystemName>
+      <CoordinateSystemWkt>GEOGCS["LL84",DATUM["WGS 84",SPHEROID["WGS 84",6378137,0],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees",0.01745329252]]</CoordinateSystemWkt>
+      <Description>WGS84 datum, Latitude-Longitude, Degrees</Description>
+      <Extent>
+        <LowerLeftCoordinate>
+          <X>10</X>
+          <Y>10</Y>
+        </LowerLeftCoordinate>
+        <UpperRightCoordinate>
+          <X>40</X>
+          <Y>40</Y>
+        </UpperRightCoordinate>
+      </Extent>
+      <ExtentType>Dynamic</ExtentType>
+      <Name>LL84</Name>
+      <XYTolerance>0.000000</XYTolerance>
+      <ZTolerance>0.000000</ZTolerance>
+    </SpatialContext>
+  </FdoSpatialContextList>');
+INSERT INTO "HttpTestResults" VALUES('GetSpatialContexts on a SDF resource', 8011, 'text/xml; charset=utf-8', '
+  <FdoSpatialContextList>
+    <ProviderName>OSGeo.SDF.3.9</ProviderName>
+    <SpatialContext>
+      <CoordinateSystemName>GEOGCS["LL84",DATUM["WGS 84",SPHEROID["WGS 84",6378137,0],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees",0.01745329252]]</CoordinateSystemName>
+      <CoordinateSystemWkt>GEOGCS["LL84",DATUM["WGS 84",SPHEROID["WGS 84",6378137,0],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees",0.01745329252]]</CoordinateSystemWkt>
+      <Description>WGS84 datum, Latitude-Longitude, Degrees</Description>
+      <Extent>
+        <LowerLeftCoordinate>
+          <X>10</X>
+          <Y>10</Y>
+        </LowerLeftCoordinate>
+        <UpperRightCoordinate>
+          <X>40</X>
+          <Y>40</Y>
+        </UpperRightCoordinate>
+      </Extent>
+      <ExtentType>Dynamic</ExtentType>
+      <Name>LL84</Name>
+      <XYTolerance>0.000000</XYTolerance>
+      <ZTolerance>0.000000</ZTolerance>
+    </SpatialContext>
+  </FdoSpatialContextList>');
 INSERT INTO "HttpTestResults" VALUES('GetSpatialContexts on an RFP resource when resource data is not set yet', 8012, 'text/plain', X'4D675265736F75726365446174614E6F74466F756E64457863657074696F6E0D0A');
 INSERT INTO "HttpTestResults" VALUES('GetSpatialContexts on an RFP resource when resource data is not set yet', 8013, 'text/plain', X'4D675265736F75726365446174614E6F74466F756E64457863657074696F6E0D0A');
 INSERT INTO "HttpTestResults" VALUES('GetSpatialContexts on an RFP resource', 8014, 'text/xml; charset=utf-8', X'0A20203C46646F5370617469616C436F6E746578744C6973743E0A202020203C50726F76696465724E616D653E4175746F6465736B2E5261737465722E332E303C2F50726F76696465724E616D653E0A202020203C5370617469616C436F6E746578743E0A2020202020203C436F6F7264696E61746553797374656D4E616D653E75746D5F7A6F6E65313C2F436F6F7264696E61746553797374656D4E616D653E0A2020202020203C436F6F7264696E61746553797374656D576B743E3C2F436F6F7264696E61746553797374656D576B743E0A2020202020203C4465736372697074696F6E3E5370617469616C20636F6E7465787420666F72204172656120313C2F4465736372697074696F6E3E0A2020202020203C457874656E743E0A20202020202020203C4C6F7765724C656674436F6F7264696E6174653E0A202020202020202020203C583E3230303030303C2F583E0A202020202020202020203C593E313030303030303C2F593E0A20202020202020203C2F4C6F7765724C656674436F6F7264696E6174653E0A20202020202020203C55707065725269676874436F6F7264696E6174653E0A20202020202020202020
 3C583E3330303030303C2F583E0A202020202020202020203C593E313130303030303C2F593E0A20202020202020203C2F55707065725269676874436F6F7264696E6174653E0A2020202020203C2F457874656E743E0A2020202020203C457874656E74547970653E5374617469633C2F457874656E74547970653E0A2020202020203C4E616D653E61726561313C2F4E616D653E0A2020202020203C5859546F6C6572616E63653E302E3030303030303C2F5859546F6C6572616E63653E0A2020202020203C5A546F6C6572616E63653E302E3030303030303C2F5A546F6C6572616E63653E0A202020203C2F5370617469616C436F6E746578743E0A20203C2F46646F5370617469616C436F6E746578744C6973743E');
@@ -1452,8 +1496,8 @@
   </FeatureProviderCapabilities>');
 INSERT INTO "ApiTestResults" VALUES('GetCapabilities for ArcSDE provider', 2007, 'text/xml', '<?xml version="1.0" encoding="UTF-8" standalone="no" ?><FeatureProviderCapabilities><Provider Name="OSGeo.ArcSDE.3.2"/><Connection><ThreadCapability>PerConnectionThreaded</ThreadCapability><SpatialContextExtent><Type>Static</Type></SpatialContextExtent><SupportsLocking>true</SupportsLocking><SupportsTimeout>false</SupportsTimeout><SupportsTransactions>true</SupportsTransactions><SupportsLongTransactions>true</SupportsLongTransactions><SupportsSQL>true</SupportsSQL><SupportsConfiguration>false</SupportsConfiguration></Connection><Schema><Class><Type>Class</Type><Type>FeatureClass</Type></Class><Data><Type>DateTime</Type><Type>Double</Type><Type>Int16</Type><Type>Int32</Type><Type>Single</Type><Type>String</Type><Type>BLOB</Type></Data><SupportsInheritance>false</SupportsInheritance><SupportsMultipleSchemas>true</SupportsMultipleSchemas><SupportsObjectProperties>false</SupportsObjectP
 roperties><SupportsAssociationProperties>false</SupportsAssociationProperties><SupportsSchemaOverrides>false</SupportsSchemaOverrides><SupportsNetworkModel>false</SupportsNetworkModel></Schema><Command><SupportedCommands><Name>Select</Name><Name></Name><Name>Insert</Name><Name>Delete</Name><Name>Update</Name><Name>DescribeSchema</Name><Name>ActivateSpatialContext</Name><Name>CreateSpatialContext</Name><Name>DestroySpatialContext</Name><Name>GetSpatialContexts</Name><Name>SQLCommand</Name><Name>AcquireLock</Name><Name>GetLockInfo</Name><Name>GetLockedObjects</Name><Name>GetLockOwners</Name><Name>ReleaseLock</Name><Name>ActivateLongTransaction</Name><Name>DeactivateLongTransaction</Name><Name>CommitLongTransaction</Name><Name>CreateLongTransaction</Name><Name>GetLongTransactions</Name><Name>RollbackLongTransaction</Name></SupportedCommands><SupportsParameters>true</SupportsParameters><SupportsTimeout>false</SupportsTimeout></Command><Filter><Condition><Type>Comparison</Type><T
 ype>Like</Type><Type>In</Type><Type>Null</Type><Type>Spatial</Type><Type>Distance</Type></Condition><Spatial><Operation>Contains</Operation><Operation>Crosses</Operation><Operation>Disjoint</Operation><Operation>Equals</Operation><Operation>Intersects</Operation><Operation>Overlaps</Operation><Operation>Touches</Operation><Operation>Within</Operation><Operation>CoveredBy</Operation><Operation>Inside</Operation><Operation>EnvelopeIntersects</Operation></Spatial><Distance><Operation>Beyond</Operation><Operation>Within</Operation></Distance><SupportsGeodesicDistance>false</SupportsGeodesicDistance><SupportsNonLiteralGeometricOperations>false</SupportsNonLiteralGeometricOperations></Filter><Expression><Type><Name>Basic</Name><Name>Function</Name></Type><FunctionDefinitionCollection><FunctionDefinition><Name>Count</Name><Description>Returns the number of objects in the query </Description><ReturnType>Int64</ReturnType><ArgumentDefinitionCollection><ArgumentDefinition><Name>intVal
 ue</Name><Description>Argument that represents an integer </Description><ReturnType>Int64</ReturnType></ArgumentDefinition></ArgumentDefinitionCollection></FunctionDefinition><FunctionDefinition><Name>Min</Name><Description>Returns the minimum value of an expression </Description><ReturnType>Double</ReturnType><ArgumentDefinitionCollection><ArgumentDefinition><Name>dblValue</Name><Description>Argument that represents a double </Description><ReturnType>Double</ReturnType></ArgumentDefinition></ArgumentDefinitionCollection></FunctionDefinition><FunctionDefinition><Name>Avg</Name><Description>Returns the average value of an expression </Description><ReturnType>Double</ReturnType><ArgumentDefinitionCollection><ArgumentDefinition><Name>dblValue</Name><Description>Argument that represents a double </Description><ReturnType>Double</ReturnType></ArgumentDefinition></ArgumentDefinitionCollection></FunctionDefinition><FunctionDefinition><Name>Max</Name><Description>Returns the maximum
  value of an expression </Description><ReturnType>Double</ReturnType><ArgumentDefinitionCollection><ArgumentDefinition><Name>dblValue</Name><Description>Argument that represents a double </Description><ReturnType>Double</ReturnType></ArgumentDefinition></ArgumentDefinitionCollection></FunctionDefinition><FunctionDefinition><Name>Sum</Name><Description>Returns the sum of values of an expression </Description><ReturnType>Double</ReturnType><ArgumentDefinitionCollection><ArgumentDefinition><Name>dblValue</Name><Description>Argument that represents a double </Description><ReturnType>Double</ReturnType></ArgumentDefinition></ArgumentDefinitionCollection></FunctionDefinition><FunctionDefinition><Name>StdDev</Name><Description>Returns the standard deviation of an expression.</Description><ReturnType>Double</ReturnType><ArgumentDefinitionCollection><ArgumentDefinition><Name>dblValue</Name><Description>An argument that accepts any expression that evaluates to a double value.</Descrip
 tion><ReturnType>Double</ReturnType></ArgumentDefinition></ArgumentDefinitionCollection></FunctionDefinition></FunctionDefinitionCollection></Expression><Raster><SupportsRaster>false</SupportsRaster><SupportsStitching>false</SupportsStitching><SupportsSubsampling>false</SupportsSubsampling></Raster><Topology><SupportsTopology>false</SupportsTopology><SupportsTopologicalHierarchy>false</SupportsTopologicalHierarchy><BreaksCurveCrossingsAutomatically>false</BreaksCurveCrossingsAutomatically><ActivatesTopologyByArea>false</ActivatesTopologyByArea><ConstrainsFeatureMovements>false</ConstrainsFeatureMovements></Topology></FeatureProviderCapabilities>');
 INSERT INTO "ApiTestResults" VALUES('GetCapabilities for raster provider', 2009, 'text/xml', X'0A20203C4665617475726550726F76696465724361706162696C69746965733E0A202020203C436F6D6D616E643E0A2020202020203C537570706F72746564436F6D6D616E64733E0A20202020202020203C4E616D653E4465736372696265536368656D613C2F4E616D653E0A20202020202020203C4E616D653E4465736372696265536368656D614D617070696E673C2F4E616D653E0A20202020202020203C4E616D653E4765744D656173757265556E6974733C2F4E616D653E0A20202020202020203C4E616D653E4765745370617469616C436F6E74657874733C2F4E616D653E0A20202020202020203C4E616D653E53656C6563743C2F4E616D653E0A20202020202020203C4E616D653E53656C656374416767726567617465733C2F4E616D653E0A2020202020203C2F537570706F72746564436F6D6D616E64733E0A2020202020203C537570706F727473506172616D65746572733E66616C73653C2F537570706F727473506172616D65746572733E0A2020202020203C537570706F72747353656C65637444697374696E63743E66616C73653C2F537570706F72747353656C65637444697374696E63743E0A2020202020203C53757070
 6F72747353656C65637445787072657373696F6E733E66616C73653C2F537570706F72747353656C65637445787072657373696F6E733E0A2020202020203C537570706F72747353656C65637446756E6374696F6E733E66616C73653C2F537570706F72747353656C65637446756E6374696F6E733E0A2020202020203C537570706F72747353656C65637447726F7570696E673E66616C73653C2F537570706F72747353656C65637447726F7570696E673E0A2020202020203C537570706F72747353656C6563744F72646572696E673E66616C73653C2F537570706F72747353656C6563744F72646572696E673E0A2020202020203C537570706F72747354696D656F75743E66616C73653C2F537570706F72747354696D656F75743E0A202020203C2F436F6D6D616E643E0A202020203C436F6E6E656374696F6E3E0A2020202020203C5370617469616C436F6E74657874457874656E743E0A20202020202020203C547970653E5374617469633C2F547970653E3C2F5370617469616C436F6E74657874457874656E743E0A2020202020203C537570706F727473436F6E66696775726174696F6E3E747275653C2F537570706F727473436F6E66696775726174696F6E3E0A2020202020203C537570706F7274734C6F636B696E673E66616C73653C2F537570706F727
 4734C6F636B696E673E0A2020202020203C537570706F7274734C6F6E675472616E73616374696F6E733E66616C73653C2F537570706F7274734C6F6E675472616E73616374696F6E733E0A2020202020203C537570706F72747353514C3E66616C73653C2F537570706F72747353514C3E0A2020202020203C537570706F72747354696D656F75743E66616C73653C2F537570706F72747354696D656F75743E0A2020202020203C537570706F7274735472616E73616374696F6E733E66616C73653C2F537570706F7274735472616E73616374696F6E733E0A2020202020203C5468726561644361706162696C6974793E53696E676C6554687265616465643C2F5468726561644361706162696C6974793E0A202020203C2F436F6E6E656374696F6E3E0A202020203C45787072657373696F6E3E0A2020202020203C46756E6374696F6E446566696E6974696F6E436F6C6C656374696F6E3E0A20202020202020203C46756E6374696F6E446566696E6974696F6E3E0A202020202020202020203C417267756D656E74446566696E6974696F6E436F6C6C656374696F6E3E0A2020202020202020202020203C417267756D656E74446566696E6974696F6E3E0A20202020202020202020202020203C4465736372697074696F6E3E416E20617267756D656E742074686174
 2061636365707473206120646F75626C652076616C75652E3C2F4465736372697074696F6E3E0A20202020202020202020202020203C4E616D653E6D6178583C2F4E616D653E0A20202020202020202020202020203C52657475726E547970653E446F75626C653C2F52657475726E547970653E0A2020202020202020202020203C2F417267756D656E74446566696E6974696F6E3E0A2020202020202020202020203C417267756D656E74446566696E6974696F6E3E0A20202020202020202020202020203C4465736372697074696F6E3E416E20617267756D656E7420746861742061636365707473206120646F75626C652076616C75652E3C2F4465736372697074696F6E3E0A20202020202020202020202020203C4E616D653E6D6178593C2F4E616D653E0A20202020202020202020202020203C52657475726E547970653E446F75626C653C2F52657475726E547970653E0A2020202020202020202020203C2F417267756D656E74446566696E6974696F6E3E0A2020202020202020202020203C417267756D656E74446566696E6974696F6E3E0A20202020202020202020202020203C4465736372697074696F6E3E416E20617267756D656E7420746861742061636365707473206120646F75626C652076616C75652E3C2F4465736372697074696F6E3E0A202
 02020202020202020202020203C4E616D653E6D696E583C2F4E616D653E0A20202020202020202020202020203C52657475726E547970653E446F75626C653C2F52657475726E547970653E0A2020202020202020202020203C2F417267756D656E74446566696E6974696F6E3E0A2020202020202020202020203C417267756D656E74446566696E6974696F6E3E0A20202020202020202020202020203C4465736372697074696F6E3E416E20617267756D656E7420746861742061636365707473206120646F75626C652076616C75652E3C2F4465736372697074696F6E3E0A20202020202020202020202020203C4E616D653E6D696E593C2F4E616D653E0A20202020202020202020202020203C52657475726E547970653E446F75626C653C2F52657475726E547970653E0A2020202020202020202020203C2F417267756D656E74446566696E6974696F6E3E0A2020202020202020202020203C417267756D656E74446566696E6974696F6E3E0A20202020202020202020202020203C4465736372697074696F6E3E416E20617267756D656E7420746861742061636365707473206120756E7369676E656420696E74656765722076616C75652E3C2F4465736372697074696F6E3E0A20202020202020202020202020203C4E616D653E6865696768743C2F4E616D65
 3E0A20202020202020202020202020203C52657475726E547970653E496E7433323C2F52657475726E547970653E0A2020202020202020202020203C2F417267756D656E74446566696E6974696F6E3E0A2020202020202020202020203C417267756D656E74446566696E6974696F6E3E0A20202020202020202020202020203C4465736372697074696F6E3E416E20617267756D656E7420746861742061636365707473206120756E7369676E656420696E74656765722076616C75652E3C2F4465736372697074696F6E3E0A20202020202020202020202020203C4E616D653E77696474683C2F4E616D653E0A20202020202020202020202020203C52657475726E547970653E496E7433323C2F52657475726E547970653E0A2020202020202020202020203C2F417267756D656E74446566696E6974696F6E3E0A2020202020202020202020203C417267756D656E74446566696E6974696F6E3E0A20202020202020202020202020203C4465736372697074696F6E3E416E20617267756D656E742074686174206163636570747320616E792065787072657373696F6E2074686174206576616C756174657320746F2061207261737465722E3C2F4465736372697074696F6E3E0A20202020202020202020202020203C4E616D653E7261737465723C2F4E616D653E0A2
 0202020202020202020202020203C52657475726E547970653E424C4F423C2F52657475726E547970653E0A2020202020202020202020203C2F417267756D656E74446566696E6974696F6E3E0A202020202020202020203C2F417267756D656E74446566696E6974696F6E436F6C6C656374696F6E3E0A202020202020202020203C4465736372697074696F6E3E526573616D706C6520737562736574206F662074686520676976656E207261737465722E3C2F4465736372697074696F6E3E0A202020202020202020203C4E616D653E524553414D504C453C2F4E616D653E0A202020202020202020203C52657475726E547970653E424C4F423C2F52657475726E547970653E0A20202020202020203C2F46756E6374696F6E446566696E6974696F6E3E0A20202020202020203C46756E6374696F6E446566696E6974696F6E3E0A202020202020202020203C417267756D656E74446566696E6974696F6E436F6C6C656374696F6E3E0A2020202020202020202020203C417267756D656E74446566696E6974696F6E3E0A20202020202020202020202020203C4465736372697074696F6E3E416E20617267756D656E7420746861742061636365707473206120646F75626C652076616C75652E3C2F4465736372697074696F6E3E0A2020202020202020202020202020
 3C4E616D653E6D6178583C2F4E616D653E0A20202020202020202020202020203C52657475726E547970653E446F75626C653C2F52657475726E547970653E0A2020202020202020202020203C2F417267756D656E74446566696E6974696F6E3E0A2020202020202020202020203C417267756D656E74446566696E6974696F6E3E0A20202020202020202020202020203C4465736372697074696F6E3E416E20617267756D656E7420746861742061636365707473206120646F75626C652076616C75652E3C2F4465736372697074696F6E3E0A20202020202020202020202020203C4E616D653E6D6178593C2F4E616D653E0A20202020202020202020202020203C52657475726E547970653E446F75626C653C2F52657475726E547970653E0A2020202020202020202020203C2F417267756D656E74446566696E6974696F6E3E0A2020202020202020202020203C417267756D656E74446566696E6974696F6E3E0A20202020202020202020202020203C4465736372697074696F6E3E416E20617267756D656E7420746861742061636365707473206120646F75626C652076616C75652E3C2F4465736372697074696F6E3E0A20202020202020202020202020203C4E616D653E6D696E583C2F4E616D653E0A20202020202020202020202020203C52657475726E547
 970653E446F75626C653C2F52657475726E547970653E0A2020202020202020202020203C2F417267756D656E74446566696E6974696F6E3E0A2020202020202020202020203C417267756D656E74446566696E6974696F6E3E0A20202020202020202020202020203C4465736372697074696F6E3E416E20617267756D656E7420746861742061636365707473206120646F75626C652076616C75652E3C2F4465736372697074696F6E3E0A20202020202020202020202020203C4E616D653E6D696E593C2F4E616D653E0A20202020202020202020202020203C52657475726E547970653E446F75626C653C2F52657475726E547970653E0A2020202020202020202020203C2F417267756D656E74446566696E6974696F6E3E0A2020202020202020202020203C417267756D656E74446566696E6974696F6E3E0A20202020202020202020202020203C4465736372697074696F6E3E416E20617267756D656E742074686174206163636570747320616E792065787072657373696F6E2074686174206576616C756174657320746F2061207261737465722E3C2F4465736372697074696F6E3E0A20202020202020202020202020203C4E616D653E7261737465723C2F4E616D653E0A20202020202020202020202020203C52657475726E547970653E424C4F423C2F5265
 7475726E547970653E0A2020202020202020202020203C2F417267756D656E74446566696E6974696F6E3E0A202020202020202020203C2F417267756D656E74446566696E6974696F6E436F6C6C656374696F6E3E0A202020202020202020203C4465736372697074696F6E3E52657475726E7320737562736574206F662074686520676976656E207261737465722E3C2F4465736372697074696F6E3E0A202020202020202020203C4E616D653E434C49503C2F4E616D653E0A202020202020202020203C52657475726E547970653E424C4F423C2F52657475726E547970653E0A20202020202020203C2F46756E6374696F6E446566696E6974696F6E3E0A20202020202020203C46756E6374696F6E446566696E6974696F6E3E0A202020202020202020203C417267756D656E74446566696E6974696F6E436F6C6C656374696F6E3E0A2020202020202020202020203C417267756D656E74446566696E6974696F6E3E0A20202020202020202020202020203C4465736372697074696F6E3E416E20617267756D656E742074686174206163636570747320616E792065787072657373696F6E2074686174206576616C756174657320746F2061207261737465722E3C2F4465736372697074696F6E3E0A20202020202020202020202020203C4E616D653E72617374657
 23C2F4E616D653E0A20202020202020202020202020203C52657475726E547970653E424C4F423C2F52657475726E547970653E0A2020202020202020202020203C2F417267756D656E74446566696E6974696F6E3E3C2F417267756D656E74446566696E6974696F6E436F6C6C656374696F6E3E0A202020202020202020203C4465736372697074696F6E3E52657475726E732074686520737469746368656420726173746572206F66206120736572696573206F6620726173746572732E3C2F4465736372697074696F6E3E0A202020202020202020203C4E616D653E4D4F534149433C2F4E616D653E0A202020202020202020203C52657475726E547970653E424C4F423C2F52657475726E547970653E0A20202020202020203C2F46756E6374696F6E446566696E6974696F6E3E0A2020202020203C2F46756E6374696F6E446566696E6974696F6E436F6C6C656374696F6E3E0A2020202020203C547970653E0A20202020202020203C4E616D653E46756E6374696F6E3C2F4E616D653E3C2F547970653E0A202020203C2F45787072657373696F6E3E0A202020203C46696C7465723E0A2020202020203C436F6E646974696F6E3E0A20202020202020203C547970653E496E3C2F547970653E0A20202020202020203C547970653E5370617469616C3C2F54797065
 3E0A2020202020203C2F436F6E646974696F6E3E0A2020202020203C5370617469616C3E0A20202020202020203C4F7065726174696F6E3E456E76656C6F7065496E74657273656374733C2F4F7065726174696F6E3E0A20202020202020203C4F7065726174696F6E3E496E736964653C2F4F7065726174696F6E3E0A20202020202020203C4F7065726174696F6E3E496E74657273656374733C2F4F7065726174696F6E3E0A20202020202020203C4F7065726174696F6E3E57697468696E3C2F4F7065726174696F6E3E0A2020202020203C2F5370617469616C3E0A2020202020203C537570706F72747347656F646573696344697374616E63653E66616C73653C2F537570706F72747347656F646573696344697374616E63653E0A2020202020203C537570706F7274734E6F6E4C69746572616C47656F6D65747269634F7065726174696F6E733E66616C73653C2F537570706F7274734E6F6E4C69746572616C47656F6D65747269634F7065726174696F6E733E0A202020203C2F46696C7465723E0A202020203C47656F6D657472793E0A2020202020203C44696D656E73696F6E616C6974793E303C2F44696D656E73696F6E616C6974793E3C2F47656F6D657472793E0A202020203C50726F76696465723E3C2F50726F76696465723E0A202020203C526173746
 5723E0A2020202020203C537570706F7274735261737465723E747275653C2F537570706F7274735261737465723E0A2020202020203C537570706F727473537469746368696E673E747275653C2F537570706F727473537469746368696E673E0A2020202020203C537570706F72747353756273616D706C696E673E747275653C2F537570706F72747353756273616D706C696E673E0A202020203C2F5261737465723E0A202020203C536368656D613E0A2020202020203C436C6173733E0A20202020202020203C547970653E46656174757265436C6173733C2F547970653E3C2F436C6173733E0A2020202020203C446174613E0A20202020202020203C547970653E424C4F423C2F547970653E0A20202020202020203C547970653E537472696E673C2F547970653E0A2020202020203C2F446174613E0A2020202020203C537570706F7274734173736F63696174696F6E50726F706572746965733E66616C73653C2F537570706F7274734173736F63696174696F6E50726F706572746965733E0A2020202020203C537570706F7274734175746F496447656E65726174696F6E3E66616C73653C2F537570706F7274734175746F496447656E65726174696F6E3E0A2020202020203C537570706F7274734461746153746F726553636F7065556E6971756549644765
 6E65726174696F6E3E66616C73653C2F537570706F7274734461746153746F726553636F7065556E69717565496447656E65726174696F6E3E0A2020202020203C537570706F727473496E6865726974616E63653E747275653C2F537570706F727473496E6865726974616E63653E0A2020202020203C537570706F7274734D756C7469706C65536368656D61733E747275653C2F537570706F7274734D756C7469706C65536368656D61733E0A2020202020203C537570706F7274734E6574776F726B4D6F64656C3E66616C73653C2F537570706F7274734E6574776F726B4D6F64656C3E0A2020202020203C537570706F7274734F626A65637450726F706572746965733E66616C73653C2F537570706F7274734F626A65637450726F706572746965733E0A2020202020203C537570706F727473536368656D614D6F64696669636174696F6E3E66616C73653C2F537570706F727473536368656D614D6F64696669636174696F6E3E0A2020202020203C537570706F727473536368656D614F76657272696465733E747275653C2F537570706F727473536368656D614F76657272696465733E0A202020203C2F536368656D613E0A202020203C546F706F6C6F67793E0A2020202020203C416374697661746573546F706F6C6F67794279417265613E66616C73653C2F4
 16374697661746573546F706F6C6F67794279417265613E0A2020202020203C427265616B73437572766543726F7373696E67734175746F6D61746963616C6C793E66616C73653C2F427265616B73437572766543726F7373696E67734175746F6D61746963616C6C793E0A2020202020203C436F6E73747261696E73466561747572654D6F76656D656E74733E66616C73653C2F436F6E73747261696E73466561747572654D6F76656D656E74733E0A2020202020203C537570706F727473546F706F6C6F676963616C4869657261726368793E66616C73653C2F537570706F727473546F706F6C6F676963616C4869657261726368793E0A2020202020203C537570706F727473546F706F6C6F67793E66616C73653C2F537570706F727473546F706F6C6F67793E0A202020203C2F546F706F6C6F67793E0A20203C2F4665617475726550726F76696465724361706162696C69746965733E');
-INSERT INTO "ApiTestResults" VALUES('Adds SDF resource', 4, '', X'');
-INSERT INTO "ApiTestResults" VALUES('Sets resource data for the SDF resource', 5, '', X'');
+INSERT INTO "ApiTestResults" VALUES('Adds SDF resource', 4, '', '');
+INSERT INTO "ApiTestResults" VALUES('Sets resource data for the SDF resource', 5, '', '');
 INSERT INTO "ApiTestResults" VALUES('Adds ArcSDE feature source', 6, '', '');
 INSERT INTO "ApiTestResults" VALUES('Adds Oracle resource', 7, '', X'');
 INSERT INTO "ApiTestResults" VALUES('Adds raster feature source', 8, '', X'');
@@ -1800,13 +1844,57 @@
 INSERT INTO "ApiTestResults" VALUES('Clean up operation', 8001, '', '');
 INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts on ArcSDE resroure when ACITVEONLY is 0', 8002, 'text/xml', '<?xml version="1.0" encoding="UTF-8" ?><FdoSpatialContextList><ProviderName>OSGeo.ArcSDE.3.2</ProviderName><SpatialContext IsActive="false"><Name>1</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-180.0</X><Y>-90.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>249.49672900000002</X><Y>339.49672900000002</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>2</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-171.0</X><Y>-15.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>186.91394083333336</X><Y>34
 2.91394083333336</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="true"><Name>3</Name><Description></Description><CoordinateSystemName>4326</CoordinateSystemName><CoordinateSystemWkt>GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>96.0</X><Y>-44.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>167.58278816666666</X><Y>27.58278816666666</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>5</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>1033302.0</X><Y>1876267.0</Y></LowerLeftCoordinate><
 UpperRightCoordinate><X>1060145.5455624999</X><Y>1903110.5455624999</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>6</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-166.0</X><Y>-52.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>191.91394083333336</X><Y>305.91394083333336</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>7</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-169.0</X><Y>-56.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>188.91394083333336</X><Y>301.91394083333336</Y></UpperRightCoordinate></Exten
 t><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>8</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>0.0</X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2147483645.0</X><Y>2147483645.0</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>21</Name><Description></Description><CoordinateSystemName>0</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Australian_UTM_Zone_54",GEOGCS["GCS_Australian",DATUM["D_Australian",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",-10000000.0],PARAMETER["Central_Meridian",141.0],PARAMETER["Scale_Factor"
 ,0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>275586.68065650499</X><Y>6127482.4433970302</Y></LowerLeftCoordinate><UpperRightCoordinate><X>285586.91308418236</X><Y>6137482.6758247074</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>22</Name><Description></Description><CoordinateSystemName>0</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Australian_UTM_Zone_54",GEOGCS["GCS_Australian",DATUM["D_Australian",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",-10000000.0],PARAMETER["Central_Meridian",141.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</Ext
 entType><Extent><LowerLeftCoordinate><X>275586.68065650499</X><Y>6127482.4433970302</Y></LowerLeftCoordinate><UpperRightCoordinate><X>285586.91308418236</X><Y>6137482.6758247074</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>38</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-180.0</X><Y>-90.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>678.99345800000003</X><Y>768.99345800000003</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>59</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>976174.25110047904</X><Y>1819997.0
 485967</Y></LowerLeftCoordinate><UpperRightCoordinate><X>1113613.204508479</X><Y>1957436.0020046998</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>47</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>2.0</X><Y>11.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>32.00000342261086</X><Y>41.00000342261086</Y></UpperRightCoordinate></Extent><XYTolerance>484966433</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1n</Name><Description>A spatial context</Description><CoordinateSystemName>20250</CoordinateSystemName><CoordinateSystemWkt>PROJCS["AGD_1966_AMG_Zone_50",GEOGCS["GCS_Australian_1966",DATUM["D_Australian_1966",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0
 174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000005.00093133</X><Y>-1000005.00093133</Y></LowerLeftCoordinate><UpperRightCoordinate><X>1000004.9990686716</X><Y>1000004.9990686716</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1o</Name><Description>A spatial context</Description><CoordinateSystemName>20250</CoordinateSystemName><CoordinateSystemWkt>PROJCS["AGD_1966_AMG_Zone_50",GEOGCS["GCS_Australian_1966",DATUM["D_Australian_1966",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["Fals
 e_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000058.00093138</X><Y>-1000058.00093138</Y></LowerLeftCoordinate><UpperRightCoordinate><X>1000057.9990686256</X><Y>1000057.9990686256</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1q</Name><Description>A spatial context</Description><CoordinateSystemName>20250</CoordinateSystemName><CoordinateSystemWkt>PROJCS["AGD_1966_AMG_Zone_50",GEOGCS["GCS_Australian_1966",DATUM["D_Australian_1966",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMET
 ER["Central_Meridian",117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000060.00093138</X><Y>-1000060.00093138</Y></LowerLeftCoordinate><UpperRightCoordinate><X>1000059.9990686172</X><Y>1000059.9990686172</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>4</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>1034404.0</X><Y>1875155.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>1065082.3377857143</X><Y>1905833.3377857143</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>13</Name><Description></Description><Coordinate
 SystemName>26911</CoordinateSystemName><CoordinateSystemWkt>PROJCS["NAD_1983_UTM_Zone_11N",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>361344.84351789003</X><Y>3642995.62477186</Y></LowerLeftCoordinate><UpperRightCoordinate><X>611344.84374934225</X><Y>3892995.6250033122</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>30</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>St
 atic</ExtentType><Extent><LowerLeftCoordinate><X>2301368.7827019999</X><Y>731938.720202</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2309958.7172900001</X><Y>740528.65479000018</Y></UpperRightCoordinate></Extent><XYTolerance>-1998362383</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>31</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>2301368.7827019999</X><Y>731938.720202</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2309958.7172900001</X><Y>740528.65479000018</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>32</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>
 2100000.0</X><Y>500000.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2600000.0</X><Y>1000000.0</Y></UpperRightCoordinate></Extent><XYTolerance>-1998362383</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>33</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>2100000.0</X><Y>500000.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2600000.0</X><Y>1000000.0</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>DummyCartesian</Name><Description>A rectangualr spatial context.</Description><CoordinateSystemName>20250</CoordinateSystemName><CoordinateSystemWkt>PROJCS["AGD_1966_AMG_Zone_50",GEOGCS["GCS_Australian_1966",DATUM["D_Australian_1966",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],U
 NIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000000.00093132</X><Y>-1000000.00093132</Y></LowerLeftCoordinate><UpperRightCoordinate><X>999999.99906868022</X><Y>999999.99906868022</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>63</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-200.0</X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>1947.4836449999998</X><Y>2147.4836449999998</Y></UpperRightCoordinate></Extent><XYTolerance>0<
 /XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>60</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>1000000.0</X><Y>1000000.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>3147483.645</X><Y>3147483.645</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>62</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-107.0</X><Y>7.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>-85.525163550000002</X><Y>28.474836450000002</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>64</Name><De
 scription></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-107.0</X><Y>7.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>107.74836450000001</X><Y>221.74836450000001</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>65</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-107.0</X><Y>7.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2040.4836449999998</X><Y>2154.4836449999998</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>66</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateS
 ystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-200.0</X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>14.748364500000008</X><Y>214.74836450000001</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>67</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-110.0</X><Y>4.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>-88.525163550000002</X><Y>25.474836450000002</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>68</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-117.0</X><Y>-3.0</Y></LowerLe
 ftCoordinate><UpperRightCoordinate><X>-95.525163550000002</X><Y>18.474836450000002</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>69</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-117.0</X><Y>-3.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>97.748364500000008</X><Y>211.74836450000001</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>70</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-130.0</X><Y>-30.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>84.748364500000008</X><Y>184.74836450000001</Y></UpperRightCo
 ordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>71</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-150.0</X><Y>-50.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>64.748364500000008</X><Y>164.74836450000001</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>72</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-150.0</X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>64.748364500000008</X><Y>214.74836450000001</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialCont
 ext IsActive="false"><Name>73</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>0.0</X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2147483.645</X><Y>2147483.645</Y></UpperRightCoordinate></Extent><XYTolerance>-755914244</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest2r</Name><Description>something descriptiveeeeeeeeeÿÿtµ</Description><CoordinateSystemName>20251</CoordinateSystemName><CoordinateSystemWkt>PROJCS["AGD_1966_AMG_Zone_51",GEOGCS["GCS_Australian_1966",DATUM["D_Australian_1966",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",123.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["La
 titude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-5000061.0046566697</X><Y>-3000061.0046566701</Y></LowerLeftCoordinate><UpperRightCoordinate><X>5000060.9953433247</X><Y>7000060.9953433238</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>9</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-10000.0</X><Y>-10000.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>11474.836449999999</X><Y>11474.836449999999</Y></UpperRightCoordinate></Extent><XYTolerance>-1998362383</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>10</Name><Description></Description><CoordinateSystemName>26711</CoordinateSystemName><CoordinateSystemWkt>PRO
 JCS["NAD_1927_UTM_Zone_11N",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>449735.63240863598</X><Y>4712674.0663228203</Y></LowerLeftCoordinate><UpperRightCoordinate><X>587174.58581663587</X><Y>4850113.0197308203</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>11</Name><Description></Description><CoordinateSystemName>4269</CoordinateSystemName><CoordinateSystemWkt>GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0
 ,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1196.33525919918</X><Y>-1028.5763159237099</Y></LowerLeftCoordinate><UpperRightCoordinate><X>951.14838780082096</X><Y>1118.907331076291</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>12</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-10000.0</X><Y>-10000.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>11474.836449999999</X><Y>11474.836449999999</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>14</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSyste
 mWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>0.0</X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>214748.3645</X><Y>214748.3645</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>15</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>361344.84351789003</X><Y>3642995.62477186</Y></LowerLeftCoordinate><UpperRightCoordinate><X>611344.84374934225</X><Y>3892995.6250033122</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>16</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>0.0</
 X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>7158278.8166666664</X><Y>7158278.8166666664</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>17</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>0.0</X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>21474836.449999999</X><Y>21474836.449999999</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>24</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-370.36414417431598</X><Y>-244.799777833679</Y></LowerLeftCoordinate><UpperRightCoordinate><X>166.50676757568391</
 X><Y>292.07113391632089</Y></UpperRightCoordinate></Extent><XYTolerance>-1998362383</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>25</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-370.36414417431598</X><Y>-244.799777833679</Y></LowerLeftCoordinate><UpperRightCoordinate><X>166.50676757568391</X><Y>292.07113391632089</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>34</Name><Description></Description><CoordinateSystemName>4283</CoordinateSystemName><CoordinateSystemWkt>GEOGCS["GCS_GDA_1994",DATUM["D_GDA_1994",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>2100
 000.0</X><Y>500000.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2600000.0</X><Y>1000000.0</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1f</Name><Description>A spatial context</Description><CoordinateSystemName>2041</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Abidjan_1987_UTM_Zone_30N",GEOGCS["GCS_Abidjan_1987",DATUM["D_Abidjan_1987",SPHEROID["Clarke_1880_RGS",6378249.145,293.465]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-3.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000000.00093132</X><Y>-1000000.00093132</Y></LowerLeftCoordinate><UpperRightCoordinate><X>999999.99906868022</X><Y>
 999999.99906868022</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>61</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-107.0</X><Y>7.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>-104.85251635500001</X><Y>9.1474836449999994</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>18</Name><Description></Description><CoordinateSystemName>26911</CoordinateSystemName><CoordinateSystemWkt>PROJCS["NAD_1983_UTM_Zone_11N",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000
 .0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>451985.10536603106</X><Y>3733635.88662</Y></LowerLeftCoordinate><UpperRightCoordinate><X>520704.58207003097</X><Y>3802355.363324</Y></UpperRightCoordinate></Extent><XYTolerance>-1998362383</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>19</Name><Description></Description><CoordinateSystemName>26911</CoordinateSystemName><CoordinateSystemWkt>PROJCS["NAD_1983_UTM_Zone_11N",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-117.0],PARAMETER["Scal
 e_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>451985.10536603106</X><Y>3733635.88662</Y></LowerLeftCoordinate><UpperRightCoordinate><X>520704.58207003097</X><Y>3802355.363324</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>20</Name><Description></Description><CoordinateSystemName>0</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Clarke_1866_Albers",GEOGCS["GCS_Clarke_1866",DATUM["D_Clarke_1866",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-96.0],PARAMETER["Standard_Parallel_1",29.5],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",23.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><
 ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-8845371.0263039991</X><Y>-7057448.0888040001</Y></LowerLeftCoordinate><UpperRightCoordinate><X>8746815.0099200234</X><Y>10534737.947420023</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>23</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>236748.201550581</X><Y>190565.80623808102</Y></LowerLeftCoordinate><UpperRightCoordinate><X>262343.51717558102</X><Y>216161.12186308103</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>26</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftC
 oordinate><X>180826.38260700001</X><Y>132681.74198200001</Y></LowerLeftCoordinate><UpperRightCoordinate><X>318265.33601499989</X><Y>270120.69538999989</Y></UpperRightCoordinate></Extent><XYTolerance>-1998362383</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>27</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>180826.38260700001</X><Y>132681.74198200001</Y></LowerLeftCoordinate><UpperRightCoordinate><X>318265.33601499989</X><Y>270120.69538999989</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>28</Name><Description></Description><CoordinateSystemName>0</CoordinateSystemName><CoordinateSystemWkt>PROJCS["NAD_1983_Transverse_Mercator",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID[
 "GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",-1000.0],PARAMETER["False_Northing",-1000.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-16.777216007812498</X><Y>-16.777216007812498</Y></LowerLeftCoordinate><UpperRightCoordinate><X>16.777215976562481</X><Y>16.777215976562481</Y></UpperRightCoordinate></Extent><XYTolerance>-1998362383</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>29</Name><Description></Description><CoordinateSystemName>0</CoordinateSystemName><CoordinateSystemWkt>PROJCS["NAD_1983_Transverse_Mercator",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.
 0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",-1000.0],PARAMETER["False_Northing",-1000.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-16.777216007812498</X><Y>-16.777216007812498</Y></LowerLeftCoordinate><UpperRightCoordinate><X>16.777215976562481</X><Y>16.777215976562481</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SC_Test1</Name><Description>A spatial context</Description><CoordinateSystemName>102001</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Canada_Albers_Equal_Area_Conic",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_
 Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-96.0],PARAMETER["Standard_Parallel_1",50.0],PARAMETER["Standard_Parallel_2",70.0],PARAMETER["Latitude_Of_Origin",40.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000000.00093132</X><Y>-1000000.00093132</Y></LowerLeftCoordinate><UpperRightCoordinate><X>999999.99906868022</X><Y>999999.99906868022</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>49</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>2.0</X><Y>11.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>38.000002095475921</X><Y>47.000002095475921</Y></UpperRightCoordinate></Extent><XYTolerance>975175793</XYTolerance><ZTolerance>0</ZTolerance></Spatia
 lContext><SpatialContext IsActive="false"><Name>46</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-180.0</X><Y>-90.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>678.99345800000003</X><Y>768.99345800000003</Y></UpperRightCoordinate></Extent><XYTolerance>-1698910392</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1g</Name><Description>A spatial context</Description><CoordinateSystemName>2137</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Accra_TM_1_NW",GEOGCS["GCS_Accra",DATUM["D_Accra",SPHEROID["War_Office",6378300.0,296.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-1.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin"
 ,0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000000.00093132</X><Y>-1000000.00093132</Y></LowerLeftCoordinate><UpperRightCoordinate><X>999999.99906868022</X><Y>999999.99906868022</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1h</Name><Description>A spatial context</Description><CoordinateSystemName>20138</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Adindan_UTM_Zone_38N",GEOGCS["GCS_Adindan",DATUM["D_Adindan",SPHEROID["Clarke_1880_RGS",6378249.145,293.465]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",45.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Exten
 t><LowerLeftCoordinate><X>-1000000.00093132</X><Y>-1000000.00093132</Y></LowerLeftCoordinate><UpperRightCoordinate><X>999999.99906868022</X><Y>999999.99906868022</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1i</Name><Description>A spatial context</Description><CoordinateSystemName>102011</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Africa_Sinusoidal",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Sinusoidal"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",15.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000000.00093132</X><Y>-1000000.00093132</Y></LowerLeftCoordinate><UpperRightCoordinate><X>999999.99906868022</X><Y>999999.99906868022</Y></Up
 perRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1j</Name><Description>A spatial context</Description><CoordinateSystemName>20248</CoordinateSystemName><CoordinateSystemWkt>PROJCS["AGD_1966_AMG_Zone_48",GEOGCS["GCS_Australian_1966",DATUM["D_Australian_1966",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",105.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000000.00093132</X><Y>-1000000.00093132</Y></LowerLeftCoordinate><UpperRightCoordinate><X>999999.99906868022</X><Y>999999.99906868022</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><Z
 Tolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>57</Name><Description></Description><CoordinateSystemName>0</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Clarke_1866_Albers",GEOGCS["GCS_Clarke_1866",DATUM["D_Clarke_1866",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-96.0],PARAMETER["Standard_Parallel_1",29.5],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",23.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-2585463.02736201</X><Y>169081.26638799402</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2486907.0226379926</X><Y>5241451.316387997</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext></FdoSpatialContextList>');
 INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts on ArcSDE resroure when ACITVEONLY is 1', 8003, 'text/xml', '<?xml version="1.0" encoding="UTF-8" ?><FdoSpatialContextList><ProviderName>OSGeo.ArcSDE.3.2</ProviderName><SpatialContext IsActive="false"><Name>1</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-180.0</X><Y>-90.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>249.49672900000002</X><Y>339.49672900000002</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>2</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-171.0</X><Y>-15.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>186.91394083333336</X><Y>34
 2.91394083333336</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="true"><Name>3</Name><Description></Description><CoordinateSystemName>4326</CoordinateSystemName><CoordinateSystemWkt>GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>96.0</X><Y>-44.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>167.58278816666666</X><Y>27.58278816666666</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>5</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>1033302.0</X><Y>1876267.0</Y></LowerLeftCoordinate><
 UpperRightCoordinate><X>1060145.5455624999</X><Y>1903110.5455624999</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>6</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-166.0</X><Y>-52.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>191.91394083333336</X><Y>305.91394083333336</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>7</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-169.0</X><Y>-56.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>188.91394083333336</X><Y>301.91394083333336</Y></UpperRightCoordinate></Exten
 t><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>8</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>0.0</X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2147483645.0</X><Y>2147483645.0</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>21</Name><Description></Description><CoordinateSystemName>0</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Australian_UTM_Zone_54",GEOGCS["GCS_Australian",DATUM["D_Australian",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",-10000000.0],PARAMETER["Central_Meridian",141.0],PARAMETER["Scale_Factor"
 ,0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>275586.68065650499</X><Y>6127482.4433970302</Y></LowerLeftCoordinate><UpperRightCoordinate><X>285586.91308418236</X><Y>6137482.6758247074</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>22</Name><Description></Description><CoordinateSystemName>0</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Australian_UTM_Zone_54",GEOGCS["GCS_Australian",DATUM["D_Australian",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",-10000000.0],PARAMETER["Central_Meridian",141.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</Ext
 entType><Extent><LowerLeftCoordinate><X>275586.68065650499</X><Y>6127482.4433970302</Y></LowerLeftCoordinate><UpperRightCoordinate><X>285586.91308418236</X><Y>6137482.6758247074</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>38</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-180.0</X><Y>-90.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>678.99345800000003</X><Y>768.99345800000003</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>59</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>976174.25110047904</X><Y>1819997.0
 485967</Y></LowerLeftCoordinate><UpperRightCoordinate><X>1113613.204508479</X><Y>1957436.0020046998</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>47</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>2.0</X><Y>11.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>32.00000342261086</X><Y>41.00000342261086</Y></UpperRightCoordinate></Extent><XYTolerance>484966433</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1n</Name><Description>A spatial context</Description><CoordinateSystemName>20250</CoordinateSystemName><CoordinateSystemWkt>PROJCS["AGD_1966_AMG_Zone_50",GEOGCS["GCS_Australian_1966",DATUM["D_Australian_1966",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0
 174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000005.00093133</X><Y>-1000005.00093133</Y></LowerLeftCoordinate><UpperRightCoordinate><X>1000004.9990686716</X><Y>1000004.9990686716</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1o</Name><Description>A spatial context</Description><CoordinateSystemName>20250</CoordinateSystemName><CoordinateSystemWkt>PROJCS["AGD_1966_AMG_Zone_50",GEOGCS["GCS_Australian_1966",DATUM["D_Australian_1966",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["Fals
 e_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000058.00093138</X><Y>-1000058.00093138</Y></LowerLeftCoordinate><UpperRightCoordinate><X>1000057.9990686256</X><Y>1000057.9990686256</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1q</Name><Description>A spatial context</Description><CoordinateSystemName>20250</CoordinateSystemName><CoordinateSystemWkt>PROJCS["AGD_1966_AMG_Zone_50",GEOGCS["GCS_Australian_1966",DATUM["D_Australian_1966",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMET
 ER["Central_Meridian",117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000060.00093138</X><Y>-1000060.00093138</Y></LowerLeftCoordinate><UpperRightCoordinate><X>1000059.9990686172</X><Y>1000059.9990686172</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>4</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>1034404.0</X><Y>1875155.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>1065082.3377857143</X><Y>1905833.3377857143</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>13</Name><Description></Description><Coordinate
 SystemName>26911</CoordinateSystemName><CoordinateSystemWkt>PROJCS["NAD_1983_UTM_Zone_11N",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>361344.84351789003</X><Y>3642995.62477186</Y></LowerLeftCoordinate><UpperRightCoordinate><X>611344.84374934225</X><Y>3892995.6250033122</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>30</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>St
 atic</ExtentType><Extent><LowerLeftCoordinate><X>2301368.7827019999</X><Y>731938.720202</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2309958.7172900001</X><Y>740528.65479000018</Y></UpperRightCoordinate></Extent><XYTolerance>-1998362383</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>31</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>2301368.7827019999</X><Y>731938.720202</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2309958.7172900001</X><Y>740528.65479000018</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>32</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>
 2100000.0</X><Y>500000.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2600000.0</X><Y>1000000.0</Y></UpperRightCoordinate></Extent><XYTolerance>-1998362383</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>33</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>2100000.0</X><Y>500000.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2600000.0</X><Y>1000000.0</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>DummyCartesian</Name><Description>A rectangualr spatial context.</Description><CoordinateSystemName>20250</CoordinateSystemName><CoordinateSystemWkt>PROJCS["AGD_1966_AMG_Zone_50",GEOGCS["GCS_Australian_1966",DATUM["D_Australian_1966",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],U
 NIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000000.00093132</X><Y>-1000000.00093132</Y></LowerLeftCoordinate><UpperRightCoordinate><X>999999.99906868022</X><Y>999999.99906868022</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>63</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-200.0</X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>1947.4836449999998</X><Y>2147.4836449999998</Y></UpperRightCoordinate></Extent><XYTolerance>0<
 /XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>60</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>1000000.0</X><Y>1000000.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>3147483.645</X><Y>3147483.645</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>62</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-107.0</X><Y>7.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>-85.525163550000002</X><Y>28.474836450000002</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>64</Name><De
 scription></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-107.0</X><Y>7.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>107.74836450000001</X><Y>221.74836450000001</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>65</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-107.0</X><Y>7.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2040.4836449999998</X><Y>2154.4836449999998</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>66</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateS
 ystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-200.0</X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>14.748364500000008</X><Y>214.74836450000001</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>67</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-110.0</X><Y>4.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>-88.525163550000002</X><Y>25.474836450000002</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>68</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-117.0</X><Y>-3.0</Y></LowerLe
 ftCoordinate><UpperRightCoordinate><X>-95.525163550000002</X><Y>18.474836450000002</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>69</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-117.0</X><Y>-3.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>97.748364500000008</X><Y>211.74836450000001</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>70</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-130.0</X><Y>-30.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>84.748364500000008</X><Y>184.74836450000001</Y></UpperRightCo
 ordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>71</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-150.0</X><Y>-50.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>64.748364500000008</X><Y>164.74836450000001</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>72</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-150.0</X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>64.748364500000008</X><Y>214.74836450000001</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialCont
 ext IsActive="false"><Name>73</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>0.0</X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2147483.645</X><Y>2147483.645</Y></UpperRightCoordinate></Extent><XYTolerance>-755914244</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest2r</Name><Description>something descriptiveeeeeeeeeÿÿtµ</Description><CoordinateSystemName>20251</CoordinateSystemName><CoordinateSystemWkt>PROJCS["AGD_1966_AMG_Zone_51",GEOGCS["GCS_Australian_1966",DATUM["D_Australian_1966",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",123.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["La
 titude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-5000061.0046566697</X><Y>-3000061.0046566701</Y></LowerLeftCoordinate><UpperRightCoordinate><X>5000060.9953433247</X><Y>7000060.9953433238</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>9</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-10000.0</X><Y>-10000.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>11474.836449999999</X><Y>11474.836449999999</Y></UpperRightCoordinate></Extent><XYTolerance>-1998362383</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>10</Name><Description></Description><CoordinateSystemName>26711</CoordinateSystemName><CoordinateSystemWkt>PRO
 JCS["NAD_1927_UTM_Zone_11N",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>449735.63240863598</X><Y>4712674.0663228203</Y></LowerLeftCoordinate><UpperRightCoordinate><X>587174.58581663587</X><Y>4850113.0197308203</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>11</Name><Description></Description><CoordinateSystemName>4269</CoordinateSystemName><CoordinateSystemWkt>GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0
 ,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1196.33525919918</X><Y>-1028.5763159237099</Y></LowerLeftCoordinate><UpperRightCoordinate><X>951.14838780082096</X><Y>1118.907331076291</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>12</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-10000.0</X><Y>-10000.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>11474.836449999999</X><Y>11474.836449999999</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>14</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSyste
 mWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>0.0</X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>214748.3645</X><Y>214748.3645</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>15</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>361344.84351789003</X><Y>3642995.62477186</Y></LowerLeftCoordinate><UpperRightCoordinate><X>611344.84374934225</X><Y>3892995.6250033122</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>16</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>0.0</
 X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>7158278.8166666664</X><Y>7158278.8166666664</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>17</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>0.0</X><Y>0.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>21474836.449999999</X><Y>21474836.449999999</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>24</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-370.36414417431598</X><Y>-244.799777833679</Y></LowerLeftCoordinate><UpperRightCoordinate><X>166.50676757568391</
 X><Y>292.07113391632089</Y></UpperRightCoordinate></Extent><XYTolerance>-1998362383</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>25</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-370.36414417431598</X><Y>-244.799777833679</Y></LowerLeftCoordinate><UpperRightCoordinate><X>166.50676757568391</X><Y>292.07113391632089</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>34</Name><Description></Description><CoordinateSystemName>4283</CoordinateSystemName><CoordinateSystemWkt>GEOGCS["GCS_GDA_1994",DATUM["D_GDA_1994",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>2100
 000.0</X><Y>500000.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2600000.0</X><Y>1000000.0</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1f</Name><Description>A spatial context</Description><CoordinateSystemName>2041</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Abidjan_1987_UTM_Zone_30N",GEOGCS["GCS_Abidjan_1987",DATUM["D_Abidjan_1987",SPHEROID["Clarke_1880_RGS",6378249.145,293.465]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-3.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000000.00093132</X><Y>-1000000.00093132</Y></LowerLeftCoordinate><UpperRightCoordinate><X>999999.99906868022</X><Y>
 999999.99906868022</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>61</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-107.0</X><Y>7.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>-104.85251635500001</X><Y>9.1474836449999994</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>18</Name><Description></Description><CoordinateSystemName>26911</CoordinateSystemName><CoordinateSystemWkt>PROJCS["NAD_1983_UTM_Zone_11N",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000
 .0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-117.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>451985.10536603106</X><Y>3733635.88662</Y></LowerLeftCoordinate><UpperRightCoordinate><X>520704.58207003097</X><Y>3802355.363324</Y></UpperRightCoordinate></Extent><XYTolerance>-1998362383</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>19</Name><Description></Description><CoordinateSystemName>26911</CoordinateSystemName><CoordinateSystemWkt>PROJCS["NAD_1983_UTM_Zone_11N",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-117.0],PARAMETER["Scal
 e_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>451985.10536603106</X><Y>3733635.88662</Y></LowerLeftCoordinate><UpperRightCoordinate><X>520704.58207003097</X><Y>3802355.363324</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>20</Name><Description></Description><CoordinateSystemName>0</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Clarke_1866_Albers",GEOGCS["GCS_Clarke_1866",DATUM["D_Clarke_1866",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-96.0],PARAMETER["Standard_Parallel_1",29.5],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",23.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><
 ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-8845371.0263039991</X><Y>-7057448.0888040001</Y></LowerLeftCoordinate><UpperRightCoordinate><X>8746815.0099200234</X><Y>10534737.947420023</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>23</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>236748.201550581</X><Y>190565.80623808102</Y></LowerLeftCoordinate><UpperRightCoordinate><X>262343.51717558102</X><Y>216161.12186308103</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>26</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftC
 oordinate><X>180826.38260700001</X><Y>132681.74198200001</Y></LowerLeftCoordinate><UpperRightCoordinate><X>318265.33601499989</X><Y>270120.69538999989</Y></UpperRightCoordinate></Extent><XYTolerance>-1998362383</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>27</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>180826.38260700001</X><Y>132681.74198200001</Y></LowerLeftCoordinate><UpperRightCoordinate><X>318265.33601499989</X><Y>270120.69538999989</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>28</Name><Description></Description><CoordinateSystemName>0</CoordinateSystemName><CoordinateSystemWkt>PROJCS["NAD_1983_Transverse_Mercator",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID[
 "GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",-1000.0],PARAMETER["False_Northing",-1000.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-16.777216007812498</X><Y>-16.777216007812498</Y></LowerLeftCoordinate><UpperRightCoordinate><X>16.777215976562481</X><Y>16.777215976562481</Y></UpperRightCoordinate></Extent><XYTolerance>-1998362383</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>29</Name><Description></Description><CoordinateSystemName>0</CoordinateSystemName><CoordinateSystemWkt>PROJCS["NAD_1983_Transverse_Mercator",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.
 0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",-1000.0],PARAMETER["False_Northing",-1000.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-16.777216007812498</X><Y>-16.777216007812498</Y></LowerLeftCoordinate><UpperRightCoordinate><X>16.777215976562481</X><Y>16.777215976562481</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SC_Test1</Name><Description>A spatial context</Description><CoordinateSystemName>102001</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Canada_Albers_Equal_Area_Conic",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_
 Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-96.0],PARAMETER["Standard_Parallel_1",50.0],PARAMETER["Standard_Parallel_2",70.0],PARAMETER["Latitude_Of_Origin",40.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000000.00093132</X><Y>-1000000.00093132</Y></LowerLeftCoordinate><UpperRightCoordinate><X>999999.99906868022</X><Y>999999.99906868022</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>49</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>2.0</X><Y>11.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>38.000002095475921</X><Y>47.000002095475921</Y></UpperRightCoordinate></Extent><XYTolerance>975175793</XYTolerance><ZTolerance>0</ZTolerance></Spatia
 lContext><SpatialContext IsActive="false"><Name>46</Name><Description></Description><CoordinateSystemName></CoordinateSystemName><CoordinateSystemWkt></CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-180.0</X><Y>-90.0</Y></LowerLeftCoordinate><UpperRightCoordinate><X>678.99345800000003</X><Y>768.99345800000003</Y></UpperRightCoordinate></Extent><XYTolerance>-1698910392</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1g</Name><Description>A spatial context</Description><CoordinateSystemName>2137</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Accra_TM_1_NW",GEOGCS["GCS_Accra",DATUM["D_Accra",SPHEROID["War_Office",6378300.0,296.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-1.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin"
 ,0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000000.00093132</X><Y>-1000000.00093132</Y></LowerLeftCoordinate><UpperRightCoordinate><X>999999.99906868022</X><Y>999999.99906868022</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1h</Name><Description>A spatial context</Description><CoordinateSystemName>20138</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Adindan_UTM_Zone_38N",GEOGCS["GCS_Adindan",DATUM["D_Adindan",SPHEROID["Clarke_1880_RGS",6378249.145,293.465]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",45.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Exten
 t><LowerLeftCoordinate><X>-1000000.00093132</X><Y>-1000000.00093132</Y></LowerLeftCoordinate><UpperRightCoordinate><X>999999.99906868022</X><Y>999999.99906868022</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1i</Name><Description>A spatial context</Description><CoordinateSystemName>102011</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Africa_Sinusoidal",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Sinusoidal"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",15.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000000.00093132</X><Y>-1000000.00093132</Y></LowerLeftCoordinate><UpperRightCoordinate><X>999999.99906868022</X><Y>999999.99906868022</Y></Up
 perRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>SCTest1j</Name><Description>A spatial context</Description><CoordinateSystemName>20248</CoordinateSystemName><CoordinateSystemWkt>PROJCS["AGD_1966_AMG_Zone_48",GEOGCS["GCS_Australian_1966",DATUM["D_Australian_1966",SPHEROID["Australian",6378160.0,298.25]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",10000000.0],PARAMETER["Central_Meridian",105.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-1000000.00093132</X><Y>-1000000.00093132</Y></LowerLeftCoordinate><UpperRightCoordinate><X>999999.99906868022</X><Y>999999.99906868022</Y></UpperRightCoordinate></Extent><XYTolerance>1202590843</XYTolerance><Z
 Tolerance>0</ZTolerance></SpatialContext><SpatialContext IsActive="false"><Name>57</Name><Description></Description><CoordinateSystemName>0</CoordinateSystemName><CoordinateSystemWkt>PROJCS["Clarke_1866_Albers",GEOGCS["GCS_Clarke_1866",DATUM["D_Clarke_1866",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-96.0],PARAMETER["Standard_Parallel_1",29.5],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",23.0],UNIT["Meter",1.0]]</CoordinateSystemWkt><ExtentType>Static</ExtentType><Extent><LowerLeftCoordinate><X>-2585463.02736201</X><Y>169081.26638799402</Y></LowerLeftCoordinate><UpperRightCoordinate><X>2486907.0226379926</X><Y>5241451.316387997</Y></UpperRightCoordinate></Extent><XYTolerance>0</XYTolerance><ZTolerance>0</ZTolerance></SpatialContext></FdoSpatialContextList>');
-INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts with blank resource', 8004, 'text/plain', X'6D67696E76616C69647265706F7369746F727974797065657863657074696F6E');
+INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts with blank resource', 8004, 'text/plain', 'mginvalidrepositorytypeexception');
 INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts when the resource does not exist', 8005, 'text/plain', 'mgresourcenotfoundexception');
 INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts on Oracle resource when ACTIVEONLY  is 0', 8006, 'text/xml', X'0A20203C46646F5370617469616C436F6E746578744C6973743E0A202020203C50726F76696465724E616D653E4175746F6465736B2E4F7261636C652E332E303C2F50726F76696465724E616D653E0A202020203C5370617469616C436F6E746578743E0A2020202020203C436F6F7264696E61746553797374656D4E616D653E3C2F436F6F7264696E61746553797374656D4E616D653E0A2020202020203C436F6F7264696E61746553797374656D576B743E3C2F436F6F7264696E61746553797374656D576B743E0A2020202020203C4465736372697074696F6E3E44656661756C74204461746162617365205370617469616C20436F6E746578743C2F4465736372697074696F6E3E0A2020202020203C457874656E743E0A20202020202020203C4C6F7765724C656674436F6F7264696E6174653E0A202020202020202020203C583E2D31303030303030303C2F583E0A202020202020202020203C593E2D31303030303030303C2F593E0A20202020202020203C2F4C6F7765724C656674436F6F7264696E6174653E0A20202020202020203C55707065725269676874436F6F7264696E6174653E0A2020202020
 20202020203C583E31303030303030303C2F583E0A202020202020202020203C593E31303030303030303C2F593E0A20202020202020203C2F55707065725269676874436F6F7264696E6174653E0A2020202020203C2F457874656E743E0A2020202020203C457874656E74547970653E5374617469633C2F457874656E74547970653E0A2020202020203C4E616D653E53435F303C2F4E616D653E0A2020202020203C5859546F6C6572616E63653E302E3030313030303C2F5859546F6C6572616E63653E0A2020202020203C5A546F6C6572616E63653E302E3030303030303C2F5A546F6C6572616E63653E0A202020203C2F5370617469616C436F6E746578743E0A20203C2F46646F5370617469616C436F6E746578744C6973743E');
 INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts on Oracle resource when ACTIVEONLY  is 1', 8007, 'text/xml', X'0A20203C46646F5370617469616C436F6E746578744C6973743E0A202020203C50726F76696465724E616D653E4175746F6465736B2E4F7261636C652E332E303C2F50726F76696465724E616D653E0A202020203C5370617469616C436F6E746578743E0A2020202020203C436F6F7264696E61746553797374656D4E616D653E3C2F436F6F7264696E61746553797374656D4E616D653E0A2020202020203C436F6F7264696E61746553797374656D576B743E3C2F436F6F7264696E61746553797374656D576B743E0A2020202020203C4465736372697074696F6E3E44656661756C74204461746162617365205370617469616C20436F6E746578743C2F4465736372697074696F6E3E0A2020202020203C457874656E743E0A20202020202020203C4C6F7765724C656674436F6F7264696E6174653E0A202020202020202020203C583E2D31303030303030303C2F583E0A202020202020202020203C593E2D31303030303030303C2F593E0A20202020202020203C2F4C6F7765724C656674436F6F7264696E6174653E0A20202020202020203C55707065725269676874436F6F7264696E6174653E0A2020202020
 20202020203C583E31303030303030303C2F583E0A202020202020202020203C593E31303030303030303C2F593E0A20202020202020203C2F55707065725269676874436F6F7264696E6174653E0A2020202020203C2F457874656E743E0A2020202020203C457874656E74547970653E5374617469633C2F457874656E74547970653E0A2020202020203C4E616D653E53435F303C2F4E616D653E0A2020202020203C5859546F6C6572616E63653E302E3030313030303C2F5859546F6C6572616E63653E0A2020202020203C5A546F6C6572616E63653E302E3030303030303C2F5A546F6C6572616E63653E0A202020203C2F5370617469616C436F6E746578743E0A20203C2F46646F5370617469616C436F6E746578744C6973743E');
-INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts on a SDF resource when resource data is not set yet', 8009, 'text/plain', X'6D676170706C69636174696F6E657863657074696F6E');
-INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts on a SDF resource', 8010, 'text/xml', X'0A20203C46646F5370617469616C436F6E746578744C6973743E0A202020203C50726F76696465724E616D653E4F5347656F2E5344462E332E383C2F50726F76696465724E616D653E0A202020203C5370617469616C436F6E746578743E0A2020202020203C436F6F7264696E61746553797374656D4E616D653E47454F4743535B224C4C3834222C444154554D5B22574753203834222C53504845524F49445B22574753203834222C363337383133372C305D2C544F57475338345B302C302C302C302C302C302C305D5D2C5052494D454D5B22477265656E77696368222C305D2C554E49545B2244656772656573222C302E30313734353332393235325D5D3C2F436F6F7264696E61746553797374656D4E616D653E0A2020202020203C436F6F7264696E61746553797374656D576B743E47454F4743535B224C4C3834222C444154554D5B22574753203834222C53504845524F49445B22574753203834222C363337383133372C305D2C544F57475338345B302C302C302C302C302C302C305D5D2C5052494D454D5B22477265656E77696368222C305D2C554E49545B2244656772656573222C302E30313734353332393235325D5D3C2F436F6
 F7264696E61746553797374656D576B743E0A2020202020203C4465736372697074696F6E3E574753383420646174756D2C204C617469747564652D4C6F6E6769747564652C20446567726565733C2F4465736372697074696F6E3E0A2020202020203C457874656E743E0A20202020202020203C4C6F7765724C656674436F6F7264696E6174653E0A202020202020202020203C583E31303C2F583E0A202020202020202020203C593E31303C2F593E0A20202020202020203C2F4C6F7765724C656674436F6F7264696E6174653E0A20202020202020203C55707065725269676874436F6F7264696E6174653E0A202020202020202020203C583E34303C2F583E0A202020202020202020203C593E34303C2F593E0A20202020202020203C2F55707065725269676874436F6F7264696E6174653E0A2020202020203C2F457874656E743E0A2020202020203C457874656E74547970653E44796E616D69633C2F457874656E74547970653E0A2020202020203C4E616D653E4C4C38343C2F4E616D653E0A2020202020203C5859546F6C6572616E63653E302E3030303030303C2F5859546F6C6572616E63653E0A2020202020203C5A546F6C6572616E63653E302E3030303030303C2F5A546F6C6572616E63653E0A202020203C2F5370617469616C436F6E746578743E0A
 20203C2F46646F5370617469616C436F6E746578744C6973743E');
-INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts on a SDF resource', 8011, 'text/xml', X'0A20203C46646F5370617469616C436F6E746578744C6973743E0A202020203C50726F76696465724E616D653E4F5347656F2E5344462E332E383C2F50726F76696465724E616D653E0A202020203C5370617469616C436F6E746578743E0A2020202020203C436F6F7264696E61746553797374656D4E616D653E47454F4743535B224C4C3834222C444154554D5B22574753203834222C53504845524F49445B22574753203834222C363337383133372C305D2C544F57475338345B302C302C302C302C302C302C305D5D2C5052494D454D5B22477265656E77696368222C305D2C554E49545B2244656772656573222C302E30313734353332393235325D5D3C2F436F6F7264696E61746553797374656D4E616D653E0A2020202020203C436F6F7264696E61746553797374656D576B743E47454F4743535B224C4C3834222C444154554D5B22574753203834222C53504845524F49445B22574753203834222C363337383133372C305D2C544F57475338345B302C302C302C302C302C302C305D5D2C5052494D454D5B22477265656E77696368222C305D2C554E49545B2244656772656573222C302E30313734353332393235325D5D3C2F436F6
 F7264696E61746553797374656D576B743E0A2020202020203C4465736372697074696F6E3E574753383420646174756D2C204C617469747564652D4C6F6E6769747564652C20446567726565733C2F4465736372697074696F6E3E0A2020202020203C457874656E743E0A20202020202020203C4C6F7765724C656674436F6F7264696E6174653E0A202020202020202020203C583E31303C2F583E0A202020202020202020203C593E31303C2F593E0A20202020202020203C2F4C6F7765724C656674436F6F7264696E6174653E0A20202020202020203C55707065725269676874436F6F7264696E6174653E0A202020202020202020203C583E34303C2F583E0A202020202020202020203C593E34303C2F593E0A20202020202020203C2F55707065725269676874436F6F7264696E6174653E0A2020202020203C2F457874656E743E0A2020202020203C457874656E74547970653E44796E616D69633C2F457874656E74547970653E0A2020202020203C4E616D653E4C4C38343C2F4E616D653E0A2020202020203C5859546F6C6572616E63653E302E3030303030303C2F5859546F6C6572616E63653E0A2020202020203C5A546F6C6572616E63653E302E3030303030303C2F5A546F6C6572616E63653E0A202020203C2F5370617469616C436F6E746578743E0A
 20203C2F46646F5370617469616C436F6E746578744C6973743E');
+INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts on a SDF resource when resource data is not set yet', 8009, 'text/plain', 'mgapplicationexception');
+INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts on a SDF resource', 8010, 'text/xml', '
+  <FdoSpatialContextList>
+    <ProviderName>OSGeo.SDF.3.9</ProviderName>
+    <SpatialContext>
+      <CoordinateSystemName>GEOGCS["LL84",DATUM["WGS 84",SPHEROID["WGS 84",6378137,0],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees",0.01745329252]]</CoordinateSystemName>
+      <CoordinateSystemWkt>GEOGCS["LL84",DATUM["WGS 84",SPHEROID["WGS 84",6378137,0],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees",0.01745329252]]</CoordinateSystemWkt>
+      <Description>WGS84 datum, Latitude-Longitude, Degrees</Description>
+      <Extent>
+        <LowerLeftCoordinate>
+          <X>10</X>
+          <Y>10</Y>
+        </LowerLeftCoordinate>
+        <UpperRightCoordinate>
+          <X>40</X>
+          <Y>40</Y>
+        </UpperRightCoordinate>
+      </Extent>
+      <ExtentType>Dynamic</ExtentType>
+      <Name>LL84</Name>
+      <XYTolerance>0.000000</XYTolerance>
+      <ZTolerance>0.000000</ZTolerance>
+    </SpatialContext>
+  </FdoSpatialContextList>');
+INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts on a SDF resource', 8011, 'text/xml', '
+  <FdoSpatialContextList>
+    <ProviderName>OSGeo.SDF.3.9</ProviderName>
+    <SpatialContext>
+      <CoordinateSystemName>GEOGCS["LL84",DATUM["WGS 84",SPHEROID["WGS 84",6378137,0],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees",0.01745329252]]</CoordinateSystemName>
+      <CoordinateSystemWkt>GEOGCS["LL84",DATUM["WGS 84",SPHEROID["WGS 84",6378137,0],TOWGS84[0,0,0,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["Degrees",0.01745329252]]</CoordinateSystemWkt>
+      <Description>WGS84 datum, Latitude-Longitude, Degrees</Description>
+      <Extent>
+        <LowerLeftCoordinate>
+          <X>10</X>
+          <Y>10</Y>
+        </LowerLeftCoordinate>
+        <UpperRightCoordinate>
+          <X>40</X>
+          <Y>40</Y>
+        </UpperRightCoordinate>
+      </Extent>
+      <ExtentType>Dynamic</ExtentType>
+      <Name>LL84</Name>
+      <XYTolerance>0.000000</XYTolerance>
+      <ZTolerance>0.000000</ZTolerance>
+    </SpatialContext>
+  </FdoSpatialContextList>');
 INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts on an RFP resource when resource data is not set yet', 8012, 'text/plain', X'6D677265736F75726365646174616E6F74666F756E64657863657074696F6E');
 INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts on an RFP resource when resource data is not set yet', 8013, 'text/plain', X'6D677265736F75726365646174616E6F74666F756E64657863657074696F6E');
 INSERT INTO "ApiTestResults" VALUES('GetSpatialContexts on an RFP resource', 8014, 'text/xml', X'0A20203C46646F5370617469616C436F6E746578744C6973743E0A202020203C50726F76696465724E616D653E4175746F6465736B2E5261737465722E332E303C2F50726F76696465724E616D653E0A202020203C5370617469616C436F6E746578743E0A2020202020203C436F6F7264696E61746553797374656D4E616D653E75746D5F7A6F6E65313C2F436F6F7264696E61746553797374656D4E616D653E0A2020202020203C436F6F7264696E61746553797374656D576B743E3C2F436F6F7264696E61746553797374656D576B743E0A2020202020203C4465736372697074696F6E3E5370617469616C20636F6E7465787420666F72204172656120313C2F4465736372697074696F6E3E0A2020202020203C457874656E743E0A20202020202020203C4C6F7765724C656674436F6F7264696E6174653E0A202020202020202020203C583E3230303030303C2F583E0A202020202020202020203C593E313030303030303C2F593E0A20202020202020203C2F4C6F7765724C656674436F6F7264696E6174653E0A20202020202020203C55707065725269676874436F6F7264696E6174653E0A202020202020202020203C583E3330303030
 303C2F583E0A202020202020202020203C593E313130303030303C2F593E0A20202020202020203C2F55707065725269676874436F6F7264696E6174653E0A2020202020203C2F457874656E743E0A2020202020203C457874656E74547970653E5374617469633C2F457874656E74547970653E0A2020202020203C4E616D653E61726561313C2F4E616D653E0A2020202020203C5859546F6C6572616E63653E302E3030303030303C2F5859546F6C6572616E63653E0A2020202020203C5A546F6C6572616E63653E302E3030303030303C2F5A546F6C6572616E63653E0A202020203C2F5370617469616C436F6E746578743E0A20203C2F46646F5370617469616C436F6E746578744C6973743E');

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/BuildingOutlines.FeatureSource_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/BuildingOutlines.FeatureSource_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/BuildingOutlines.FeatureSource_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
+  <Provider>OSGeo.SDF</Provider>
+  <Parameter>
+    <Name>File</Name>
+    <Value>%MG_DATA_FILE_PATH%BuildingOutlines.sdf</Value>
+  </Parameter>
+  <Parameter>
+    <Name>ReadOnly</Name>
+    <Value>TRUE</Value>
+  </Parameter>
+</FeatureSource>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/BuildingOutlines.FeatureSource_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/BuildingOutlines.FeatureSource_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/BuildingOutlines.FeatureSource_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>FeatureSourceSdf</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_PrimarySRS</Name>
+        <Value>EPSG:4326</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Abstract</Name>
+        <Value>Building Outlines.</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Keywords</Name>
+        <Value>Buildings, Outlines</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>Building Outlines</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/CityLimits.FeatureSource_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/CityLimits.FeatureSource_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/CityLimits.FeatureSource_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
+  <Provider>OSGeo.SDF</Provider>
+  <Parameter>
+    <Name>File</Name>
+    <Value>%MG_DATA_FILE_PATH%CityLimits.sdf</Value>
+  </Parameter>
+  <Parameter>
+    <Name>ReadOnly</Name>
+    <Value>TRUE</Value>
+  </Parameter>
+</FeatureSource>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/CityLimits.FeatureSource_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/CityLimits.FeatureSource_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/CityLimits.FeatureSource_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>FeatureSourceSdf</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_PrimarySRS</Name>
+        <Value>EPSG:4326</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Abstract</Name>
+        <Value>City Limits</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Keywords</Name>
+        <Value>City, Limits</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>City Limits</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicLines.FeatureSource_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicLines.FeatureSource_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicLines.FeatureSource_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
+  <Provider>OSGeo.SDF</Provider>
+  <Parameter>
+    <Name>File</Name>
+    <Value>%MG_DATA_FILE_PATH%HydrographicLines.sdf</Value>
+  </Parameter>
+  <Parameter>
+    <Name>ReadOnly</Name>
+    <Value>TRUE</Value>
+  </Parameter>
+</FeatureSource>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicLines.FeatureSource_DATA_HydrographicLines.sdf
===================================================================
(Binary files differ)


Property changes on: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicLines.FeatureSource_DATA_HydrographicLines.sdf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicLines.FeatureSource_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicLines.FeatureSource_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicLines.FeatureSource_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>FeatureSourceSdf</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Abstract</Name>
+        <Value>Hydrographic Lines</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Keywords</Name>
+        <Value>Hydrography</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>Hydrographic Lines</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
+  <Provider>OSGeo.SDF</Provider>
+  <Parameter>
+    <Name>File</Name>
+    <Value>%MG_DATA_FILE_PATH%HydrographicPolygons.sdf</Value>
+  </Parameter>
+  <Parameter>
+    <Name>ReadOnly</Name>
+    <Value>TRUE</Value>
+  </Parameter>
+</FeatureSource>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>FeatureSourceSdf</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Abstract</Name>
+        <Value>Hydrographic Polygons</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Keywords</Name>
+        <Value>Hydrography, Hydrogaphic</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>Hydrographic Polygons</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Islands.FeatureSource_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Islands.FeatureSource_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Islands.FeatureSource_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
+  <Provider>OSGeo.SDF</Provider>
+  <Parameter>
+    <Name>File</Name>
+    <Value>%MG_DATA_FILE_PATH%Islands.sdf</Value>
+  </Parameter>
+  <Parameter>
+    <Name>ReadOnly</Name>
+    <Value>TRUE</Value>
+  </Parameter>
+</FeatureSource>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Islands.FeatureSource_DATA_Islands.sdf
===================================================================
(Binary files differ)


Property changes on: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Islands.FeatureSource_DATA_Islands.sdf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Islands.FeatureSource_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Islands.FeatureSource_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Islands.FeatureSource_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>FeatureSourceSdf</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Keywords</Name>
+        <Value>Islands</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>Islands</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/LandUse.FeatureSource_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/LandUse.FeatureSource_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/LandUse.FeatureSource_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
+  <Provider>OSGeo.SDF</Provider>
+  <Parameter>
+    <Name>File</Name>
+    <Value>%MG_DATA_FILE_PATH%LandUse.sdf</Value>
+  </Parameter>
+  <Parameter>
+    <Name>ReadOnly</Name>
+    <Value>TRUE</Value>
+  </Parameter>
+</FeatureSource>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/LandUse.FeatureSource_DATA_LandUse.sdf
===================================================================
(Binary files differ)


Property changes on: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/LandUse.FeatureSource_DATA_LandUse.sdf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/LandUse.FeatureSource_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/LandUse.FeatureSource_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/LandUse.FeatureSource_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>FeatureSourceSdf</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Parcels.FeatureSource_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Parcels.FeatureSource_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Parcels.FeatureSource_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
+  <Provider>OSGeo.SDF</Provider>
+  <Parameter>
+    <Name>File</Name>
+    <Value>%MG_DATA_FILE_PATH%Parcels.sdf</Value>
+  </Parameter>
+  <Parameter>
+    <Name>ReadOnly</Name>
+    <Value>TRUE</Value>
+  </Parameter>
+</FeatureSource>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Parcels.FeatureSource_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Parcels.FeatureSource_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Parcels.FeatureSource_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>FeatureSourceSdf</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Keywords</Name>
+        <Value>Parcels</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>Parcels</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Rail.FeatureSource_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Rail.FeatureSource_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Rail.FeatureSource_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
+  <Provider>OSGeo.SDF</Provider>
+  <Parameter>
+    <Name>File</Name>
+    <Value>%MG_DATA_FILE_PATH%Rail.sdf</Value>
+  </Parameter>
+  <Parameter>
+    <Name>ReadOnly</Name>
+    <Value>TRUE</Value>
+  </Parameter>
+</FeatureSource>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Rail.FeatureSource_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Rail.FeatureSource_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Rail.FeatureSource_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>FeatureSourceSdf</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/RoadCenterLines.FeatureSource_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/RoadCenterLines.FeatureSource_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/RoadCenterLines.FeatureSource_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
+  <Provider>OSGeo.SDF</Provider>
+  <Parameter>
+    <Name>File</Name>
+    <Value>%MG_DATA_FILE_PATH%RoadCenterLines.sdf</Value>
+  </Parameter>
+  <Parameter>
+    <Name>ReadOnly</Name>
+    <Value>TRUE</Value>
+  </Parameter>
+</FeatureSource>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/RoadCenterLines.FeatureSource_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/RoadCenterLines.FeatureSource_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/RoadCenterLines.FeatureSource_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>FeatureSourceSdf</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Soils.FeatureSource_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Soils.FeatureSource_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Soils.FeatureSource_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
+  <Provider>OSGeo.SDF</Provider>
+  <Parameter>
+    <Name>File</Name>
+    <Value>%MG_DATA_FILE_PATH%Soils.sdf</Value>
+  </Parameter>
+  <Parameter>
+    <Name>ReadOnly</Name>
+    <Value>TRUE</Value>
+  </Parameter>
+</FeatureSource>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Soils.FeatureSource_DATA_Soils.sdf
===================================================================
(Binary files differ)


Property changes on: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Soils.FeatureSource_DATA_Soils.sdf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Soils.FeatureSource_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Soils.FeatureSource_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Soils.FeatureSource_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>FeatureSourceSdf</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Trees.FeatureSource_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Trees.FeatureSource_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Trees.FeatureSource_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
+  <Provider>OSGeo.SDF</Provider>
+  <Parameter>
+    <Name>File</Name>
+    <Value>%MG_DATA_FILE_PATH%Trees.sdf</Value>
+  </Parameter>
+  <Parameter>
+    <Name>ReadOnly</Name>
+    <Value>TRUE</Value>
+  </Parameter>
+</FeatureSource>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Trees.FeatureSource_DATA_Trees.sdf
===================================================================
(Binary files differ)


Property changes on: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Trees.FeatureSource_DATA_Trees.sdf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Trees.FeatureSource_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Trees.FeatureSource_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/Trees.FeatureSource_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>FeatureSourceSdf</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/VotingDistricts.FeatureSource_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/VotingDistricts.FeatureSource_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/VotingDistricts.FeatureSource_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
+  <Provider>OSGeo.SDF</Provider>
+  <Parameter>
+    <Name>File</Name>
+    <Value>%MG_DATA_FILE_PATH%VotingDistricts.sdf</Value>
+  </Parameter>
+  <Parameter>
+    <Name>ReadOnly</Name>
+    <Value>TRUE</Value>
+  </Parameter>
+</FeatureSource>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/VotingDistricts.FeatureSource_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/VotingDistricts.FeatureSource_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/VotingDistricts.FeatureSource_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>FeatureSourceSdf</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>Voting Districts</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Data/_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceFolderHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceFolderHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceFolderHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Aqua.ApplicationDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Aqua.ApplicationDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Aqua.ApplicationDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,1294 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ApplicationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd">
+  <Title>Sample - Aqua</Title>
+  <TemplateUrl>fusion/templates/mapguide/aqua/index.html</TemplateUrl>
+  <MapSet>
+    <MapGroup id="MainMap">
+      <Map>
+        <Type>MapGuide</Type>
+        <SingleTile>True</SingleTile>
+        <Extension>
+          <ResourceId>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</ResourceId>
+          <SelectionColor>0x0000ffff</SelectionColor>
+          <SelectionAsOverlay>true</SelectionAsOverlay>
+        </Extension>
+      </Map>
+    </MapGroup>
+  </MapSet>
+  <WidgetSet>
+    <Container xsi:type="UiItemContainerType">
+      <Name>Toolbar</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Print</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>QuickPlot</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>RefreshMap</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Maptip</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>SelectRadius</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>SelectPolygon</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ClearSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ViewOptions</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>About</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Help</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>ToolbarSecondary</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Select</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Pan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Zoom</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomOut</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>InitialMapView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomToSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>PreviousView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>NextView</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>ToolbarVertical</Name>
+      <Type>Toolbar</Type>
+      <Position>left</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertSelect</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertPan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoom</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomOut</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertInitialMapView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomToSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertPreviousView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertNextView</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>FileMenu</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>MapMenu</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>BasemapSwitcher</Widget>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>View</Label>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showOverview</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showTaskPane</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showLegend</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showSelectionPanel</Widget>
+        </Item>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>Statusbar</Name>
+      <Type>Splitterbar</Type>
+      <Position>bottom</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusCoordinates</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>EditableScale</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusViewSize</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>MapContextMenu</Name>
+      <Type>ContextMenu</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>RefreshMap</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Pan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Zoom</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomOut</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>Zoom</Label>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Select</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ClearSelection</Widget>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>Select More</Label>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ViewOptions</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Help</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>About</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>TaskMenu</Name>
+      <Type>ContextMenu</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+    </Container>
+    <MapWidget>
+      <Name>Map</Name>
+      <Type>Map</Type>
+      <Extension>
+        <MenuContainer>MapContextMenu</MenuContainer>
+      </Extension>
+      <MapId>MainMap</MapId>
+    </MapWidget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>About</Name>
+      <Type>About</Type>
+      <Location/>
+      <Extension>
+        <AboutURL>widgets/About/About.html</AboutURL>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>about</ImageClass>
+      <Label>About</Label>
+      <Tooltip>Click to show information about this application</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>ActivityIndicator</Name>
+      <Type>ActivityIndicator</Type>
+      <Location/>
+      <Extension>
+        <ElementId>
+        </ElementId>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>BasemapSwitcher</Name>
+      <Type>BasemapSwitcher</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>options</ImageClass>
+      <Label>External Providers</Label>
+      <Tooltip>Click to change the basemap</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>BufferPanel</Name>
+      <Type>BufferPanel</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>buffer</ImageClass>
+      <Label>Buffer</Label>
+      <Tooltip>Click to create a buffer</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>CenterSelection</Name>
+      <Type>CenterSelection</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-centre</ImageClass>
+      <Label>Center selection</Label>
+      <Tooltip>Click to center the map on the current selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ClearSelection</Name>
+      <Type>ClearSelection</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-clear</ImageClass>
+      <Label>Clear Selection</Label>
+      <Tooltip>Click to clear the current selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ColorPicker</Name>
+      <Type>ColorPicker</Type>
+      <Location/>
+      <Extension>
+        <ColorInputId>
+        </ColorInputId>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Color picker</Label>
+      <Tooltip>Use this tool to select a color</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>CoordinateTracker</Name>
+      <Type>CoordinateTracker</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <Projection>
+        </Projection>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>coordinate-tracker</ImageClass>
+      <Label>Coordinate Tracker</Label>
+      <Tooltip>Click to view mouse coordinates in various projections</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>EditableScale</Name>
+      <Type>EditableScale</Type>
+      <Location/>
+      <Extension>
+        <Precision>4</Precision>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>FeatureInfo</Name>
+      <Type>FeatureInfo</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>feature-info</ImageClass>
+      <Label>Feature Info</Label>
+      <Tooltip>Click to display selected feature info</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Geolocation</Name>
+      <Type>Geolocation</Type>
+      <Location/>
+      <Extension>
+        <ZoomLevel>
+        </ZoomLevel>
+        <EnableHighAccuracy>false</EnableHighAccuracy>
+        <Timeout>5000</Timeout>
+        <MaximumAge>0</MaximumAge>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>geolocation</ImageClass>
+      <Label>My Location</Label>
+      <Tooltip>Click to zoom to your current geographic location</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>GoogleStreetViewer</Name>
+      <Type>GoogleStreetViewer</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <SymbolLayerName>GoogleStreetViewerSymbolLayer</SymbolLayerName>
+        <ShowDirection>true</ShowDirection>
+        <DirectionLength>22</DirectionLength>
+        <AdditionalParameter>
+        </AdditionalParameter>
+      </Extension>
+      <ImageUrl>../../../widgets/GoogleStreetViewer/GoogleStreetView.png</ImageUrl>
+      <ImageClass/>
+      <Label>Google StreetView</Label>
+      <Tooltip>Click to show Google StreetView</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Help</Name>
+      <Type>Help</Type>
+      <Location/>
+      <Extension>
+        <Target>HelpWindow</Target>
+        <Url>widgets/Help/Help.html</Url>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>help</ImageClass>
+      <Label>Help</Label>
+      <Tooltip>Click to get help</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>InitialMapView</Name>
+      <Type>InitialMapView</Type>
+      <Location/>
+      <Extension>
+        <ViewType>initial</ViewType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-full</ImageClass>
+      <Label>Zoom Extents</Label>
+      <Tooltip>Click to zoom to the full map extents</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Legend</Name>
+      <Type>Legend</Type>
+      <Location/>
+      <Extension>
+        <HideInvisibleLayers>true</HideInvisibleLayers>
+        <ShowRootFolder>false</ShowRootFolder>
+        <ShowMapFolder>false</ShowMapFolder>
+        <LayerRasterIcon>images/icons/legend-raster.png</LayerRasterIcon>
+        <LayerDWFIcon>images/icons/legend-DWF.png</LayerDWFIcon>
+        <LayerThemeIcon>images/icons/legend-theme.png</LayerThemeIcon>
+        <DisabledLayerIcon>images/icons/legend-layer.png</DisabledLayerIcon>
+        <LayerInfoIcon>images/icons/tree_layer_info.png</LayerInfoIcon>
+        <GroupInfoIcon>images/icons/tree_group_info.png</GroupInfoIcon>
+        <RootFolderIcon>images/icons/legend-map.png</RootFolderIcon>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>LinkToView</Name>
+      <Type>LinkToView</Type>
+      <Location/>
+      <Extension/>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>MapMenu</Name>
+      <Type>MapMenu</Type>
+      <Location/>
+      <Extension>
+        <Folder>
+        </Folder>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>legend-map</ImageClass>
+      <Label>Maps</Label>
+      <Tooltip>Choose a map theme</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Maptip</Name>
+      <Type>Maptip</Type>
+      <Location/>
+      <Extension>
+        <Delay>350</Delay>
+        <Layer>
+        </Layer>
+        <Tolerance>2</Tolerance>
+        <Target>MaptipWindow</Target>
+        <WinFeatures>menubar=no,location=no,resizable=no,status=no</WinFeatures>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>maptip</ImageClass>
+      <Label>Maptip</Label>
+      <Tooltip>Click to Enable/Disable get information about features from Server</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Navigator</Name>
+      <Type>Navigator</Type>
+      <Location/>
+      <Extension/>
+    </Widget>
+    <Widget>
+      <Name>OverviewMap</Name>
+      <Type>OverviewMap</Type>
+      <Location/>
+      <Extension>
+        <MapId>
+        </MapId>
+        <MinRatio>32</MinRatio>
+        <MaxRatio>128</MaxRatio>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Pan</Name>
+      <Type>Pan</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label>Pan</Label>
+      <Tooltip>Click and drag to pan the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PanOnClick</Name>
+      <Type>PanOnClick</Type>
+      <Location/>
+      <Extension>
+        <Percentage>75</Percentage>
+        <Direction>none</Direction>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label/>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PanQuery</Name>
+      <Type>PanQuery</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label>Pan query</Label>
+      <Tooltip>Drag the mouse to pan, click to query</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Print</Name>
+      <Type>Print</Type>
+      <Location/>
+      <Extension>
+        <ShowPrintUI>true</ShowPrintUI>
+        <ShowTitle>false</ShowTitle>
+        <PageTitle>
+        </PageTitle>
+        <ShowLegend>false</ShowLegend>
+        <ShowNorthArrow>false</ShowNorthArrow>
+        <ImageBaseUrl>
+        </ImageBaseUrl>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>file-print</ImageClass>
+      <Label>Print</Label>
+      <Tooltip>Print the current map view</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Query</Name>
+      <Type>Query</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>query</ImageClass>
+      <Label>Query</Label>
+      <Tooltip>Click to execute a custom query</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>QuickPlot</Name>
+      <Type>QuickPlot</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <RememberPlotOptions>false</RememberPlotOptions>
+        <ShowCoordinateLabels>true</ShowCoordinateLabels>
+        <ShowSubTitle>true</ShowSubTitle>
+        <DefaultDpi>96</DefaultDpi>
+        <PaperListEntry>
+        </PaperListEntry>
+        <ScaleListEntry>
+        </ScaleListEntry>
+        <DefaultMargin>25.4,12.7,12.7,12.7</DefaultMargin>
+        <Disclaimer>The materials available at this web site are for informational purposes only and do not constitute a legal document.</Disclaimer>
+        <AllowDisclaimerToggle>true</AllowDisclaimerToggle>
+        <ShowLegend>false</ShowLegend>
+        <ShowNorthArrow>false</ShowNorthArrow>
+        <ShowCoordinates>false</ShowCoordinates>
+        <ShowScaleBar>false</ShowScaleBar>
+        <ShowLegalDisclaimer>true</ShowLegalDisclaimer>
+      </Extension>
+      <ImageUrl>images/icons/print.png</ImageUrl>
+      <ImageClass/>
+      <Label>Quick Plot</Label>
+      <Tooltip>Click to create a plot quickly</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Redline</Name>
+      <Type>Redline</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <AutogenerateLayerNames>true</AutogenerateLayerNames>
+        <UseMapMessage>true</UseMapMessage>
+        <DataStoreFormat>
+        </DataStoreFormat>
+        <RedlineGeometryFormat>7</RedlineGeometryFormat>
+        <AutoCreateOnStartup>true</AutoCreateOnStartup>
+        <StylizationType>basic</StylizationType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>redline</ImageClass>
+      <Label>Redline</Label>
+      <Tooltip>Click to draw redline features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>RefreshMap</Name>
+      <Type>RefreshMap</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-refresh</ImageClass>
+      <Label>Refresh</Label>
+      <Tooltip>Click to redraw the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SaveMap</Name>
+      <Type>SaveMap</Type>
+      <Location/>
+      <Extension>
+        <Format>png</Format>
+        <Scale>
+        </Scale>
+        <ResourceId>
+        </ResourceId>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>file-save</ImageClass>
+      <Label>Save map</Label>
+      <Tooltip>Click to save the map as an image</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Scalebar</Name>
+      <Type>Scalebar</Type>
+      <Location/>
+      <Extension>
+        <Style>thin</Style>
+        <DisplaySystem>metric</DisplaySystem>
+        <MinWidth>100</MinWidth>
+        <MaxWidth>200</MaxWidth>
+        <Divisions>2</Divisions>
+        <SubDivisions>2</SubDivisions>
+        <ShowMinorMeasures>true</ShowMinorMeasures>
+        <AbbreviateLabel>true</AbbreviateLabel>
+        <SingleLine>false</SingleLine>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>ScalebarDual</Name>
+      <Type>ScalebarDual</Type>
+      <Location/>
+      <Extension>
+        <MaxWidth>300</MaxWidth>
+        <TopInUnits>ft</TopInUnits>
+        <TopOutUnits>mi</TopOutUnits>
+        <BottomInUnits>m</BottomInUnits>
+        <BottomOutUnits>km</BottomOutUnits>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Select</Name>
+      <Type>Select</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select</ImageClass>
+      <Label>Select</Label>
+      <Tooltip>Click to select features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>SelectionPanel</Name>
+      <Type>SelectionPanel</Type>
+      <Location/>
+      <Extension>
+        <PreviousImageUrl>
+        </PreviousImageUrl>
+        <NextImageUrl>
+        </NextImageUrl>
+        <ResultsPerPage>0</ResultsPerPage>
+        <SelectionRenderer>Fusion.Widget.SelectionPanel.SelectionRendererDefault</SelectionRenderer>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectPolygon</Name>
+      <Type>SelectPolygon</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-polygon</ImageClass>
+      <Label>Select Polygon</Label>
+      <Tooltip>Draw a polygon to perform a selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectRadius</Name>
+      <Type>SelectRadius</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <DefaultRadius>20</DefaultRadius>
+        <RadiusTooltipContainer>
+        </RadiusTooltipContainer>
+        <RadiusTooltipType>dynamic</RadiusTooltipType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-radius</ImageClass>
+      <Label>Select Radius</Label>
+      <Tooltip>Click to select within a radius</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectRadiusValue</Name>
+      <Type>SelectRadiusValue</Type>
+      <Location/>
+      <Extension>
+        <RadiusName>SelectRadius</RadiusName>
+        <Label>
+        </Label>
+        <ClassName>
+        </ClassName>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Select radius value</Label>
+      <Tooltip>enter the radius for the Select by Radius tool</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectWithin</Name>
+      <Type>SelectWithin</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <DisableIfSelectionEmpty>true</DisableIfSelectionEmpty>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-features</ImageClass>
+      <Label>Select within</Label>
+      <Tooltip>Click to select features within this selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>TaskPane</Name>
+      <Type>TaskPane</Type>
+      <Location/>
+      <Extension>
+        <InitialTask>
+        </InitialTask>
+        <MenuContainer>TaskMenu</MenuContainer>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Theme</Name>
+      <Type>Theme</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>theme</ImageClass>
+      <Label>Theme</Label>
+      <Tooltip>Click to create a themed layer</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ViewOptions</Name>
+      <Type>ViewOptions</Type>
+      <Location/>
+      <Extension>
+        <DisplayUnits>
+        </DisplayUnits>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>options</ImageClass>
+      <Label>Options</Label>
+      <Tooltip>Click to change the units displayed</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Zoom</Name>
+      <Type>Zoom</Type>
+      <Location/>
+      <Extension>
+        <Tolerance>5</Tolerance>
+        <Factor>2</Factor>
+        <Direction>in</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in</ImageClass>
+      <Label>Zoom Rectangle</Label>
+      <Tooltip>Click or click and drag on the map to zoom in</Tooltip>
+      <StatusText>Click or click and drag on the map to zoom in</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomToSelection</Name>
+      <Type>ZoomToSelection</Type>
+      <Location/>
+      <Extension>
+        <MaximumZoomDimension>-1</MaximumZoomDimension>
+        <ZoomFactor>2</ZoomFactor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-zoom</ImageClass>
+      <Label>Zoom Selection</Label>
+      <Tooltip>Click to zoom to the selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomIn</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>2</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in-fixed</ImageClass>
+      <Label>Zoom In</Label>
+      <Tooltip>Zoom in by a preset increment</Tooltip>
+      <StatusText>Zoom in by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomOut</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>0.5</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-out-fixed</ImageClass>
+      <Label>Zoom Out</Label>
+      <Tooltip>Zoom out by a preset increment</Tooltip>
+      <StatusText>Zoom out by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PreviousView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>previous</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-back</ImageClass>
+      <Label>Previous</Label>
+      <Tooltip>Go to previous view</Tooltip>
+      <StatusText>Go to previous view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>NextView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>next</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-forward</ImageClass>
+      <Label>Next</Label>
+      <Tooltip>Go to next view</Tooltip>
+      <StatusText>Go to next view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>tbBuffer</Name>
+      <Type>BufferPanel</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>buffer</ImageClass>
+      <Label>Buffer</Label>
+      <Tooltip>Measure distances and areas on the map</Tooltip>
+      <StatusText>Create buffers around the selected features</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Measure</Name>
+      <Type>Measure</Type>
+      <Location/>
+      <Extension>
+        <Type>both</Type>
+        <MeasureTooltipContainer>MeasureResult</MeasureTooltipContainer>
+        <MeasureTooltipType>dynamic</MeasureTooltipType>
+        <DistancePrecision>0</DistancePrecision>
+        <AreaPrecision>0</AreaPrecision>
+        <Units>meters</Units>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>measure</ImageClass>
+      <Label>Measure</Label>
+      <Tooltip>Measure</Tooltip>
+      <StatusText>Measure distances and areas on the map</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showOverview</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showOverviewMap()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Overview</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showTaskPane</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showTaskPane()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Task Pane</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showLegend</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showLegend()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Legend</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showSelectionPanel</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showSelectionPanel()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Selection Panel</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>statusCoordinates</Name>
+      <Type>CursorPosition</Type>
+      <Location/>
+      <Extension>
+        <Template>X: {x} {units}, Y: {y} {units}</Template>
+        <Precision>4</Precision>
+        <DisplayProjection>
+        </DisplayProjection>
+        <Units>dd</Units>
+        <EmptyText>&amp;nbsp;</EmptyText>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>statusSelection</Name>
+      <Type>SelectionInfo</Type>
+      <Location/>
+      <Extension>
+        <Template>{0} feature(s) selected on {1} layer(s)</Template>
+        <EmptyText>No selection</EmptyText>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>statusViewSize</Name>
+      <Type>ViewSize</Type>
+      <Location/>
+      <Extension>
+        <Units>Meters</Units>
+        <Precision>2</Precision>
+        <Template>{w} x {h} ({units})</Template>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomIn</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>2</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in-fixed</ImageClass>
+      <Label/>
+      <Tooltip>Zoom in by a preset increment</Tooltip>
+      <StatusText>Zoom in by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomOut</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>0.5</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-out-fixed</ImageClass>
+      <Label/>
+      <Tooltip>Zoom out by a preset increment</Tooltip>
+      <StatusText>Zoom out by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertPreviousView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>previous</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-back</ImageClass>
+      <Label/>
+      <Tooltip>Go to previous view</Tooltip>
+      <StatusText>Go to previous view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertNextView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>next</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-forward</ImageClass>
+      <Label/>
+      <Tooltip>Go to next view</Tooltip>
+      <StatusText>Go to next view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertSelect</Name>
+      <Type>Select</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select</ImageClass>
+      <Label/>
+      <Tooltip>Click to select features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertPan</Name>
+      <Type>Pan</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label/>
+      <Tooltip>Click and drag to pan the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoom</Name>
+      <Type>Zoom</Type>
+      <Location/>
+      <Extension>
+        <Tolerance>5</Tolerance>
+        <Factor>2</Factor>
+        <Direction>in</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in</ImageClass>
+      <Label/>
+      <Tooltip>Click or click and drag on the map to zoom in</Tooltip>
+      <StatusText>Click or click and drag on the map to zoom in</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertInitialMapView</Name>
+      <Type>InitialMapView</Type>
+      <Location/>
+      <Extension>
+        <ViewType>initial</ViewType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-full</ImageClass>
+      <Label/>
+      <Tooltip>Click to zoom to the full map extents</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomToSelection</Name>
+      <Type>ZoomToSelection</Type>
+      <Location/>
+      <Extension>
+        <MaximumZoomDimension>-1</MaximumZoomDimension>
+        <ZoomFactor>2</ZoomFactor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-zoom</ImageClass>
+      <Label/>
+      <Tooltip>Click to zoom to the selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+  </WidgetSet>
+  <Extension/>
+</ApplicationDefinition>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Aqua.ApplicationDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Aqua.ApplicationDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Aqua.ApplicationDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/LimeGold.ApplicationDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/LimeGold.ApplicationDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/LimeGold.ApplicationDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,1294 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ApplicationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd">
+  <Title>Sample - LimeGold</Title>
+  <TemplateUrl>fusion/templates/mapguide/limegold/index.html</TemplateUrl>
+  <MapSet>
+    <MapGroup id="MainMap">
+      <Map>
+        <Type>MapGuide</Type>
+        <SingleTile>True</SingleTile>
+        <Extension>
+          <ResourceId>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</ResourceId>
+          <SelectionColor>0x0000ffff</SelectionColor>
+          <SelectionAsOverlay>true</SelectionAsOverlay>
+        </Extension>
+      </Map>
+    </MapGroup>
+  </MapSet>
+  <WidgetSet>
+    <Container xsi:type="UiItemContainerType">
+      <Name>Toolbar</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Print</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>QuickPlot</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>RefreshMap</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Maptip</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>SelectRadius</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>SelectPolygon</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ClearSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ViewOptions</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>About</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Help</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>ToolbarSecondary</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Select</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Pan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Zoom</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomOut</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>InitialMapView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomToSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>PreviousView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>NextView</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>ToolbarVertical</Name>
+      <Type>Toolbar</Type>
+      <Position>left</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertSelect</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertPan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoom</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomOut</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertInitialMapView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomToSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertPreviousView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertNextView</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>FileMenu</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>MapMenu</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>BasemapSwitcher</Widget>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>View</Label>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showOverview</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showTaskPane</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showLegend</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showSelectionPanel</Widget>
+        </Item>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>Statusbar</Name>
+      <Type>Splitterbar</Type>
+      <Position>bottom</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusCoordinates</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>EditableScale</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusViewSize</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>MapContextMenu</Name>
+      <Type>ContextMenu</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>RefreshMap</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Pan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Zoom</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomOut</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>Zoom</Label>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Select</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ClearSelection</Widget>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>Select More</Label>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ViewOptions</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Help</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>About</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>TaskMenu</Name>
+      <Type>ContextMenu</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+    </Container>
+    <MapWidget>
+      <Name>Map</Name>
+      <Type>Map</Type>
+      <Extension>
+        <MenuContainer>MapContextMenu</MenuContainer>
+      </Extension>
+      <MapId>MainMap</MapId>
+    </MapWidget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>About</Name>
+      <Type>About</Type>
+      <Location/>
+      <Extension>
+        <AboutURL>widgets/About/About.html</AboutURL>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>about</ImageClass>
+      <Label>About</Label>
+      <Tooltip>Click to show information about this application</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>ActivityIndicator</Name>
+      <Type>ActivityIndicator</Type>
+      <Location/>
+      <Extension>
+        <ElementId>
+        </ElementId>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>BasemapSwitcher</Name>
+      <Type>BasemapSwitcher</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>options</ImageClass>
+      <Label>External Providers</Label>
+      <Tooltip>Click to change the basemap</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>BufferPanel</Name>
+      <Type>BufferPanel</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>buffer</ImageClass>
+      <Label>Buffer</Label>
+      <Tooltip>Click to create a buffer</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>CenterSelection</Name>
+      <Type>CenterSelection</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-centre</ImageClass>
+      <Label>Center selection</Label>
+      <Tooltip>Click to center the map on the current selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ClearSelection</Name>
+      <Type>ClearSelection</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-clear</ImageClass>
+      <Label>Clear Selection</Label>
+      <Tooltip>Click to clear the current selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ColorPicker</Name>
+      <Type>ColorPicker</Type>
+      <Location/>
+      <Extension>
+        <ColorInputId>
+        </ColorInputId>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Color picker</Label>
+      <Tooltip>Use this tool to select a color</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>CoordinateTracker</Name>
+      <Type>CoordinateTracker</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <Projection>
+        </Projection>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>coordinate-tracker</ImageClass>
+      <Label>Coordinate Tracker</Label>
+      <Tooltip>Click to view mouse coordinates in various projections</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>EditableScale</Name>
+      <Type>EditableScale</Type>
+      <Location/>
+      <Extension>
+        <Precision>4</Precision>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>FeatureInfo</Name>
+      <Type>FeatureInfo</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>feature-info</ImageClass>
+      <Label>Feature Info</Label>
+      <Tooltip>Click to display selected feature info</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Geolocation</Name>
+      <Type>Geolocation</Type>
+      <Location/>
+      <Extension>
+        <ZoomLevel>
+        </ZoomLevel>
+        <EnableHighAccuracy>false</EnableHighAccuracy>
+        <Timeout>5000</Timeout>
+        <MaximumAge>0</MaximumAge>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>geolocation</ImageClass>
+      <Label>My Location</Label>
+      <Tooltip>Click to zoom to your current geographic location</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>GoogleStreetViewer</Name>
+      <Type>GoogleStreetViewer</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <SymbolLayerName>GoogleStreetViewerSymbolLayer</SymbolLayerName>
+        <ShowDirection>true</ShowDirection>
+        <DirectionLength>22</DirectionLength>
+        <AdditionalParameter>
+        </AdditionalParameter>
+      </Extension>
+      <ImageUrl>../../../widgets/GoogleStreetViewer/GoogleStreetView.png</ImageUrl>
+      <ImageClass/>
+      <Label>Google StreetView</Label>
+      <Tooltip>Click to show Google StreetView</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Help</Name>
+      <Type>Help</Type>
+      <Location/>
+      <Extension>
+        <Target>HelpWindow</Target>
+        <Url>widgets/Help/Help.html</Url>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>help</ImageClass>
+      <Label>Help</Label>
+      <Tooltip>Click to get help</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>InitialMapView</Name>
+      <Type>InitialMapView</Type>
+      <Location/>
+      <Extension>
+        <ViewType>initial</ViewType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-full</ImageClass>
+      <Label>Zoom Extents</Label>
+      <Tooltip>Click to zoom to the full map extents</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Legend</Name>
+      <Type>Legend</Type>
+      <Location/>
+      <Extension>
+        <HideInvisibleLayers>true</HideInvisibleLayers>
+        <ShowRootFolder>false</ShowRootFolder>
+        <ShowMapFolder>false</ShowMapFolder>
+        <LayerRasterIcon>images/icons/legend-raster.png</LayerRasterIcon>
+        <LayerDWFIcon>images/icons/legend-DWF.png</LayerDWFIcon>
+        <LayerThemeIcon>images/icons/legend-theme.png</LayerThemeIcon>
+        <DisabledLayerIcon>images/icons/legend-layer.png</DisabledLayerIcon>
+        <LayerInfoIcon>images/icons/tree_layer_info.png</LayerInfoIcon>
+        <GroupInfoIcon>images/icons/tree_group_info.png</GroupInfoIcon>
+        <RootFolderIcon>images/icons/legend-map.png</RootFolderIcon>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>LinkToView</Name>
+      <Type>LinkToView</Type>
+      <Location/>
+      <Extension/>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>MapMenu</Name>
+      <Type>MapMenu</Type>
+      <Location/>
+      <Extension>
+        <Folder>
+        </Folder>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>legend-map</ImageClass>
+      <Label>Maps</Label>
+      <Tooltip>Choose a map theme</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Maptip</Name>
+      <Type>Maptip</Type>
+      <Location/>
+      <Extension>
+        <Delay>350</Delay>
+        <Layer>
+        </Layer>
+        <Tolerance>2</Tolerance>
+        <Target>MaptipWindow</Target>
+        <WinFeatures>menubar=no,location=no,resizable=no,status=no</WinFeatures>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>maptip</ImageClass>
+      <Label>Maptip</Label>
+      <Tooltip>Click to Enable/Disable get information about features from Server</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Navigator</Name>
+      <Type>Navigator</Type>
+      <Location/>
+      <Extension/>
+    </Widget>
+    <Widget>
+      <Name>OverviewMap</Name>
+      <Type>OverviewMap</Type>
+      <Location/>
+      <Extension>
+        <MapId>
+        </MapId>
+        <MinRatio>32</MinRatio>
+        <MaxRatio>128</MaxRatio>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Pan</Name>
+      <Type>Pan</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label>Pan</Label>
+      <Tooltip>Click and drag to pan the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PanOnClick</Name>
+      <Type>PanOnClick</Type>
+      <Location/>
+      <Extension>
+        <Percentage>75</Percentage>
+        <Direction>none</Direction>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label/>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PanQuery</Name>
+      <Type>PanQuery</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label>Pan query</Label>
+      <Tooltip>Drag the mouse to pan, click to query</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Print</Name>
+      <Type>Print</Type>
+      <Location/>
+      <Extension>
+        <ShowPrintUI>true</ShowPrintUI>
+        <ShowTitle>false</ShowTitle>
+        <PageTitle>
+        </PageTitle>
+        <ShowLegend>false</ShowLegend>
+        <ShowNorthArrow>false</ShowNorthArrow>
+        <ImageBaseUrl>
+        </ImageBaseUrl>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>file-print</ImageClass>
+      <Label>Print</Label>
+      <Tooltip>Print the current map view</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Query</Name>
+      <Type>Query</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>query</ImageClass>
+      <Label>Query</Label>
+      <Tooltip>Click to execute a custom query</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>QuickPlot</Name>
+      <Type>QuickPlot</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <RememberPlotOptions>false</RememberPlotOptions>
+        <ShowCoordinateLabels>true</ShowCoordinateLabels>
+        <ShowSubTitle>true</ShowSubTitle>
+        <DefaultDpi>96</DefaultDpi>
+        <PaperListEntry>
+        </PaperListEntry>
+        <ScaleListEntry>
+        </ScaleListEntry>
+        <DefaultMargin>25.4,12.7,12.7,12.7</DefaultMargin>
+        <Disclaimer>The materials available at this web site are for informational purposes only and do not constitute a legal document.</Disclaimer>
+        <AllowDisclaimerToggle>true</AllowDisclaimerToggle>
+        <ShowLegend>false</ShowLegend>
+        <ShowNorthArrow>false</ShowNorthArrow>
+        <ShowCoordinates>false</ShowCoordinates>
+        <ShowScaleBar>false</ShowScaleBar>
+        <ShowLegalDisclaimer>true</ShowLegalDisclaimer>
+      </Extension>
+      <ImageUrl>images/icons/print.png</ImageUrl>
+      <ImageClass/>
+      <Label>Quick Plot</Label>
+      <Tooltip>Click to create a plot quickly</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Redline</Name>
+      <Type>Redline</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <AutogenerateLayerNames>true</AutogenerateLayerNames>
+        <UseMapMessage>true</UseMapMessage>
+        <DataStoreFormat>
+        </DataStoreFormat>
+        <RedlineGeometryFormat>7</RedlineGeometryFormat>
+        <AutoCreateOnStartup>true</AutoCreateOnStartup>
+        <StylizationType>basic</StylizationType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>redline</ImageClass>
+      <Label>Redline</Label>
+      <Tooltip>Click to draw redline features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>RefreshMap</Name>
+      <Type>RefreshMap</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-refresh</ImageClass>
+      <Label>Refresh</Label>
+      <Tooltip>Click to redraw the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SaveMap</Name>
+      <Type>SaveMap</Type>
+      <Location/>
+      <Extension>
+        <Format>png</Format>
+        <Scale>
+        </Scale>
+        <ResourceId>
+        </ResourceId>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>file-save</ImageClass>
+      <Label>Save map</Label>
+      <Tooltip>Click to save the map as an image</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Scalebar</Name>
+      <Type>Scalebar</Type>
+      <Location/>
+      <Extension>
+        <Style>thin</Style>
+        <DisplaySystem>metric</DisplaySystem>
+        <MinWidth>100</MinWidth>
+        <MaxWidth>200</MaxWidth>
+        <Divisions>2</Divisions>
+        <SubDivisions>2</SubDivisions>
+        <ShowMinorMeasures>true</ShowMinorMeasures>
+        <AbbreviateLabel>true</AbbreviateLabel>
+        <SingleLine>false</SingleLine>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>ScalebarDual</Name>
+      <Type>ScalebarDual</Type>
+      <Location/>
+      <Extension>
+        <MaxWidth>300</MaxWidth>
+        <TopInUnits>ft</TopInUnits>
+        <TopOutUnits>mi</TopOutUnits>
+        <BottomInUnits>m</BottomInUnits>
+        <BottomOutUnits>km</BottomOutUnits>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Select</Name>
+      <Type>Select</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select</ImageClass>
+      <Label>Select</Label>
+      <Tooltip>Click to select features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>SelectionPanel</Name>
+      <Type>SelectionPanel</Type>
+      <Location/>
+      <Extension>
+        <PreviousImageUrl>
+        </PreviousImageUrl>
+        <NextImageUrl>
+        </NextImageUrl>
+        <ResultsPerPage>0</ResultsPerPage>
+        <SelectionRenderer>Fusion.Widget.SelectionPanel.SelectionRendererDefault</SelectionRenderer>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectPolygon</Name>
+      <Type>SelectPolygon</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-polygon</ImageClass>
+      <Label>Select Polygon</Label>
+      <Tooltip>Draw a polygon to perform a selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectRadius</Name>
+      <Type>SelectRadius</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <DefaultRadius>20</DefaultRadius>
+        <RadiusTooltipContainer>
+        </RadiusTooltipContainer>
+        <RadiusTooltipType>dynamic</RadiusTooltipType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-radius</ImageClass>
+      <Label>Select Radius</Label>
+      <Tooltip>Click to select within a radius</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectRadiusValue</Name>
+      <Type>SelectRadiusValue</Type>
+      <Location/>
+      <Extension>
+        <RadiusName>SelectRadius</RadiusName>
+        <Label>
+        </Label>
+        <ClassName>
+        </ClassName>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Select radius value</Label>
+      <Tooltip>enter the radius for the Select by Radius tool</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectWithin</Name>
+      <Type>SelectWithin</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <DisableIfSelectionEmpty>true</DisableIfSelectionEmpty>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-features</ImageClass>
+      <Label>Select within</Label>
+      <Tooltip>Click to select features within this selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>TaskPane</Name>
+      <Type>TaskPane</Type>
+      <Location/>
+      <Extension>
+        <InitialTask>
+        </InitialTask>
+        <MenuContainer>TaskMenu</MenuContainer>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Theme</Name>
+      <Type>Theme</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>theme</ImageClass>
+      <Label>Theme</Label>
+      <Tooltip>Click to create a themed layer</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ViewOptions</Name>
+      <Type>ViewOptions</Type>
+      <Location/>
+      <Extension>
+        <DisplayUnits>
+        </DisplayUnits>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>options</ImageClass>
+      <Label>Options</Label>
+      <Tooltip>Click to change the units displayed</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Zoom</Name>
+      <Type>Zoom</Type>
+      <Location/>
+      <Extension>
+        <Tolerance>5</Tolerance>
+        <Factor>2</Factor>
+        <Direction>in</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in</ImageClass>
+      <Label>Zoom Rectangle</Label>
+      <Tooltip>Click or click and drag on the map to zoom in</Tooltip>
+      <StatusText>Click or click and drag on the map to zoom in</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomToSelection</Name>
+      <Type>ZoomToSelection</Type>
+      <Location/>
+      <Extension>
+        <MaximumZoomDimension>-1</MaximumZoomDimension>
+        <ZoomFactor>2</ZoomFactor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-zoom</ImageClass>
+      <Label>Zoom Selection</Label>
+      <Tooltip>Click to zoom to the selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomIn</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>2</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in-fixed</ImageClass>
+      <Label>Zoom In</Label>
+      <Tooltip>Zoom in by a preset increment</Tooltip>
+      <StatusText>Zoom in by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomOut</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>0.5</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-out-fixed</ImageClass>
+      <Label>Zoom Out</Label>
+      <Tooltip>Zoom out by a preset increment</Tooltip>
+      <StatusText>Zoom out by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PreviousView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>previous</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-back</ImageClass>
+      <Label>Previous</Label>
+      <Tooltip>Go to previous view</Tooltip>
+      <StatusText>Go to previous view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>NextView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>next</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-forward</ImageClass>
+      <Label>Next</Label>
+      <Tooltip>Go to next view</Tooltip>
+      <StatusText>Go to next view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>tbBuffer</Name>
+      <Type>BufferPanel</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>buffer</ImageClass>
+      <Label>Buffer</Label>
+      <Tooltip>Measure distances and areas on the map</Tooltip>
+      <StatusText>Create buffers around the selected features</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Measure</Name>
+      <Type>Measure</Type>
+      <Location/>
+      <Extension>
+        <Type>both</Type>
+        <MeasureTooltipContainer>MeasureResult</MeasureTooltipContainer>
+        <MeasureTooltipType>dynamic</MeasureTooltipType>
+        <DistancePrecision>0</DistancePrecision>
+        <AreaPrecision>0</AreaPrecision>
+        <Units>meters</Units>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>measure</ImageClass>
+      <Label>Measure</Label>
+      <Tooltip>Measure</Tooltip>
+      <StatusText>Measure distances and areas on the map</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showOverview</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showOverviewMap()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Overview</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showTaskPane</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showTaskPane()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Task Pane</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showLegend</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showLegend()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Legend</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showSelectionPanel</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showSelectionPanel()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Selection Panel</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>statusCoordinates</Name>
+      <Type>CursorPosition</Type>
+      <Location/>
+      <Extension>
+        <Template>X: {x} {units}, Y: {y} {units}</Template>
+        <Precision>4</Precision>
+        <DisplayProjection>
+        </DisplayProjection>
+        <Units>dd</Units>
+        <EmptyText>&amp;nbsp;</EmptyText>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>statusSelection</Name>
+      <Type>SelectionInfo</Type>
+      <Location/>
+      <Extension>
+        <Template>{0} feature(s) selected on {1} layer(s)</Template>
+        <EmptyText>No selection</EmptyText>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>statusViewSize</Name>
+      <Type>ViewSize</Type>
+      <Location/>
+      <Extension>
+        <Units>Meters</Units>
+        <Precision>2</Precision>
+        <Template>{w} x {h} ({units})</Template>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomIn</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>2</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in-fixed</ImageClass>
+      <Label/>
+      <Tooltip>Zoom in by a preset increment</Tooltip>
+      <StatusText>Zoom in by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomOut</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>0.5</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-out-fixed</ImageClass>
+      <Label/>
+      <Tooltip>Zoom out by a preset increment</Tooltip>
+      <StatusText>Zoom out by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertPreviousView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>previous</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-back</ImageClass>
+      <Label/>
+      <Tooltip>Go to previous view</Tooltip>
+      <StatusText>Go to previous view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertNextView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>next</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-forward</ImageClass>
+      <Label/>
+      <Tooltip>Go to next view</Tooltip>
+      <StatusText>Go to next view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertSelect</Name>
+      <Type>Select</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select</ImageClass>
+      <Label/>
+      <Tooltip>Click to select features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertPan</Name>
+      <Type>Pan</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label/>
+      <Tooltip>Click and drag to pan the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoom</Name>
+      <Type>Zoom</Type>
+      <Location/>
+      <Extension>
+        <Tolerance>5</Tolerance>
+        <Factor>2</Factor>
+        <Direction>in</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in</ImageClass>
+      <Label/>
+      <Tooltip>Click or click and drag on the map to zoom in</Tooltip>
+      <StatusText>Click or click and drag on the map to zoom in</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertInitialMapView</Name>
+      <Type>InitialMapView</Type>
+      <Location/>
+      <Extension>
+        <ViewType>initial</ViewType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-full</ImageClass>
+      <Label/>
+      <Tooltip>Click to zoom to the full map extents</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomToSelection</Name>
+      <Type>ZoomToSelection</Type>
+      <Location/>
+      <Extension>
+        <MaximumZoomDimension>-1</MaximumZoomDimension>
+        <ZoomFactor>2</ZoomFactor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-zoom</ImageClass>
+      <Label/>
+      <Tooltip>Click to zoom to the selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+  </WidgetSet>
+  <Extension/>
+</ApplicationDefinition>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/LimeGold.ApplicationDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/LimeGold.ApplicationDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/LimeGold.ApplicationDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Maroon.ApplicationDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Maroon.ApplicationDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Maroon.ApplicationDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,1294 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ApplicationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd">
+  <Title>Sample - Maroon</Title>
+  <TemplateUrl>fusion/templates/mapguide/maroon/index.html</TemplateUrl>
+  <MapSet>
+    <MapGroup id="MainMap">
+      <Map>
+        <Type>MapGuide</Type>
+        <SingleTile>True</SingleTile>
+        <Extension>
+          <ResourceId>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</ResourceId>
+          <SelectionColor>0x0000ffff</SelectionColor>
+          <SelectionAsOverlay>true</SelectionAsOverlay>
+        </Extension>
+      </Map>
+    </MapGroup>
+  </MapSet>
+  <WidgetSet>
+    <Container xsi:type="UiItemContainerType">
+      <Name>Toolbar</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Print</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>QuickPlot</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>RefreshMap</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Maptip</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>SelectRadius</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>SelectPolygon</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ClearSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ViewOptions</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>About</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Help</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>ToolbarSecondary</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Select</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Pan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Zoom</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomOut</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>InitialMapView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomToSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>PreviousView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>NextView</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>ToolbarVertical</Name>
+      <Type>Toolbar</Type>
+      <Position>left</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertSelect</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertPan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoom</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomOut</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertInitialMapView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomToSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertPreviousView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertNextView</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>FileMenu</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>MapMenu</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>BasemapSwitcher</Widget>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>View</Label>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showOverview</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showTaskPane</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showLegend</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showSelectionPanel</Widget>
+        </Item>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>Statusbar</Name>
+      <Type>Splitterbar</Type>
+      <Position>bottom</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusCoordinates</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>EditableScale</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusViewSize</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>MapContextMenu</Name>
+      <Type>ContextMenu</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>RefreshMap</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Pan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Zoom</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomOut</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>Zoom</Label>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Select</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ClearSelection</Widget>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>Select More</Label>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ViewOptions</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Help</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>About</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>TaskMenu</Name>
+      <Type>ContextMenu</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+    </Container>
+    <MapWidget>
+      <Name>Map</Name>
+      <Type>Map</Type>
+      <Extension>
+        <MenuContainer>MapContextMenu</MenuContainer>
+      </Extension>
+      <MapId>MainMap</MapId>
+    </MapWidget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>About</Name>
+      <Type>About</Type>
+      <Location/>
+      <Extension>
+        <AboutURL>widgets/About/About.html</AboutURL>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>about</ImageClass>
+      <Label>About</Label>
+      <Tooltip>Click to show information about this application</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>ActivityIndicator</Name>
+      <Type>ActivityIndicator</Type>
+      <Location/>
+      <Extension>
+        <ElementId>
+        </ElementId>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>BasemapSwitcher</Name>
+      <Type>BasemapSwitcher</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>options</ImageClass>
+      <Label>External Providers</Label>
+      <Tooltip>Click to change the basemap</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>BufferPanel</Name>
+      <Type>BufferPanel</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>buffer</ImageClass>
+      <Label>Buffer</Label>
+      <Tooltip>Click to create a buffer</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>CenterSelection</Name>
+      <Type>CenterSelection</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-centre</ImageClass>
+      <Label>Center selection</Label>
+      <Tooltip>Click to center the map on the current selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ClearSelection</Name>
+      <Type>ClearSelection</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-clear</ImageClass>
+      <Label>Clear Selection</Label>
+      <Tooltip>Click to clear the current selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ColorPicker</Name>
+      <Type>ColorPicker</Type>
+      <Location/>
+      <Extension>
+        <ColorInputId>
+        </ColorInputId>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Color picker</Label>
+      <Tooltip>Use this tool to select a color</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>CoordinateTracker</Name>
+      <Type>CoordinateTracker</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <Projection>
+        </Projection>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>coordinate-tracker</ImageClass>
+      <Label>Coordinate Tracker</Label>
+      <Tooltip>Click to view mouse coordinates in various projections</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>EditableScale</Name>
+      <Type>EditableScale</Type>
+      <Location/>
+      <Extension>
+        <Precision>4</Precision>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>FeatureInfo</Name>
+      <Type>FeatureInfo</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>feature-info</ImageClass>
+      <Label>Feature Info</Label>
+      <Tooltip>Click to display selected feature info</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Geolocation</Name>
+      <Type>Geolocation</Type>
+      <Location/>
+      <Extension>
+        <ZoomLevel>
+        </ZoomLevel>
+        <EnableHighAccuracy>false</EnableHighAccuracy>
+        <Timeout>5000</Timeout>
+        <MaximumAge>0</MaximumAge>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>geolocation</ImageClass>
+      <Label>My Location</Label>
+      <Tooltip>Click to zoom to your current geographic location</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>GoogleStreetViewer</Name>
+      <Type>GoogleStreetViewer</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <SymbolLayerName>GoogleStreetViewerSymbolLayer</SymbolLayerName>
+        <ShowDirection>true</ShowDirection>
+        <DirectionLength>22</DirectionLength>
+        <AdditionalParameter>
+        </AdditionalParameter>
+      </Extension>
+      <ImageUrl>../../../widgets/GoogleStreetViewer/GoogleStreetView.png</ImageUrl>
+      <ImageClass/>
+      <Label>Google StreetView</Label>
+      <Tooltip>Click to show Google StreetView</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Help</Name>
+      <Type>Help</Type>
+      <Location/>
+      <Extension>
+        <Target>HelpWindow</Target>
+        <Url>widgets/Help/Help.html</Url>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>help</ImageClass>
+      <Label>Help</Label>
+      <Tooltip>Click to get help</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>InitialMapView</Name>
+      <Type>InitialMapView</Type>
+      <Location/>
+      <Extension>
+        <ViewType>initial</ViewType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-full</ImageClass>
+      <Label>Zoom Extents</Label>
+      <Tooltip>Click to zoom to the full map extents</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Legend</Name>
+      <Type>Legend</Type>
+      <Location/>
+      <Extension>
+        <HideInvisibleLayers>true</HideInvisibleLayers>
+        <ShowRootFolder>false</ShowRootFolder>
+        <ShowMapFolder>false</ShowMapFolder>
+        <LayerRasterIcon>images/icons/legend-raster.png</LayerRasterIcon>
+        <LayerDWFIcon>images/icons/legend-DWF.png</LayerDWFIcon>
+        <LayerThemeIcon>images/icons/legend-theme.png</LayerThemeIcon>
+        <DisabledLayerIcon>images/icons/legend-layer.png</DisabledLayerIcon>
+        <LayerInfoIcon>images/icons/tree_layer_info.png</LayerInfoIcon>
+        <GroupInfoIcon>images/icons/tree_group_info.png</GroupInfoIcon>
+        <RootFolderIcon>images/icons/legend-map.png</RootFolderIcon>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>LinkToView</Name>
+      <Type>LinkToView</Type>
+      <Location/>
+      <Extension/>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>MapMenu</Name>
+      <Type>MapMenu</Type>
+      <Location/>
+      <Extension>
+        <Folder>
+        </Folder>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>legend-map</ImageClass>
+      <Label>Maps</Label>
+      <Tooltip>Choose a map theme</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Maptip</Name>
+      <Type>Maptip</Type>
+      <Location/>
+      <Extension>
+        <Delay>350</Delay>
+        <Layer>
+        </Layer>
+        <Tolerance>2</Tolerance>
+        <Target>MaptipWindow</Target>
+        <WinFeatures>menubar=no,location=no,resizable=no,status=no</WinFeatures>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>maptip</ImageClass>
+      <Label>Maptip</Label>
+      <Tooltip>Click to Enable/Disable get information about features from Server</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Navigator</Name>
+      <Type>Navigator</Type>
+      <Location/>
+      <Extension/>
+    </Widget>
+    <Widget>
+      <Name>OverviewMap</Name>
+      <Type>OverviewMap</Type>
+      <Location/>
+      <Extension>
+        <MapId>
+        </MapId>
+        <MinRatio>32</MinRatio>
+        <MaxRatio>128</MaxRatio>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Pan</Name>
+      <Type>Pan</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label>Pan</Label>
+      <Tooltip>Click and drag to pan the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PanOnClick</Name>
+      <Type>PanOnClick</Type>
+      <Location/>
+      <Extension>
+        <Percentage>75</Percentage>
+        <Direction>none</Direction>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label/>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PanQuery</Name>
+      <Type>PanQuery</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label>Pan query</Label>
+      <Tooltip>Drag the mouse to pan, click to query</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Print</Name>
+      <Type>Print</Type>
+      <Location/>
+      <Extension>
+        <ShowPrintUI>true</ShowPrintUI>
+        <ShowTitle>false</ShowTitle>
+        <PageTitle>
+        </PageTitle>
+        <ShowLegend>false</ShowLegend>
+        <ShowNorthArrow>false</ShowNorthArrow>
+        <ImageBaseUrl>
+        </ImageBaseUrl>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>file-print</ImageClass>
+      <Label>Print</Label>
+      <Tooltip>Print the current map view</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Query</Name>
+      <Type>Query</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>query</ImageClass>
+      <Label>Query</Label>
+      <Tooltip>Click to execute a custom query</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>QuickPlot</Name>
+      <Type>QuickPlot</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <RememberPlotOptions>false</RememberPlotOptions>
+        <ShowCoordinateLabels>true</ShowCoordinateLabels>
+        <ShowSubTitle>true</ShowSubTitle>
+        <DefaultDpi>96</DefaultDpi>
+        <PaperListEntry>
+        </PaperListEntry>
+        <ScaleListEntry>
+        </ScaleListEntry>
+        <DefaultMargin>25.4,12.7,12.7,12.7</DefaultMargin>
+        <Disclaimer>The materials available at this web site are for informational purposes only and do not constitute a legal document.</Disclaimer>
+        <AllowDisclaimerToggle>true</AllowDisclaimerToggle>
+        <ShowLegend>false</ShowLegend>
+        <ShowNorthArrow>false</ShowNorthArrow>
+        <ShowCoordinates>false</ShowCoordinates>
+        <ShowScaleBar>false</ShowScaleBar>
+        <ShowLegalDisclaimer>true</ShowLegalDisclaimer>
+      </Extension>
+      <ImageUrl>images/icons/print.png</ImageUrl>
+      <ImageClass/>
+      <Label>Quick Plot</Label>
+      <Tooltip>Click to create a plot quickly</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Redline</Name>
+      <Type>Redline</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <AutogenerateLayerNames>true</AutogenerateLayerNames>
+        <UseMapMessage>true</UseMapMessage>
+        <DataStoreFormat>
+        </DataStoreFormat>
+        <RedlineGeometryFormat>7</RedlineGeometryFormat>
+        <AutoCreateOnStartup>true</AutoCreateOnStartup>
+        <StylizationType>basic</StylizationType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>redline</ImageClass>
+      <Label>Redline</Label>
+      <Tooltip>Click to draw redline features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>RefreshMap</Name>
+      <Type>RefreshMap</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-refresh</ImageClass>
+      <Label>Refresh</Label>
+      <Tooltip>Click to redraw the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SaveMap</Name>
+      <Type>SaveMap</Type>
+      <Location/>
+      <Extension>
+        <Format>png</Format>
+        <Scale>
+        </Scale>
+        <ResourceId>
+        </ResourceId>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>file-save</ImageClass>
+      <Label>Save map</Label>
+      <Tooltip>Click to save the map as an image</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Scalebar</Name>
+      <Type>Scalebar</Type>
+      <Location/>
+      <Extension>
+        <Style>thin</Style>
+        <DisplaySystem>metric</DisplaySystem>
+        <MinWidth>100</MinWidth>
+        <MaxWidth>200</MaxWidth>
+        <Divisions>2</Divisions>
+        <SubDivisions>2</SubDivisions>
+        <ShowMinorMeasures>true</ShowMinorMeasures>
+        <AbbreviateLabel>true</AbbreviateLabel>
+        <SingleLine>false</SingleLine>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>ScalebarDual</Name>
+      <Type>ScalebarDual</Type>
+      <Location/>
+      <Extension>
+        <MaxWidth>300</MaxWidth>
+        <TopInUnits>ft</TopInUnits>
+        <TopOutUnits>mi</TopOutUnits>
+        <BottomInUnits>m</BottomInUnits>
+        <BottomOutUnits>km</BottomOutUnits>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Select</Name>
+      <Type>Select</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select</ImageClass>
+      <Label>Select</Label>
+      <Tooltip>Click to select features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>SelectionPanel</Name>
+      <Type>SelectionPanel</Type>
+      <Location/>
+      <Extension>
+        <PreviousImageUrl>
+        </PreviousImageUrl>
+        <NextImageUrl>
+        </NextImageUrl>
+        <ResultsPerPage>0</ResultsPerPage>
+        <SelectionRenderer>Fusion.Widget.SelectionPanel.SelectionRendererDefault</SelectionRenderer>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectPolygon</Name>
+      <Type>SelectPolygon</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-polygon</ImageClass>
+      <Label>Select Polygon</Label>
+      <Tooltip>Draw a polygon to perform a selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectRadius</Name>
+      <Type>SelectRadius</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <DefaultRadius>20</DefaultRadius>
+        <RadiusTooltipContainer>
+        </RadiusTooltipContainer>
+        <RadiusTooltipType>dynamic</RadiusTooltipType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-radius</ImageClass>
+      <Label>Select Radius</Label>
+      <Tooltip>Click to select within a radius</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectRadiusValue</Name>
+      <Type>SelectRadiusValue</Type>
+      <Location/>
+      <Extension>
+        <RadiusName>SelectRadius</RadiusName>
+        <Label>
+        </Label>
+        <ClassName>
+        </ClassName>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Select radius value</Label>
+      <Tooltip>enter the radius for the Select by Radius tool</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectWithin</Name>
+      <Type>SelectWithin</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <DisableIfSelectionEmpty>true</DisableIfSelectionEmpty>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-features</ImageClass>
+      <Label>Select within</Label>
+      <Tooltip>Click to select features within this selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>TaskPane</Name>
+      <Type>TaskPane</Type>
+      <Location/>
+      <Extension>
+        <InitialTask>
+        </InitialTask>
+        <MenuContainer>TaskMenu</MenuContainer>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Theme</Name>
+      <Type>Theme</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>theme</ImageClass>
+      <Label>Theme</Label>
+      <Tooltip>Click to create a themed layer</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ViewOptions</Name>
+      <Type>ViewOptions</Type>
+      <Location/>
+      <Extension>
+        <DisplayUnits>
+        </DisplayUnits>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>options</ImageClass>
+      <Label>Options</Label>
+      <Tooltip>Click to change the units displayed</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Zoom</Name>
+      <Type>Zoom</Type>
+      <Location/>
+      <Extension>
+        <Tolerance>5</Tolerance>
+        <Factor>2</Factor>
+        <Direction>in</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in</ImageClass>
+      <Label>Zoom Rectangle</Label>
+      <Tooltip>Click or click and drag on the map to zoom in</Tooltip>
+      <StatusText>Click or click and drag on the map to zoom in</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomToSelection</Name>
+      <Type>ZoomToSelection</Type>
+      <Location/>
+      <Extension>
+        <MaximumZoomDimension>-1</MaximumZoomDimension>
+        <ZoomFactor>2</ZoomFactor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-zoom</ImageClass>
+      <Label>Zoom Selection</Label>
+      <Tooltip>Click to zoom to the selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomIn</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>2</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in-fixed</ImageClass>
+      <Label>Zoom In</Label>
+      <Tooltip>Zoom in by a preset increment</Tooltip>
+      <StatusText>Zoom in by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomOut</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>0.5</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-out-fixed</ImageClass>
+      <Label>Zoom Out</Label>
+      <Tooltip>Zoom out by a preset increment</Tooltip>
+      <StatusText>Zoom out by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PreviousView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>previous</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-back</ImageClass>
+      <Label>Previous</Label>
+      <Tooltip>Go to previous view</Tooltip>
+      <StatusText>Go to previous view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>NextView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>next</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-forward</ImageClass>
+      <Label>Next</Label>
+      <Tooltip>Go to next view</Tooltip>
+      <StatusText>Go to next view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>tbBuffer</Name>
+      <Type>BufferPanel</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>buffer</ImageClass>
+      <Label>Buffer</Label>
+      <Tooltip>Measure distances and areas on the map</Tooltip>
+      <StatusText>Create buffers around the selected features</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Measure</Name>
+      <Type>Measure</Type>
+      <Location/>
+      <Extension>
+        <Type>both</Type>
+        <MeasureTooltipContainer>MeasureResult</MeasureTooltipContainer>
+        <MeasureTooltipType>dynamic</MeasureTooltipType>
+        <DistancePrecision>0</DistancePrecision>
+        <AreaPrecision>0</AreaPrecision>
+        <Units>meters</Units>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>measure</ImageClass>
+      <Label>Measure</Label>
+      <Tooltip>Measure</Tooltip>
+      <StatusText>Measure distances and areas on the map</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showOverview</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showOverviewMap()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Overview</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showTaskPane</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showTaskPane()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Task Pane</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showLegend</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showLegend()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Legend</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showSelectionPanel</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showSelectionPanel()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Selection Panel</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>statusCoordinates</Name>
+      <Type>CursorPosition</Type>
+      <Location/>
+      <Extension>
+        <Template>X: {x} {units}, Y: {y} {units}</Template>
+        <Precision>4</Precision>
+        <DisplayProjection>
+        </DisplayProjection>
+        <Units>dd</Units>
+        <EmptyText>&amp;nbsp;</EmptyText>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>statusSelection</Name>
+      <Type>SelectionInfo</Type>
+      <Location/>
+      <Extension>
+        <Template>{0} feature(s) selected on {1} layer(s)</Template>
+        <EmptyText>No selection</EmptyText>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>statusViewSize</Name>
+      <Type>ViewSize</Type>
+      <Location/>
+      <Extension>
+        <Units>Meters</Units>
+        <Precision>2</Precision>
+        <Template>{w} x {h} ({units})</Template>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomIn</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>2</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in-fixed</ImageClass>
+      <Label/>
+      <Tooltip>Zoom in by a preset increment</Tooltip>
+      <StatusText>Zoom in by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomOut</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>0.5</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-out-fixed</ImageClass>
+      <Label/>
+      <Tooltip>Zoom out by a preset increment</Tooltip>
+      <StatusText>Zoom out by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertPreviousView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>previous</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-back</ImageClass>
+      <Label/>
+      <Tooltip>Go to previous view</Tooltip>
+      <StatusText>Go to previous view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertNextView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>next</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-forward</ImageClass>
+      <Label/>
+      <Tooltip>Go to next view</Tooltip>
+      <StatusText>Go to next view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertSelect</Name>
+      <Type>Select</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select</ImageClass>
+      <Label/>
+      <Tooltip>Click to select features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertPan</Name>
+      <Type>Pan</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label/>
+      <Tooltip>Click and drag to pan the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoom</Name>
+      <Type>Zoom</Type>
+      <Location/>
+      <Extension>
+        <Tolerance>5</Tolerance>
+        <Factor>2</Factor>
+        <Direction>in</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in</ImageClass>
+      <Label/>
+      <Tooltip>Click or click and drag on the map to zoom in</Tooltip>
+      <StatusText>Click or click and drag on the map to zoom in</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertInitialMapView</Name>
+      <Type>InitialMapView</Type>
+      <Location/>
+      <Extension>
+        <ViewType>initial</ViewType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-full</ImageClass>
+      <Label/>
+      <Tooltip>Click to zoom to the full map extents</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomToSelection</Name>
+      <Type>ZoomToSelection</Type>
+      <Location/>
+      <Extension>
+        <MaximumZoomDimension>-1</MaximumZoomDimension>
+        <ZoomFactor>2</ZoomFactor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-zoom</ImageClass>
+      <Label/>
+      <Tooltip>Click to zoom to the selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+  </WidgetSet>
+  <Extension/>
+</ApplicationDefinition>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Maroon.ApplicationDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Maroon.ApplicationDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Maroon.ApplicationDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,1294 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ApplicationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd">
+  <Title>Sample - Slate</Title>
+  <TemplateUrl>fusion/templates/mapguide/slate/index.html</TemplateUrl>
+  <MapSet>
+    <MapGroup id="MainMap">
+      <Map>
+        <Type>MapGuide</Type>
+        <SingleTile>True</SingleTile>
+        <Extension>
+          <ResourceId>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</ResourceId>
+          <SelectionColor>0x0000ffff</SelectionColor>
+          <SelectionAsOverlay>true</SelectionAsOverlay>
+        </Extension>
+      </Map>
+    </MapGroup>
+  </MapSet>
+  <WidgetSet>
+    <Container xsi:type="UiItemContainerType">
+      <Name>Toolbar</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Print</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>QuickPlot</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>RefreshMap</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Maptip</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>SelectRadius</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>SelectPolygon</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ClearSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ViewOptions</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>About</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Help</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>ToolbarSecondary</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Select</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Pan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Zoom</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomOut</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>InitialMapView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomToSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>PreviousView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>NextView</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>ToolbarVertical</Name>
+      <Type>Toolbar</Type>
+      <Position>left</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertSelect</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertPan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoom</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomOut</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertInitialMapView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomToSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertPreviousView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertNextView</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>FileMenu</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>MapMenu</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>BasemapSwitcher</Widget>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>View</Label>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showOverview</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showTaskPane</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showLegend</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showSelectionPanel</Widget>
+        </Item>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>Statusbar</Name>
+      <Type>Splitterbar</Type>
+      <Position>bottom</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusCoordinates</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>EditableScale</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusViewSize</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>MapContextMenu</Name>
+      <Type>ContextMenu</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>RefreshMap</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Pan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Zoom</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomOut</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>Zoom</Label>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Select</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ClearSelection</Widget>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>Select More</Label>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ViewOptions</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Help</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>About</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>TaskMenu</Name>
+      <Type>ContextMenu</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+    </Container>
+    <MapWidget>
+      <Name>Map</Name>
+      <Type>Map</Type>
+      <Extension>
+        <MenuContainer>MapContextMenu</MenuContainer>
+      </Extension>
+      <MapId>MainMap</MapId>
+    </MapWidget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>About</Name>
+      <Type>About</Type>
+      <Location/>
+      <Extension>
+        <AboutURL>widgets/About/About.html</AboutURL>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>about</ImageClass>
+      <Label>About</Label>
+      <Tooltip>Click to show information about this application</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>ActivityIndicator</Name>
+      <Type>ActivityIndicator</Type>
+      <Location/>
+      <Extension>
+        <ElementId>
+        </ElementId>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>BasemapSwitcher</Name>
+      <Type>BasemapSwitcher</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>options</ImageClass>
+      <Label>External Providers</Label>
+      <Tooltip>Click to change the basemap</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>BufferPanel</Name>
+      <Type>BufferPanel</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>buffer</ImageClass>
+      <Label>Buffer</Label>
+      <Tooltip>Click to create a buffer</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>CenterSelection</Name>
+      <Type>CenterSelection</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-centre</ImageClass>
+      <Label>Center selection</Label>
+      <Tooltip>Click to center the map on the current selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ClearSelection</Name>
+      <Type>ClearSelection</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-clear</ImageClass>
+      <Label>Clear Selection</Label>
+      <Tooltip>Click to clear the current selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ColorPicker</Name>
+      <Type>ColorPicker</Type>
+      <Location/>
+      <Extension>
+        <ColorInputId>
+        </ColorInputId>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Color picker</Label>
+      <Tooltip>Use this tool to select a color</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>CoordinateTracker</Name>
+      <Type>CoordinateTracker</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <Projection>
+        </Projection>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>coordinate-tracker</ImageClass>
+      <Label>Coordinate Tracker</Label>
+      <Tooltip>Click to view mouse coordinates in various projections</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>EditableScale</Name>
+      <Type>EditableScale</Type>
+      <Location/>
+      <Extension>
+        <Precision>4</Precision>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>FeatureInfo</Name>
+      <Type>FeatureInfo</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>feature-info</ImageClass>
+      <Label>Feature Info</Label>
+      <Tooltip>Click to display selected feature info</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Geolocation</Name>
+      <Type>Geolocation</Type>
+      <Location/>
+      <Extension>
+        <ZoomLevel>
+        </ZoomLevel>
+        <EnableHighAccuracy>false</EnableHighAccuracy>
+        <Timeout>5000</Timeout>
+        <MaximumAge>0</MaximumAge>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>geolocation</ImageClass>
+      <Label>My Location</Label>
+      <Tooltip>Click to zoom to your current geographic location</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>GoogleStreetViewer</Name>
+      <Type>GoogleStreetViewer</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <SymbolLayerName>GoogleStreetViewerSymbolLayer</SymbolLayerName>
+        <ShowDirection>true</ShowDirection>
+        <DirectionLength>22</DirectionLength>
+        <AdditionalParameter>
+        </AdditionalParameter>
+      </Extension>
+      <ImageUrl>../../../widgets/GoogleStreetViewer/GoogleStreetView.png</ImageUrl>
+      <ImageClass/>
+      <Label>Google StreetView</Label>
+      <Tooltip>Click to show Google StreetView</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Help</Name>
+      <Type>Help</Type>
+      <Location/>
+      <Extension>
+        <Target>HelpWindow</Target>
+        <Url>widgets/Help/Help.html</Url>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>help</ImageClass>
+      <Label>Help</Label>
+      <Tooltip>Click to get help</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>InitialMapView</Name>
+      <Type>InitialMapView</Type>
+      <Location/>
+      <Extension>
+        <ViewType>initial</ViewType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-full</ImageClass>
+      <Label>Zoom Extents</Label>
+      <Tooltip>Click to zoom to the full map extents</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Legend</Name>
+      <Type>Legend</Type>
+      <Location/>
+      <Extension>
+        <HideInvisibleLayers>true</HideInvisibleLayers>
+        <ShowRootFolder>false</ShowRootFolder>
+        <ShowMapFolder>false</ShowMapFolder>
+        <LayerRasterIcon>images/icons/legend-raster.png</LayerRasterIcon>
+        <LayerDWFIcon>images/icons/legend-DWF.png</LayerDWFIcon>
+        <LayerThemeIcon>images/icons/legend-theme.png</LayerThemeIcon>
+        <DisabledLayerIcon>images/icons/legend-layer.png</DisabledLayerIcon>
+        <LayerInfoIcon>images/icons/tree_layer_info.png</LayerInfoIcon>
+        <GroupInfoIcon>images/icons/tree_group_info.png</GroupInfoIcon>
+        <RootFolderIcon>images/icons/legend-map.png</RootFolderIcon>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>LinkToView</Name>
+      <Type>LinkToView</Type>
+      <Location/>
+      <Extension/>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>MapMenu</Name>
+      <Type>MapMenu</Type>
+      <Location/>
+      <Extension>
+        <Folder>
+        </Folder>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>legend-map</ImageClass>
+      <Label>Maps</Label>
+      <Tooltip>Choose a map theme</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Maptip</Name>
+      <Type>Maptip</Type>
+      <Location/>
+      <Extension>
+        <Delay>350</Delay>
+        <Layer>
+        </Layer>
+        <Tolerance>2</Tolerance>
+        <Target>MaptipWindow</Target>
+        <WinFeatures>menubar=no,location=no,resizable=no,status=no</WinFeatures>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>maptip</ImageClass>
+      <Label>Maptip</Label>
+      <Tooltip>Click to Enable/Disable get information about features from Server</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Navigator</Name>
+      <Type>Navigator</Type>
+      <Location/>
+      <Extension/>
+    </Widget>
+    <Widget>
+      <Name>OverviewMap</Name>
+      <Type>OverviewMap</Type>
+      <Location/>
+      <Extension>
+        <MapId>
+        </MapId>
+        <MinRatio>32</MinRatio>
+        <MaxRatio>128</MaxRatio>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Pan</Name>
+      <Type>Pan</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label>Pan</Label>
+      <Tooltip>Click and drag to pan the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PanOnClick</Name>
+      <Type>PanOnClick</Type>
+      <Location/>
+      <Extension>
+        <Percentage>75</Percentage>
+        <Direction>none</Direction>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label/>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PanQuery</Name>
+      <Type>PanQuery</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label>Pan query</Label>
+      <Tooltip>Drag the mouse to pan, click to query</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Print</Name>
+      <Type>Print</Type>
+      <Location/>
+      <Extension>
+        <ShowPrintUI>true</ShowPrintUI>
+        <ShowTitle>false</ShowTitle>
+        <PageTitle>
+        </PageTitle>
+        <ShowLegend>false</ShowLegend>
+        <ShowNorthArrow>false</ShowNorthArrow>
+        <ImageBaseUrl>
+        </ImageBaseUrl>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>file-print</ImageClass>
+      <Label>Print</Label>
+      <Tooltip>Print the current map view</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Query</Name>
+      <Type>Query</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>query</ImageClass>
+      <Label>Query</Label>
+      <Tooltip>Click to execute a custom query</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>QuickPlot</Name>
+      <Type>QuickPlot</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <RememberPlotOptions>false</RememberPlotOptions>
+        <ShowCoordinateLabels>true</ShowCoordinateLabels>
+        <ShowSubTitle>true</ShowSubTitle>
+        <DefaultDpi>96</DefaultDpi>
+        <PaperListEntry>
+        </PaperListEntry>
+        <ScaleListEntry>
+        </ScaleListEntry>
+        <DefaultMargin>25.4,12.7,12.7,12.7</DefaultMargin>
+        <Disclaimer>The materials available at this web site are for informational purposes only and do not constitute a legal document.</Disclaimer>
+        <AllowDisclaimerToggle>true</AllowDisclaimerToggle>
+        <ShowLegend>false</ShowLegend>
+        <ShowNorthArrow>false</ShowNorthArrow>
+        <ShowCoordinates>false</ShowCoordinates>
+        <ShowScaleBar>false</ShowScaleBar>
+        <ShowLegalDisclaimer>true</ShowLegalDisclaimer>
+      </Extension>
+      <ImageUrl>images/icons/print.png</ImageUrl>
+      <ImageClass/>
+      <Label>Quick Plot</Label>
+      <Tooltip>Click to create a plot quickly</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Redline</Name>
+      <Type>Redline</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <AutogenerateLayerNames>true</AutogenerateLayerNames>
+        <UseMapMessage>true</UseMapMessage>
+        <DataStoreFormat>
+        </DataStoreFormat>
+        <RedlineGeometryFormat>7</RedlineGeometryFormat>
+        <AutoCreateOnStartup>true</AutoCreateOnStartup>
+        <StylizationType>basic</StylizationType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>redline</ImageClass>
+      <Label>Redline</Label>
+      <Tooltip>Click to draw redline features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>RefreshMap</Name>
+      <Type>RefreshMap</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-refresh</ImageClass>
+      <Label>Refresh</Label>
+      <Tooltip>Click to redraw the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SaveMap</Name>
+      <Type>SaveMap</Type>
+      <Location/>
+      <Extension>
+        <Format>png</Format>
+        <Scale>
+        </Scale>
+        <ResourceId>
+        </ResourceId>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>file-save</ImageClass>
+      <Label>Save map</Label>
+      <Tooltip>Click to save the map as an image</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Scalebar</Name>
+      <Type>Scalebar</Type>
+      <Location/>
+      <Extension>
+        <Style>thin</Style>
+        <DisplaySystem>metric</DisplaySystem>
+        <MinWidth>100</MinWidth>
+        <MaxWidth>200</MaxWidth>
+        <Divisions>2</Divisions>
+        <SubDivisions>2</SubDivisions>
+        <ShowMinorMeasures>true</ShowMinorMeasures>
+        <AbbreviateLabel>true</AbbreviateLabel>
+        <SingleLine>false</SingleLine>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>ScalebarDual</Name>
+      <Type>ScalebarDual</Type>
+      <Location/>
+      <Extension>
+        <MaxWidth>300</MaxWidth>
+        <TopInUnits>ft</TopInUnits>
+        <TopOutUnits>mi</TopOutUnits>
+        <BottomInUnits>m</BottomInUnits>
+        <BottomOutUnits>km</BottomOutUnits>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Select</Name>
+      <Type>Select</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select</ImageClass>
+      <Label>Select</Label>
+      <Tooltip>Click to select features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>SelectionPanel</Name>
+      <Type>SelectionPanel</Type>
+      <Location/>
+      <Extension>
+        <PreviousImageUrl>
+        </PreviousImageUrl>
+        <NextImageUrl>
+        </NextImageUrl>
+        <ResultsPerPage>0</ResultsPerPage>
+        <SelectionRenderer>Fusion.Widget.SelectionPanel.SelectionRendererDefault</SelectionRenderer>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectPolygon</Name>
+      <Type>SelectPolygon</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-polygon</ImageClass>
+      <Label>Select Polygon</Label>
+      <Tooltip>Draw a polygon to perform a selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectRadius</Name>
+      <Type>SelectRadius</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <DefaultRadius>20</DefaultRadius>
+        <RadiusTooltipContainer>
+        </RadiusTooltipContainer>
+        <RadiusTooltipType>dynamic</RadiusTooltipType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-radius</ImageClass>
+      <Label>Select Radius</Label>
+      <Tooltip>Click to select within a radius</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectRadiusValue</Name>
+      <Type>SelectRadiusValue</Type>
+      <Location/>
+      <Extension>
+        <RadiusName>SelectRadius</RadiusName>
+        <Label>
+        </Label>
+        <ClassName>
+        </ClassName>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Select radius value</Label>
+      <Tooltip>enter the radius for the Select by Radius tool</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectWithin</Name>
+      <Type>SelectWithin</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <DisableIfSelectionEmpty>true</DisableIfSelectionEmpty>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-features</ImageClass>
+      <Label>Select within</Label>
+      <Tooltip>Click to select features within this selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>TaskPane</Name>
+      <Type>TaskPane</Type>
+      <Location/>
+      <Extension>
+        <InitialTask>
+        </InitialTask>
+        <MenuContainer>TaskMenu</MenuContainer>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Theme</Name>
+      <Type>Theme</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>theme</ImageClass>
+      <Label>Theme</Label>
+      <Tooltip>Click to create a themed layer</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ViewOptions</Name>
+      <Type>ViewOptions</Type>
+      <Location/>
+      <Extension>
+        <DisplayUnits>
+        </DisplayUnits>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>options</ImageClass>
+      <Label>Options</Label>
+      <Tooltip>Click to change the units displayed</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Zoom</Name>
+      <Type>Zoom</Type>
+      <Location/>
+      <Extension>
+        <Tolerance>5</Tolerance>
+        <Factor>2</Factor>
+        <Direction>in</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in</ImageClass>
+      <Label>Zoom Rectangle</Label>
+      <Tooltip>Click or click and drag on the map to zoom in</Tooltip>
+      <StatusText>Click or click and drag on the map to zoom in</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomToSelection</Name>
+      <Type>ZoomToSelection</Type>
+      <Location/>
+      <Extension>
+        <MaximumZoomDimension>-1</MaximumZoomDimension>
+        <ZoomFactor>2</ZoomFactor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-zoom</ImageClass>
+      <Label>Zoom Selection</Label>
+      <Tooltip>Click to zoom to the selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomIn</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>2</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in-fixed</ImageClass>
+      <Label>Zoom In</Label>
+      <Tooltip>Zoom in by a preset increment</Tooltip>
+      <StatusText>Zoom in by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomOut</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>0.5</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-out-fixed</ImageClass>
+      <Label>Zoom Out</Label>
+      <Tooltip>Zoom out by a preset increment</Tooltip>
+      <StatusText>Zoom out by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PreviousView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>previous</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-back</ImageClass>
+      <Label>Previous</Label>
+      <Tooltip>Go to previous view</Tooltip>
+      <StatusText>Go to previous view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>NextView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>next</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-forward</ImageClass>
+      <Label>Next</Label>
+      <Tooltip>Go to next view</Tooltip>
+      <StatusText>Go to next view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>tbBuffer</Name>
+      <Type>BufferPanel</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>buffer</ImageClass>
+      <Label>Buffer</Label>
+      <Tooltip>Measure distances and areas on the map</Tooltip>
+      <StatusText>Create buffers around the selected features</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Measure</Name>
+      <Type>Measure</Type>
+      <Location/>
+      <Extension>
+        <Type>both</Type>
+        <MeasureTooltipContainer>MeasureResult</MeasureTooltipContainer>
+        <MeasureTooltipType>dynamic</MeasureTooltipType>
+        <DistancePrecision>0</DistancePrecision>
+        <AreaPrecision>0</AreaPrecision>
+        <Units>meters</Units>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>measure</ImageClass>
+      <Label>Measure</Label>
+      <Tooltip>Measure</Tooltip>
+      <StatusText>Measure distances and areas on the map</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showOverview</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showOverviewMap()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Overview</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showTaskPane</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showTaskPane()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Task Pane</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showLegend</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showLegend()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Legend</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showSelectionPanel</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showSelectionPanel()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Selection Panel</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>statusCoordinates</Name>
+      <Type>CursorPosition</Type>
+      <Location/>
+      <Extension>
+        <Template>X: {x} {units}, Y: {y} {units}</Template>
+        <Precision>4</Precision>
+        <DisplayProjection>
+        </DisplayProjection>
+        <Units>dd</Units>
+        <EmptyText>&amp;nbsp;</EmptyText>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>statusSelection</Name>
+      <Type>SelectionInfo</Type>
+      <Location/>
+      <Extension>
+        <Template>{0} feature(s) selected on {1} layer(s)</Template>
+        <EmptyText>No selection</EmptyText>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>statusViewSize</Name>
+      <Type>ViewSize</Type>
+      <Location/>
+      <Extension>
+        <Units>Meters</Units>
+        <Precision>2</Precision>
+        <Template>{w} x {h} ({units})</Template>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomIn</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>2</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in-fixed</ImageClass>
+      <Label/>
+      <Tooltip>Zoom in by a preset increment</Tooltip>
+      <StatusText>Zoom in by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomOut</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>0.5</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-out-fixed</ImageClass>
+      <Label/>
+      <Tooltip>Zoom out by a preset increment</Tooltip>
+      <StatusText>Zoom out by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertPreviousView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>previous</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-back</ImageClass>
+      <Label/>
+      <Tooltip>Go to previous view</Tooltip>
+      <StatusText>Go to previous view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertNextView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>next</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-forward</ImageClass>
+      <Label/>
+      <Tooltip>Go to next view</Tooltip>
+      <StatusText>Go to next view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertSelect</Name>
+      <Type>Select</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select</ImageClass>
+      <Label/>
+      <Tooltip>Click to select features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertPan</Name>
+      <Type>Pan</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label/>
+      <Tooltip>Click and drag to pan the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoom</Name>
+      <Type>Zoom</Type>
+      <Location/>
+      <Extension>
+        <Tolerance>5</Tolerance>
+        <Factor>2</Factor>
+        <Direction>in</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in</ImageClass>
+      <Label/>
+      <Tooltip>Click or click and drag on the map to zoom in</Tooltip>
+      <StatusText>Click or click and drag on the map to zoom in</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertInitialMapView</Name>
+      <Type>InitialMapView</Type>
+      <Location/>
+      <Extension>
+        <ViewType>initial</ViewType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-full</ImageClass>
+      <Label/>
+      <Tooltip>Click to zoom to the full map extents</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomToSelection</Name>
+      <Type>ZoomToSelection</Type>
+      <Location/>
+      <Extension>
+        <MaximumZoomDimension>-1</MaximumZoomDimension>
+        <ZoomFactor>2</ZoomFactor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-zoom</ImageClass>
+      <Label/>
+      <Tooltip>Click to zoom to the selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+  </WidgetSet>
+  <Extension/>
+</ApplicationDefinition>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/SlateCommercial.ApplicationDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/SlateCommercial.ApplicationDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/SlateCommercial.ApplicationDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,1419 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ApplicationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd">
+  <Title>Sample - Slate with Commerical Maps</Title>
+  <TemplateUrl>fusion/templates/mapguide/slate/index.html</TemplateUrl>
+  <MapSet>
+    <MapGroup id="MainMap">
+      <Map>
+        <Type>MapGuide</Type>
+        <SingleTile>True</SingleTile>
+        <Extension>
+          <ResourceId>Library://Samples/Sheboygan/Maps/SheboyganCommercial.MapDefinition</ResourceId>
+          <Options>
+            <isBaseLayer>false</isBaseLayer>
+            <useOverlay>true</useOverlay>
+            <projection>EPSG:900913</projection>
+          </Options>
+          <SelectionAsOverlay>true</SelectionAsOverlay>
+          <SelectionColor>0xff0000ff</SelectionColor>
+        </Extension>
+      </Map>
+      <Map>
+        <Type>Google</Type>
+        <SingleTile>true</SingleTile>
+        <Extension>
+          <Options>
+            <name>Google Hybrid</name>
+            <type>G_HYBRID_MAP</type>
+          </Options>
+        </Extension>
+      </Map>
+      <Map>
+        <Type>Google</Type>
+        <SingleTile>true</SingleTile>
+        <Extension>
+          <Options>
+            <name>Google Satellite</name>
+            <type>G_SATELLITE_MAP</type>
+          </Options>
+        </Extension>
+      </Map>
+      <Map>
+        <Type>Google</Type>
+        <SingleTile>true</SingleTile>
+        <Extension>
+          <Options>
+            <name>Google Streets</name>
+            <type>G_NORMAL_MAP</type>
+          </Options>
+        </Extension>
+      </Map>
+      <Map>
+        <Type>Google</Type>
+        <SingleTile>true</SingleTile>
+        <Extension>
+          <Options>
+            <name>Google Physical</name>
+            <type>G_PHYSICAL_MAP</type>
+          </Options>
+        </Extension>
+      </Map>
+      <Map>
+        <Type>VirtualEarth</Type>
+        <SingleTile>true</SingleTile>
+        <Extension>
+          <Options>
+            <name>Bing Maps Street</name>
+            <type>Road</type>
+          </Options>
+        </Extension>
+      </Map>
+      <Map>
+        <Type>VirtualEarth</Type>
+        <SingleTile>true</SingleTile>
+        <Extension>
+          <Options>
+            <name>Bing Maps Satellite</name>
+            <type>Aerial</type>
+          </Options>
+        </Extension>
+      </Map>
+      <Map>
+        <Type>VirtualEarth</Type>
+        <SingleTile>true</SingleTile>
+        <Extension>
+          <Options>
+            <name>Bing Maps Hybrid</name>
+            <type>Hybrid</type>
+          </Options>
+        </Extension>
+      </Map>
+      <Map>
+        <Type>OpenStreetMap</Type>
+        <SingleTile>true</SingleTile>
+        <Extension>
+          <Options>
+            <name>Open Street Map</name>
+            <type>Mapnik</type>
+          </Options>
+        </Extension>
+      </Map>
+      <Map>
+        <Type>OpenStreetMap</Type>
+        <SingleTile>true</SingleTile>
+        <Extension>
+          <Options>
+            <name>Open Street Map (TransportMap)</name>
+            <type>TransportMap</type>
+          </Options>
+        </Extension>
+      </Map>
+      <Map>
+        <Type>OpenStreetMap</Type>
+        <SingleTile>true</SingleTile>
+        <Extension>
+          <Options>
+            <name>Open Street Map (CycleMap)</name>
+            <type>CycleMap</type>
+          </Options>
+        </Extension>
+      </Map>
+    </MapGroup>
+  </MapSet>
+  <WidgetSet>
+    <Container xsi:type="UiItemContainerType">
+      <Name>Toolbar</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Print</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>QuickPlot</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>RefreshMap</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Maptip</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>SelectRadius</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>SelectPolygon</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ClearSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ViewOptions</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>About</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Help</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>ToolbarSecondary</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Select</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Pan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Zoom</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomOut</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>InitialMapView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomToSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>PreviousView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>NextView</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>ToolbarVertical</Name>
+      <Type>Toolbar</Type>
+      <Position>left</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertSelect</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertPan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoom</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomOut</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertInitialMapView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomToSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertPreviousView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertNextView</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>FileMenu</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>MapMenu</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>BasemapSwitcher</Widget>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>View</Label>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showOverview</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showTaskPane</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showLegend</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showSelectionPanel</Widget>
+        </Item>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>Tools</Label>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>Geolocation</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>CoordinateTracker</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>GoogleStreetViewer</Widget>
+        </Item>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>Statusbar</Name>
+      <Type>Splitterbar</Type>
+      <Position>bottom</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusCoordinates</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>EditableScale</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusViewSize</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>MapContextMenu</Name>
+      <Type>ContextMenu</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>RefreshMap</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Pan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Zoom</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomOut</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>Zoom</Label>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Select</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ClearSelection</Widget>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>Select More</Label>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ViewOptions</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Help</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>About</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>TaskMenu</Name>
+      <Type>ContextMenu</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+    </Container>
+    <MapWidget>
+      <Name>Map</Name>
+      <Type>Map</Type>
+      <Extension>
+        <MenuContainer>MapContextMenu</MenuContainer>
+      </Extension>
+      <MapId>MainMap</MapId>
+    </MapWidget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>About</Name>
+      <Type>About</Type>
+      <Location/>
+      <Extension>
+        <AboutURL>widgets/About/About.html</AboutURL>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>about</ImageClass>
+      <Label>About</Label>
+      <Tooltip>Click to show information about this application</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>ActivityIndicator</Name>
+      <Type>ActivityIndicator</Type>
+      <Location/>
+      <Extension>
+        <ElementId>
+        </ElementId>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>BasemapSwitcher</Name>
+      <Type>BasemapSwitcher</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>options</ImageClass>
+      <Label>External Providers</Label>
+      <Tooltip>Click to change the basemap</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>BufferPanel</Name>
+      <Type>BufferPanel</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>buffer</ImageClass>
+      <Label>Buffer</Label>
+      <Tooltip>Click to create a buffer</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>CenterSelection</Name>
+      <Type>CenterSelection</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-centre</ImageClass>
+      <Label>Center selection</Label>
+      <Tooltip>Click to center the map on the current selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ClearSelection</Name>
+      <Type>ClearSelection</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-clear</ImageClass>
+      <Label>Clear Selection</Label>
+      <Tooltip>Click to clear the current selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ColorPicker</Name>
+      <Type>ColorPicker</Type>
+      <Location/>
+      <Extension>
+        <ColorInputId>
+        </ColorInputId>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Color picker</Label>
+      <Tooltip>Use this tool to select a color</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>CoordinateTracker</Name>
+      <Type>CoordinateTracker</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <Projection>EPSG:4326</Projection>
+        <Projection>EPSG:3857</Projection>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>coordinate-tracker</ImageClass>
+      <Label>Coordinate Tracker</Label>
+      <Tooltip>Click to view mouse coordinates in various projections</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>EditableScale</Name>
+      <Type>EditableScale</Type>
+      <Location/>
+      <Extension>
+        <Precision>4</Precision>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>FeatureInfo</Name>
+      <Type>FeatureInfo</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>feature-info</ImageClass>
+      <Label>Feature Info</Label>
+      <Tooltip>Click to display selected feature info</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Geolocation</Name>
+      <Type>Geolocation</Type>
+      <Location/>
+      <Extension>
+        <ZoomLevel>
+        </ZoomLevel>
+        <EnableHighAccuracy>false</EnableHighAccuracy>
+        <Timeout>5000</Timeout>
+        <MaximumAge>0</MaximumAge>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>geolocation</ImageClass>
+      <Label>My Location</Label>
+      <Tooltip>Click to zoom to your current geographic location</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>GoogleStreetViewer</Name>
+      <Type>GoogleStreetViewer</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <SymbolLayerName>GoogleStreetViewerSymbolLayer</SymbolLayerName>
+        <ShowDirection>true</ShowDirection>
+        <DirectionLength>22</DirectionLength>
+        <AdditionalParameter>
+        </AdditionalParameter>
+      </Extension>
+      <ImageUrl>../../../widgets/GoogleStreetViewer/GoogleStreetView.png</ImageUrl>
+      <ImageClass/>
+      <Label>Google StreetView</Label>
+      <Tooltip>Click to show Google StreetView</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Help</Name>
+      <Type>Help</Type>
+      <Location/>
+      <Extension>
+        <Target>HelpWindow</Target>
+        <Url>widgets/Help/Help.html</Url>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>help</ImageClass>
+      <Label>Help</Label>
+      <Tooltip>Click to get help</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>InitialMapView</Name>
+      <Type>InitialMapView</Type>
+      <Location/>
+      <Extension>
+        <ViewType>initial</ViewType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-full</ImageClass>
+      <Label>Zoom Extents</Label>
+      <Tooltip>Click to zoom to the full map extents</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Legend</Name>
+      <Type>Legend</Type>
+      <Location/>
+      <Extension>
+        <HideInvisibleLayers>true</HideInvisibleLayers>
+        <ShowRootFolder>false</ShowRootFolder>
+        <ShowMapFolder>false</ShowMapFolder>
+        <LayerRasterIcon>images/icons/legend-raster.png</LayerRasterIcon>
+        <LayerDWFIcon>images/icons/legend-DWF.png</LayerDWFIcon>
+        <LayerThemeIcon>images/icons/legend-theme.png</LayerThemeIcon>
+        <DisabledLayerIcon>images/icons/legend-layer.png</DisabledLayerIcon>
+        <LayerInfoIcon>images/icons/tree_layer_info.png</LayerInfoIcon>
+        <GroupInfoIcon>images/icons/tree_group_info.png</GroupInfoIcon>
+        <RootFolderIcon>images/icons/legend-map.png</RootFolderIcon>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>LinkToView</Name>
+      <Type>LinkToView</Type>
+      <Location/>
+      <Extension/>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>MapMenu</Name>
+      <Type>MapMenu</Type>
+      <Location/>
+      <Extension>
+        <Folder>
+        </Folder>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>legend-map</ImageClass>
+      <Label>Maps</Label>
+      <Tooltip>Choose a map theme</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Maptip</Name>
+      <Type>Maptip</Type>
+      <Location/>
+      <Extension>
+        <Delay>350</Delay>
+        <Layer>
+        </Layer>
+        <Tolerance>2</Tolerance>
+        <Target>MaptipWindow</Target>
+        <WinFeatures>menubar=no,location=no,resizable=no,status=no</WinFeatures>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>maptip</ImageClass>
+      <Label>Maptip</Label>
+      <Tooltip>Click to Enable/Disable get information about features from Server</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Navigator</Name>
+      <Type>Navigator</Type>
+      <Location/>
+      <Extension/>
+    </Widget>
+    <Widget>
+      <Name>OverviewMap</Name>
+      <Type>OverviewMap</Type>
+      <Location/>
+      <Extension>
+        <MapId>
+        </MapId>
+        <MinRatio>32</MinRatio>
+        <MaxRatio>128</MaxRatio>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Pan</Name>
+      <Type>Pan</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label>Pan</Label>
+      <Tooltip>Click and drag to pan the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PanOnClick</Name>
+      <Type>PanOnClick</Type>
+      <Location/>
+      <Extension>
+        <Percentage>75</Percentage>
+        <Direction>none</Direction>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label/>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PanQuery</Name>
+      <Type>PanQuery</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label>Pan query</Label>
+      <Tooltip>Drag the mouse to pan, click to query</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Print</Name>
+      <Type>Print</Type>
+      <Location/>
+      <Extension>
+        <ShowPrintUI>true</ShowPrintUI>
+        <ShowTitle>false</ShowTitle>
+        <PageTitle>
+        </PageTitle>
+        <ShowLegend>false</ShowLegend>
+        <ShowNorthArrow>false</ShowNorthArrow>
+        <ImageBaseUrl>
+        </ImageBaseUrl>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>file-print</ImageClass>
+      <Label>Print</Label>
+      <Tooltip>Print the current map view</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Query</Name>
+      <Type>Query</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>query</ImageClass>
+      <Label>Query</Label>
+      <Tooltip>Click to execute a custom query</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>QuickPlot</Name>
+      <Type>QuickPlot</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <RememberPlotOptions>false</RememberPlotOptions>
+        <ShowCoordinateLabels>true</ShowCoordinateLabels>
+        <ShowSubTitle>true</ShowSubTitle>
+        <DefaultDpi>96</DefaultDpi>
+        <PaperListEntry>
+        </PaperListEntry>
+        <ScaleListEntry>
+        </ScaleListEntry>
+        <DefaultMargin>25.4,12.7,12.7,12.7</DefaultMargin>
+        <Disclaimer>The materials available at this web site are for informational purposes only and do not constitute a legal document.</Disclaimer>
+        <AllowDisclaimerToggle>true</AllowDisclaimerToggle>
+        <ShowLegend>false</ShowLegend>
+        <ShowNorthArrow>false</ShowNorthArrow>
+        <ShowCoordinates>false</ShowCoordinates>
+        <ShowScaleBar>false</ShowScaleBar>
+        <ShowLegalDisclaimer>true</ShowLegalDisclaimer>
+      </Extension>
+      <ImageUrl>images/icons/print.png</ImageUrl>
+      <ImageClass/>
+      <Label>Quick Plot</Label>
+      <Tooltip>Click to create a plot quickly</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Redline</Name>
+      <Type>Redline</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <AutogenerateLayerNames>true</AutogenerateLayerNames>
+        <UseMapMessage>true</UseMapMessage>
+        <DataStoreFormat>
+        </DataStoreFormat>
+        <RedlineGeometryFormat>7</RedlineGeometryFormat>
+        <AutoCreateOnStartup>true</AutoCreateOnStartup>
+        <StylizationType>basic</StylizationType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>redline</ImageClass>
+      <Label>Redline</Label>
+      <Tooltip>Click to draw redline features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>RefreshMap</Name>
+      <Type>RefreshMap</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-refresh</ImageClass>
+      <Label>Refresh</Label>
+      <Tooltip>Click to redraw the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SaveMap</Name>
+      <Type>SaveMap</Type>
+      <Location/>
+      <Extension>
+        <Format>png</Format>
+        <Scale>
+        </Scale>
+        <ResourceId>
+        </ResourceId>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>file-save</ImageClass>
+      <Label>Save map</Label>
+      <Tooltip>Click to save the map as an image</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Scalebar</Name>
+      <Type>Scalebar</Type>
+      <Location/>
+      <Extension>
+        <Style>thin</Style>
+        <DisplaySystem>metric</DisplaySystem>
+        <MinWidth>100</MinWidth>
+        <MaxWidth>200</MaxWidth>
+        <Divisions>2</Divisions>
+        <SubDivisions>2</SubDivisions>
+        <ShowMinorMeasures>true</ShowMinorMeasures>
+        <AbbreviateLabel>true</AbbreviateLabel>
+        <SingleLine>false</SingleLine>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>ScalebarDual</Name>
+      <Type>ScalebarDual</Type>
+      <Location/>
+      <Extension>
+        <MaxWidth>300</MaxWidth>
+        <TopInUnits>ft</TopInUnits>
+        <TopOutUnits>mi</TopOutUnits>
+        <BottomInUnits>m</BottomInUnits>
+        <BottomOutUnits>km</BottomOutUnits>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Select</Name>
+      <Type>Select</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select</ImageClass>
+      <Label>Select</Label>
+      <Tooltip>Click to select features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>SelectionPanel</Name>
+      <Type>SelectionPanel</Type>
+      <Location/>
+      <Extension>
+        <PreviousImageUrl>
+        </PreviousImageUrl>
+        <NextImageUrl>
+        </NextImageUrl>
+        <ResultsPerPage>0</ResultsPerPage>
+        <SelectionRenderer>Fusion.Widget.SelectionPanel.SelectionRendererDefault</SelectionRenderer>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectPolygon</Name>
+      <Type>SelectPolygon</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-polygon</ImageClass>
+      <Label>Select Polygon</Label>
+      <Tooltip>Draw a polygon to perform a selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectRadius</Name>
+      <Type>SelectRadius</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <DefaultRadius>20</DefaultRadius>
+        <RadiusTooltipContainer>
+        </RadiusTooltipContainer>
+        <RadiusTooltipType>dynamic</RadiusTooltipType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-radius</ImageClass>
+      <Label>Select Radius</Label>
+      <Tooltip>Click to select within a radius</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectRadiusValue</Name>
+      <Type>SelectRadiusValue</Type>
+      <Location/>
+      <Extension>
+        <RadiusName>SelectRadius</RadiusName>
+        <Label>
+        </Label>
+        <ClassName>
+        </ClassName>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Select radius value</Label>
+      <Tooltip>enter the radius for the Select by Radius tool</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectWithin</Name>
+      <Type>SelectWithin</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <DisableIfSelectionEmpty>true</DisableIfSelectionEmpty>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-features</ImageClass>
+      <Label>Select within</Label>
+      <Tooltip>Click to select features within this selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>TaskPane</Name>
+      <Type>TaskPane</Type>
+      <Location/>
+      <Extension>
+        <InitialTask>
+        </InitialTask>
+        <MenuContainer>TaskMenu</MenuContainer>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Theme</Name>
+      <Type>Theme</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>theme</ImageClass>
+      <Label>Theme</Label>
+      <Tooltip>Click to create a themed layer</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ViewOptions</Name>
+      <Type>ViewOptions</Type>
+      <Location/>
+      <Extension>
+        <DisplayUnits>
+        </DisplayUnits>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>options</ImageClass>
+      <Label>Options</Label>
+      <Tooltip>Click to change the units displayed</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Zoom</Name>
+      <Type>Zoom</Type>
+      <Location/>
+      <Extension>
+        <Tolerance>5</Tolerance>
+        <Factor>2</Factor>
+        <Direction>in</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in</ImageClass>
+      <Label>Zoom Rectangle</Label>
+      <Tooltip>Click or click and drag on the map to zoom in</Tooltip>
+      <StatusText>Click or click and drag on the map to zoom in</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomToSelection</Name>
+      <Type>ZoomToSelection</Type>
+      <Location/>
+      <Extension>
+        <MaximumZoomDimension>-1</MaximumZoomDimension>
+        <ZoomFactor>2</ZoomFactor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-zoom</ImageClass>
+      <Label>Zoom Selection</Label>
+      <Tooltip>Click to zoom to the selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomIn</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>2</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in-fixed</ImageClass>
+      <Label>Zoom In</Label>
+      <Tooltip>Zoom in by a preset increment</Tooltip>
+      <StatusText>Zoom in by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomOut</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>0.5</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-out-fixed</ImageClass>
+      <Label>Zoom Out</Label>
+      <Tooltip>Zoom out by a preset increment</Tooltip>
+      <StatusText>Zoom out by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PreviousView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>previous</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-back</ImageClass>
+      <Label>Previous</Label>
+      <Tooltip>Go to previous view</Tooltip>
+      <StatusText>Go to previous view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>NextView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>next</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-forward</ImageClass>
+      <Label>Next</Label>
+      <Tooltip>Go to next view</Tooltip>
+      <StatusText>Go to next view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>tbBuffer</Name>
+      <Type>BufferPanel</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>buffer</ImageClass>
+      <Label>Buffer</Label>
+      <Tooltip>Measure distances and areas on the map</Tooltip>
+      <StatusText>Create buffers around the selected features</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Measure</Name>
+      <Type>Measure</Type>
+      <Location/>
+      <Extension>
+        <Type>both</Type>
+        <MeasureTooltipContainer>MeasureResult</MeasureTooltipContainer>
+        <MeasureTooltipType>dynamic</MeasureTooltipType>
+        <DistancePrecision>0</DistancePrecision>
+        <AreaPrecision>0</AreaPrecision>
+        <Units>meters</Units>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>measure</ImageClass>
+      <Label>Measure</Label>
+      <Tooltip>Measure</Tooltip>
+      <StatusText>Measure distances and areas on the map</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showOverview</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showOverviewMap()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Overview</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showTaskPane</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showTaskPane()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Task Pane</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showLegend</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showLegend()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Legend</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showSelectionPanel</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showSelectionPanel()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Selection Panel</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>statusCoordinates</Name>
+      <Type>CursorPosition</Type>
+      <Location/>
+      <Extension>
+        <Template>X: {x} {units}, Y: {y} {units}</Template>
+        <Precision>4</Precision>
+        <DisplayProjection>
+        </DisplayProjection>
+        <Units>dd</Units>
+        <EmptyText>&amp;nbsp;</EmptyText>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>statusSelection</Name>
+      <Type>SelectionInfo</Type>
+      <Location/>
+      <Extension>
+        <Template>{0} feature(s) selected on {1} layer(s)</Template>
+        <EmptyText>No selection</EmptyText>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>statusViewSize</Name>
+      <Type>ViewSize</Type>
+      <Location/>
+      <Extension>
+        <Units>Meters</Units>
+        <Precision>2</Precision>
+        <Template>{w} x {h} ({units})</Template>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomIn</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>2</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in-fixed</ImageClass>
+      <Label/>
+      <Tooltip>Zoom in by a preset increment</Tooltip>
+      <StatusText>Zoom in by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomOut</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>0.5</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-out-fixed</ImageClass>
+      <Label/>
+      <Tooltip>Zoom out by a preset increment</Tooltip>
+      <StatusText>Zoom out by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertPreviousView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>previous</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-back</ImageClass>
+      <Label/>
+      <Tooltip>Go to previous view</Tooltip>
+      <StatusText>Go to previous view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertNextView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>next</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-forward</ImageClass>
+      <Label/>
+      <Tooltip>Go to next view</Tooltip>
+      <StatusText>Go to next view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertSelect</Name>
+      <Type>Select</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select</ImageClass>
+      <Label/>
+      <Tooltip>Click to select features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertPan</Name>
+      <Type>Pan</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label/>
+      <Tooltip>Click and drag to pan the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoom</Name>
+      <Type>Zoom</Type>
+      <Location/>
+      <Extension>
+        <Tolerance>5</Tolerance>
+        <Factor>2</Factor>
+        <Direction>in</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in</ImageClass>
+      <Label/>
+      <Tooltip>Click or click and drag on the map to zoom in</Tooltip>
+      <StatusText>Click or click and drag on the map to zoom in</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertInitialMapView</Name>
+      <Type>InitialMapView</Type>
+      <Location/>
+      <Extension>
+        <ViewType>initial</ViewType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-full</ImageClass>
+      <Label/>
+      <Tooltip>Click to zoom to the full map extents</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomToSelection</Name>
+      <Type>ZoomToSelection</Type>
+      <Location/>
+      <Extension>
+        <MaximumZoomDimension>-1</MaximumZoomDimension>
+        <ZoomFactor>2</ZoomFactor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-zoom</ImageClass>
+      <Label/>
+      <Tooltip>Click to zoom to the selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+  </WidgetSet>
+  <Extension>
+    <VirtualEarthScript>http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2</VirtualEarthScript>
+    <GoogleScript>http://maps.google.com/maps/api/js?sensor=false</GoogleScript>
+    <OpenStreetMapScript>http://www.openstreetmap.org/openlayers/OpenStreetMap.js</OpenStreetMapScript>
+  </Extension>
+</ApplicationDefinition>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/SlateCommercial.ApplicationDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/SlateCommercial.ApplicationDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/SlateCommercial.ApplicationDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/TurquoiseYellow.ApplicationDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/TurquoiseYellow.ApplicationDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/TurquoiseYellow.ApplicationDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,1294 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ApplicationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd">
+  <Title>Sample - TurquoiseYellow</Title>
+  <TemplateUrl>fusion/templates/mapguide/turquoiseyellow/index.html</TemplateUrl>
+  <MapSet>
+    <MapGroup id="MainMap">
+      <Map>
+        <Type>MapGuide</Type>
+        <SingleTile>True</SingleTile>
+        <Extension>
+          <ResourceId>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</ResourceId>
+          <SelectionColor>0x0000ffff</SelectionColor>
+          <SelectionAsOverlay>true</SelectionAsOverlay>
+        </Extension>
+      </Map>
+    </MapGroup>
+  </MapSet>
+  <WidgetSet>
+    <Container xsi:type="UiItemContainerType">
+      <Name>Toolbar</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Print</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>QuickPlot</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>RefreshMap</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Maptip</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>SelectRadius</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>SelectPolygon</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ClearSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ViewOptions</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>About</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Help</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>ToolbarSecondary</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Select</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Pan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Zoom</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomOut</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>InitialMapView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomToSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>PreviousView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>NextView</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>ToolbarVertical</Name>
+      <Type>Toolbar</Type>
+      <Position>left</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertSelect</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertPan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoom</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomOut</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertInitialMapView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertZoomToSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertPreviousView</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>vertNextView</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>FileMenu</Name>
+      <Type>Toolbar</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>MapMenu</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>BasemapSwitcher</Widget>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>View</Label>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showOverview</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showTaskPane</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showLegend</Widget>
+        </Item>
+        <Item xsi:type="WidgetItemType">
+          <Function>Widget</Function>
+          <Widget>showSelectionPanel</Widget>
+        </Item>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>Statusbar</Name>
+      <Type>Splitterbar</Type>
+      <Position>bottom</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusCoordinates</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusSelection</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>EditableScale</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>statusViewSize</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>MapContextMenu</Name>
+      <Type>ContextMenu</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>RefreshMap</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Pan</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Zoom</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomIn</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ZoomOut</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>Zoom</Label>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Select</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ClearSelection</Widget>
+      </Item>
+      <Item xsi:type="FlyoutItemType">
+        <Function>Flyout</Function>
+        <Label>Select More</Label>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+      <Item xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>ViewOptions</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Help</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>About</Widget>
+      </Item>
+    </Container>
+    <Container xsi:type="UiItemContainerType">
+      <Name>TaskMenu</Name>
+      <Type>ContextMenu</Type>
+      <Position>top</Position>
+      <Extension/>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Measure</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>tbBuffer</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>FeatureInfo</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Query</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Theme</Widget>
+      </Item>
+      <Item xsi:type="WidgetItemType">
+        <Function>Widget</Function>
+        <Widget>Redline</Widget>
+      </Item>
+    </Container>
+    <MapWidget>
+      <Name>Map</Name>
+      <Type>Map</Type>
+      <Extension>
+        <MenuContainer>MapContextMenu</MenuContainer>
+      </Extension>
+      <MapId>MainMap</MapId>
+    </MapWidget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>About</Name>
+      <Type>About</Type>
+      <Location/>
+      <Extension>
+        <AboutURL>widgets/About/About.html</AboutURL>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>about</ImageClass>
+      <Label>About</Label>
+      <Tooltip>Click to show information about this application</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>ActivityIndicator</Name>
+      <Type>ActivityIndicator</Type>
+      <Location/>
+      <Extension>
+        <ElementId>
+        </ElementId>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>BasemapSwitcher</Name>
+      <Type>BasemapSwitcher</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>options</ImageClass>
+      <Label>External Providers</Label>
+      <Tooltip>Click to change the basemap</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>BufferPanel</Name>
+      <Type>BufferPanel</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>buffer</ImageClass>
+      <Label>Buffer</Label>
+      <Tooltip>Click to create a buffer</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>CenterSelection</Name>
+      <Type>CenterSelection</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-centre</ImageClass>
+      <Label>Center selection</Label>
+      <Tooltip>Click to center the map on the current selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ClearSelection</Name>
+      <Type>ClearSelection</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-clear</ImageClass>
+      <Label>Clear Selection</Label>
+      <Tooltip>Click to clear the current selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ColorPicker</Name>
+      <Type>ColorPicker</Type>
+      <Location/>
+      <Extension>
+        <ColorInputId>
+        </ColorInputId>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Color picker</Label>
+      <Tooltip>Use this tool to select a color</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>CoordinateTracker</Name>
+      <Type>CoordinateTracker</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <Projection>
+        </Projection>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>coordinate-tracker</ImageClass>
+      <Label>Coordinate Tracker</Label>
+      <Tooltip>Click to view mouse coordinates in various projections</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>EditableScale</Name>
+      <Type>EditableScale</Type>
+      <Location/>
+      <Extension>
+        <Precision>4</Precision>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>FeatureInfo</Name>
+      <Type>FeatureInfo</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>feature-info</ImageClass>
+      <Label>Feature Info</Label>
+      <Tooltip>Click to display selected feature info</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Geolocation</Name>
+      <Type>Geolocation</Type>
+      <Location/>
+      <Extension>
+        <ZoomLevel>
+        </ZoomLevel>
+        <EnableHighAccuracy>false</EnableHighAccuracy>
+        <Timeout>5000</Timeout>
+        <MaximumAge>0</MaximumAge>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>geolocation</ImageClass>
+      <Label>My Location</Label>
+      <Tooltip>Click to zoom to your current geographic location</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>GoogleStreetViewer</Name>
+      <Type>GoogleStreetViewer</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <SymbolLayerName>GoogleStreetViewerSymbolLayer</SymbolLayerName>
+        <ShowDirection>true</ShowDirection>
+        <DirectionLength>22</DirectionLength>
+        <AdditionalParameter>
+        </AdditionalParameter>
+      </Extension>
+      <ImageUrl>../../../widgets/GoogleStreetViewer/GoogleStreetView.png</ImageUrl>
+      <ImageClass/>
+      <Label>Google StreetView</Label>
+      <Tooltip>Click to show Google StreetView</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Help</Name>
+      <Type>Help</Type>
+      <Location/>
+      <Extension>
+        <Target>HelpWindow</Target>
+        <Url>widgets/Help/Help.html</Url>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>help</ImageClass>
+      <Label>Help</Label>
+      <Tooltip>Click to get help</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>InitialMapView</Name>
+      <Type>InitialMapView</Type>
+      <Location/>
+      <Extension>
+        <ViewType>initial</ViewType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-full</ImageClass>
+      <Label>Zoom Extents</Label>
+      <Tooltip>Click to zoom to the full map extents</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Legend</Name>
+      <Type>Legend</Type>
+      <Location/>
+      <Extension>
+        <HideInvisibleLayers>true</HideInvisibleLayers>
+        <ShowRootFolder>false</ShowRootFolder>
+        <ShowMapFolder>false</ShowMapFolder>
+        <LayerRasterIcon>images/icons/legend-raster.png</LayerRasterIcon>
+        <LayerDWFIcon>images/icons/legend-DWF.png</LayerDWFIcon>
+        <LayerThemeIcon>images/icons/legend-theme.png</LayerThemeIcon>
+        <DisabledLayerIcon>images/icons/legend-layer.png</DisabledLayerIcon>
+        <LayerInfoIcon>images/icons/tree_layer_info.png</LayerInfoIcon>
+        <GroupInfoIcon>images/icons/tree_group_info.png</GroupInfoIcon>
+        <RootFolderIcon>images/icons/legend-map.png</RootFolderIcon>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>LinkToView</Name>
+      <Type>LinkToView</Type>
+      <Location/>
+      <Extension/>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>MapMenu</Name>
+      <Type>MapMenu</Type>
+      <Location/>
+      <Extension>
+        <Folder>
+        </Folder>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>legend-map</ImageClass>
+      <Label>Maps</Label>
+      <Tooltip>Choose a map theme</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Maptip</Name>
+      <Type>Maptip</Type>
+      <Location/>
+      <Extension>
+        <Delay>350</Delay>
+        <Layer>
+        </Layer>
+        <Tolerance>2</Tolerance>
+        <Target>MaptipWindow</Target>
+        <WinFeatures>menubar=no,location=no,resizable=no,status=no</WinFeatures>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>maptip</ImageClass>
+      <Label>Maptip</Label>
+      <Tooltip>Click to Enable/Disable get information about features from Server</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Navigator</Name>
+      <Type>Navigator</Type>
+      <Location/>
+      <Extension/>
+    </Widget>
+    <Widget>
+      <Name>OverviewMap</Name>
+      <Type>OverviewMap</Type>
+      <Location/>
+      <Extension>
+        <MapId>
+        </MapId>
+        <MinRatio>32</MinRatio>
+        <MaxRatio>128</MaxRatio>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Pan</Name>
+      <Type>Pan</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label>Pan</Label>
+      <Tooltip>Click and drag to pan the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PanOnClick</Name>
+      <Type>PanOnClick</Type>
+      <Location/>
+      <Extension>
+        <Percentage>75</Percentage>
+        <Direction>none</Direction>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label/>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PanQuery</Name>
+      <Type>PanQuery</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label>Pan query</Label>
+      <Tooltip>Drag the mouse to pan, click to query</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Print</Name>
+      <Type>Print</Type>
+      <Location/>
+      <Extension>
+        <ShowPrintUI>true</ShowPrintUI>
+        <ShowTitle>false</ShowTitle>
+        <PageTitle>
+        </PageTitle>
+        <ShowLegend>false</ShowLegend>
+        <ShowNorthArrow>false</ShowNorthArrow>
+        <ImageBaseUrl>
+        </ImageBaseUrl>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>file-print</ImageClass>
+      <Label>Print</Label>
+      <Tooltip>Print the current map view</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Query</Name>
+      <Type>Query</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>query</ImageClass>
+      <Label>Query</Label>
+      <Tooltip>Click to execute a custom query</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>QuickPlot</Name>
+      <Type>QuickPlot</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <RememberPlotOptions>false</RememberPlotOptions>
+        <ShowCoordinateLabels>true</ShowCoordinateLabels>
+        <ShowSubTitle>true</ShowSubTitle>
+        <DefaultDpi>96</DefaultDpi>
+        <PaperListEntry>
+        </PaperListEntry>
+        <ScaleListEntry>
+        </ScaleListEntry>
+        <DefaultMargin>25.4,12.7,12.7,12.7</DefaultMargin>
+        <Disclaimer>The materials available at this web site are for informational purposes only and do not constitute a legal document.</Disclaimer>
+        <AllowDisclaimerToggle>true</AllowDisclaimerToggle>
+        <ShowLegend>false</ShowLegend>
+        <ShowNorthArrow>false</ShowNorthArrow>
+        <ShowCoordinates>false</ShowCoordinates>
+        <ShowScaleBar>false</ShowScaleBar>
+        <ShowLegalDisclaimer>true</ShowLegalDisclaimer>
+      </Extension>
+      <ImageUrl>images/icons/print.png</ImageUrl>
+      <ImageClass/>
+      <Label>Quick Plot</Label>
+      <Tooltip>Click to create a plot quickly</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Redline</Name>
+      <Type>Redline</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <AutogenerateLayerNames>true</AutogenerateLayerNames>
+        <UseMapMessage>true</UseMapMessage>
+        <DataStoreFormat>
+        </DataStoreFormat>
+        <RedlineGeometryFormat>7</RedlineGeometryFormat>
+        <AutoCreateOnStartup>true</AutoCreateOnStartup>
+        <StylizationType>basic</StylizationType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>redline</ImageClass>
+      <Label>Redline</Label>
+      <Tooltip>Click to draw redline features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>RefreshMap</Name>
+      <Type>RefreshMap</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-refresh</ImageClass>
+      <Label>Refresh</Label>
+      <Tooltip>Click to redraw the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SaveMap</Name>
+      <Type>SaveMap</Type>
+      <Location/>
+      <Extension>
+        <Format>png</Format>
+        <Scale>
+        </Scale>
+        <ResourceId>
+        </ResourceId>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>file-save</ImageClass>
+      <Label>Save map</Label>
+      <Tooltip>Click to save the map as an image</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>Scalebar</Name>
+      <Type>Scalebar</Type>
+      <Location/>
+      <Extension>
+        <Style>thin</Style>
+        <DisplaySystem>metric</DisplaySystem>
+        <MinWidth>100</MinWidth>
+        <MaxWidth>200</MaxWidth>
+        <Divisions>2</Divisions>
+        <SubDivisions>2</SubDivisions>
+        <ShowMinorMeasures>true</ShowMinorMeasures>
+        <AbbreviateLabel>true</AbbreviateLabel>
+        <SingleLine>false</SingleLine>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>ScalebarDual</Name>
+      <Type>ScalebarDual</Type>
+      <Location/>
+      <Extension>
+        <MaxWidth>300</MaxWidth>
+        <TopInUnits>ft</TopInUnits>
+        <TopOutUnits>mi</TopOutUnits>
+        <BottomInUnits>m</BottomInUnits>
+        <BottomOutUnits>km</BottomOutUnits>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Select</Name>
+      <Type>Select</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select</ImageClass>
+      <Label>Select</Label>
+      <Tooltip>Click to select features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>SelectionPanel</Name>
+      <Type>SelectionPanel</Type>
+      <Location/>
+      <Extension>
+        <PreviousImageUrl>
+        </PreviousImageUrl>
+        <NextImageUrl>
+        </NextImageUrl>
+        <ResultsPerPage>0</ResultsPerPage>
+        <SelectionRenderer>Fusion.Widget.SelectionPanel.SelectionRendererDefault</SelectionRenderer>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectPolygon</Name>
+      <Type>SelectPolygon</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-polygon</ImageClass>
+      <Label>Select Polygon</Label>
+      <Tooltip>Draw a polygon to perform a selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectRadius</Name>
+      <Type>SelectRadius</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <DefaultRadius>20</DefaultRadius>
+        <RadiusTooltipContainer>
+        </RadiusTooltipContainer>
+        <RadiusTooltipType>dynamic</RadiusTooltipType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-radius</ImageClass>
+      <Label>Select Radius</Label>
+      <Tooltip>Click to select within a radius</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectRadiusValue</Name>
+      <Type>SelectRadiusValue</Type>
+      <Location/>
+      <Extension>
+        <RadiusName>SelectRadius</RadiusName>
+        <Label>
+        </Label>
+        <ClassName>
+        </ClassName>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Select radius value</Label>
+      <Tooltip>enter the radius for the Select by Radius tool</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>SelectWithin</Name>
+      <Type>SelectWithin</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+        <DisableIfSelectionEmpty>true</DisableIfSelectionEmpty>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-features</ImageClass>
+      <Label>Select within</Label>
+      <Tooltip>Click to select features within this selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>TaskPane</Name>
+      <Type>TaskPane</Type>
+      <Location/>
+      <Extension>
+        <InitialTask>
+        </InitialTask>
+        <MenuContainer>TaskMenu</MenuContainer>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Theme</Name>
+      <Type>Theme</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>theme</ImageClass>
+      <Label>Theme</Label>
+      <Tooltip>Click to create a themed layer</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ViewOptions</Name>
+      <Type>ViewOptions</Type>
+      <Location/>
+      <Extension>
+        <DisplayUnits>
+        </DisplayUnits>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>options</ImageClass>
+      <Label>Options</Label>
+      <Tooltip>Click to change the units displayed</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Zoom</Name>
+      <Type>Zoom</Type>
+      <Location/>
+      <Extension>
+        <Tolerance>5</Tolerance>
+        <Factor>2</Factor>
+        <Direction>in</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in</ImageClass>
+      <Label>Zoom Rectangle</Label>
+      <Tooltip>Click or click and drag on the map to zoom in</Tooltip>
+      <StatusText>Click or click and drag on the map to zoom in</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomToSelection</Name>
+      <Type>ZoomToSelection</Type>
+      <Location/>
+      <Extension>
+        <MaximumZoomDimension>-1</MaximumZoomDimension>
+        <ZoomFactor>2</ZoomFactor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-zoom</ImageClass>
+      <Label>Zoom Selection</Label>
+      <Tooltip>Click to zoom to the selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomIn</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>2</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in-fixed</ImageClass>
+      <Label>Zoom In</Label>
+      <Tooltip>Zoom in by a preset increment</Tooltip>
+      <StatusText>Zoom in by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>ZoomOut</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>0.5</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-out-fixed</ImageClass>
+      <Label>Zoom Out</Label>
+      <Tooltip>Zoom out by a preset increment</Tooltip>
+      <StatusText>Zoom out by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>PreviousView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>previous</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-back</ImageClass>
+      <Label>Previous</Label>
+      <Tooltip>Go to previous view</Tooltip>
+      <StatusText>Go to previous view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>NextView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>next</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-forward</ImageClass>
+      <Label>Next</Label>
+      <Tooltip>Go to next view</Tooltip>
+      <StatusText>Go to next view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>tbBuffer</Name>
+      <Type>BufferPanel</Type>
+      <Location/>
+      <Extension>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>buffer</ImageClass>
+      <Label>Buffer</Label>
+      <Tooltip>Measure distances and areas on the map</Tooltip>
+      <StatusText>Create buffers around the selected features</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>Measure</Name>
+      <Type>Measure</Type>
+      <Location/>
+      <Extension>
+        <Type>both</Type>
+        <MeasureTooltipContainer>MeasureResult</MeasureTooltipContainer>
+        <MeasureTooltipType>dynamic</MeasureTooltipType>
+        <DistancePrecision>0</DistancePrecision>
+        <AreaPrecision>0</AreaPrecision>
+        <Units>meters</Units>
+        <Target>TaskPane</Target>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>measure</ImageClass>
+      <Label>Measure</Label>
+      <Tooltip>Measure</Tooltip>
+      <StatusText>Measure distances and areas on the map</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showOverview</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showOverviewMap()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Overview</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showTaskPane</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showTaskPane()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Task Pane</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showLegend</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showLegend()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Legend</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>showSelectionPanel</Name>
+      <Type>InvokeScript</Type>
+      <Location/>
+      <Extension>
+        <Script>showSelectionPanel()</Script>
+      </Extension>
+      <ImageUrl/>
+      <ImageClass/>
+      <Label>Show Selection Panel</Label>
+      <Tooltip/>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget>
+      <Name>statusCoordinates</Name>
+      <Type>CursorPosition</Type>
+      <Location/>
+      <Extension>
+        <Template>X: {x} {units}, Y: {y} {units}</Template>
+        <Precision>4</Precision>
+        <DisplayProjection>
+        </DisplayProjection>
+        <Units>dd</Units>
+        <EmptyText>&amp;nbsp;</EmptyText>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>statusSelection</Name>
+      <Type>SelectionInfo</Type>
+      <Location/>
+      <Extension>
+        <Template>{0} feature(s) selected on {1} layer(s)</Template>
+        <EmptyText>No selection</EmptyText>
+      </Extension>
+    </Widget>
+    <Widget>
+      <Name>statusViewSize</Name>
+      <Type>ViewSize</Type>
+      <Location/>
+      <Extension>
+        <Units>Meters</Units>
+        <Precision>2</Precision>
+        <Template>{w} x {h} ({units})</Template>
+      </Extension>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomIn</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>2</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in-fixed</ImageClass>
+      <Label/>
+      <Tooltip>Zoom in by a preset increment</Tooltip>
+      <StatusText>Zoom in by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomOut</Name>
+      <Type>ZoomOnClick</Type>
+      <Location/>
+      <Extension>
+        <Factor>0.5</Factor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-out-fixed</ImageClass>
+      <Label/>
+      <Tooltip>Zoom out by a preset increment</Tooltip>
+      <StatusText>Zoom out by a preset increment</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertPreviousView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>previous</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-back</ImageClass>
+      <Label/>
+      <Tooltip>Go to previous view</Tooltip>
+      <StatusText>Go to previous view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertNextView</Name>
+      <Type>ExtentHistory</Type>
+      <Location/>
+      <Extension>
+        <Direction>next</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>view-forward</ImageClass>
+      <Label/>
+      <Tooltip>Go to next view</Tooltip>
+      <StatusText>Go to next view</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertSelect</Name>
+      <Type>Select</Type>
+      <Location/>
+      <Extension>
+        <SelectionType>INTERSECTS</SelectionType>
+        <Tolerance>3</Tolerance>
+        <QueryActiveLayer>false</QueryActiveLayer>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select</ImageClass>
+      <Label/>
+      <Tooltip>Click to select features</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertPan</Name>
+      <Type>Pan</Type>
+      <Location/>
+      <Extension/>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>pan</ImageClass>
+      <Label/>
+      <Tooltip>Click and drag to pan the map</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoom</Name>
+      <Type>Zoom</Type>
+      <Location/>
+      <Extension>
+        <Tolerance>5</Tolerance>
+        <Factor>2</Factor>
+        <Direction>in</Direction>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-in</ImageClass>
+      <Label/>
+      <Tooltip>Click or click and drag on the map to zoom in</Tooltip>
+      <StatusText>Click or click and drag on the map to zoom in</StatusText>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertInitialMapView</Name>
+      <Type>InitialMapView</Type>
+      <Location/>
+      <Extension>
+        <ViewType>initial</ViewType>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>zoom-full</ImageClass>
+      <Label/>
+      <Tooltip>Click to zoom to the full map extents</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+    <Widget xsi:type="UiWidgetType">
+      <Name>vertZoomToSelection</Name>
+      <Type>ZoomToSelection</Type>
+      <Location/>
+      <Extension>
+        <MaximumZoomDimension>-1</MaximumZoomDimension>
+        <ZoomFactor>2</ZoomFactor>
+      </Extension>
+      <ImageUrl>images/icons.png</ImageUrl>
+      <ImageClass>select-zoom</ImageClass>
+      <Label/>
+      <Tooltip>Click to zoom to the selection</Tooltip>
+      <StatusText/>
+      <Disabled>false</Disabled>
+    </Widget>
+  </WidgetSet>
+  <Extension/>
+</ApplicationDefinition>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/TurquoiseYellow.ApplicationDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/TurquoiseYellow.ApplicationDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/TurquoiseYellow.ApplicationDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/FlexibleLayouts/_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceFolderHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceFolderHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceFolderHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Buildings.LayerDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Buildings.LayerDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Buildings.LayerDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<LayerDefinition version="1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LayerDefinition-1.0.0.xsd">
+  <VectorLayerDefinition>
+    <ResourceId>Library://Samples/Sheboygan/Data/BuildingOutlines.FeatureSource</ResourceId>
+    <FeatureName>SHP_Schema:BuildingOutlines</FeatureName>
+    <FeatureNameType>FeatureClass</FeatureNameType>
+    <Geometry>SHPGEOM</Geometry>
+    <VectorScaleRange>
+      <MaxScale>1500</MaxScale>
+      <AreaTypeStyle>
+        <AreaRule>
+          <LegendLabel/>
+          <AreaSymbolization2D>
+            <Fill>
+              <FillPattern>Solid</FillPattern>
+              <ForegroundColor>FF808080</ForegroundColor>
+              <BackgroundColor>FF808080</BackgroundColor>
+            </Fill>
+            <Stroke>
+              <LineStyle>Solid</LineStyle>
+              <Thickness>0</Thickness>
+              <Color>FFDDDDDD</Color>
+              <Unit>Inches</Unit>
+            </Stroke>
+          </AreaSymbolization2D>
+        </AreaRule>
+      </AreaTypeStyle>
+    </VectorScaleRange>
+  </VectorLayerDefinition>
+</LayerDefinition>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Buildings.LayerDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Buildings.LayerDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Buildings.LayerDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>LayerDefinitionVector</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Queryable</Name>
+        <Value>1</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Abstract</Name>
+        <Value>Buildings in the city</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>Buildings</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Opaque</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/CityLimits.LayerDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/CityLimits.LayerDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/CityLimits.LayerDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<LayerDefinition version="1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LayerDefinition-1.0.0.xsd">
+  <VectorLayerDefinition>
+    <ResourceId>Library://Samples/Sheboygan/Data/CityLimits.FeatureSource</ResourceId>
+    <FeatureName>SHP_Schema:CityLimits</FeatureName>
+    <FeatureNameType>FeatureClass</FeatureNameType>
+    <Geometry>SHPGEOM</Geometry>
+    <VectorScaleRange>
+      <MaxScale>10000</MaxScale>
+      <AreaTypeStyle>
+        <AreaRule>
+          <LegendLabel/>
+          <AreaSymbolization2D>
+            <Fill>
+              <FillPattern>Solid</FillPattern>
+              <ForegroundColor>FFC0C0C0</ForegroundColor>
+              <BackgroundColor>FF000000</BackgroundColor>
+            </Fill>
+            <Stroke>
+              <LineStyle>Solid</LineStyle>
+              <Thickness>0</Thickness>
+              <Color>FFC0C0C0</Color>
+              <Unit>Inches</Unit>
+            </Stroke>
+          </AreaSymbolization2D>
+        </AreaRule>
+      </AreaTypeStyle>
+    </VectorScaleRange>
+    <VectorScaleRange>
+      <MinScale>10000</MinScale>
+      <AreaTypeStyle>
+        <AreaRule>
+          <LegendLabel/>
+          <AreaSymbolization2D>
+            <Fill>
+              <FillPattern>Solid</FillPattern>
+              <ForegroundColor>FFD5C8AC</ForegroundColor>
+              <BackgroundColor>FF000000</BackgroundColor>
+            </Fill>
+            <Stroke>
+              <LineStyle>Solid</LineStyle>
+              <Thickness>0</Thickness>
+              <Color>FFD5C8AC</Color>
+              <Unit>Inches</Unit>
+            </Stroke>
+          </AreaSymbolization2D>
+        </AreaRule>
+      </AreaTypeStyle>
+    </VectorScaleRange>
+  </VectorLayerDefinition>
+</LayerDefinition>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/CityLimits.LayerDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/CityLimits.LayerDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/CityLimits.LayerDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>LayerDefinitionVector</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Queryable</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>City Limits</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Opaque</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Districts.LayerDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Districts.LayerDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Districts.LayerDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<LayerDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0.0" xsi:noNamespaceSchemaLocation="LayerDefinition-1.0.0.xsd">
+  <VectorLayerDefinition>
+    <ResourceId>Library://Samples/Sheboygan/Data/VotingDistricts.FeatureSource</ResourceId>
+    <FeatureName>Default:VotingDistricts</FeatureName>
+    <FeatureNameType>FeatureClass</FeatureNameType>
+    <Geometry>Geometry</Geometry>
+    <VectorScaleRange>
+      <MinScale>10000</MinScale>
+      <AreaTypeStyle>
+        <AreaRule>
+          <LegendLabel/>
+          <Label>
+            <Unit>Points</Unit>
+            <SizeContext>DeviceUnits</SizeContext>
+            <SizeX>0</SizeX>
+            <SizeY>10</SizeY>
+            <Text>concat('District ', FeatId)</Text>
+            <FontName>Verdana</FontName>
+            <ForegroundColor>FF625231</ForegroundColor>
+            <BackgroundColor>FFFFFFFF</BackgroundColor>
+            <BackgroundStyle>Transparent</BackgroundStyle>
+          </Label>
+          <AreaSymbolization2D>
+            <Fill>
+              <FillPattern>None</FillPattern>
+              <ForegroundColor>00FFFFFF</ForegroundColor>
+              <BackgroundColor>FF000000</BackgroundColor>
+            </Fill>
+            <Stroke>
+              <LineStyle>Solid</LineStyle>
+              <Thickness>0</Thickness>
+              <Color>FFA68B53</Color>
+              <Unit>Inches</Unit>
+            </Stroke>
+          </AreaSymbolization2D>
+        </AreaRule>
+      </AreaTypeStyle>
+    </VectorScaleRange>
+  </VectorLayerDefinition>
+</LayerDefinition>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Districts.LayerDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Districts.LayerDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Districts.LayerDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>LayerDefinitionVector</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Queryable</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>Districts</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Opaque</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Hydrography.LayerDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Hydrography.LayerDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Hydrography.LayerDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<LayerDefinition version="1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LayerDefinition-1.0.0.xsd">
+  <VectorLayerDefinition>
+    <ResourceId>Library://Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource</ResourceId>
+    <FeatureName>SHP_Schema:HydrographicPolygons</FeatureName>
+    <FeatureNameType>FeatureClass</FeatureNameType>
+    <Geometry>SHPGEOM</Geometry>
+    <VectorScaleRange>
+      <AreaTypeStyle>
+        <AreaRule>
+          <LegendLabel/>
+          <AreaSymbolization2D>
+            <Fill>
+              <FillPattern>Solid</FillPattern>
+              <ForegroundColor>FFABC7E9</ForegroundColor>
+              <BackgroundColor>FF000000</BackgroundColor>
+            </Fill>
+            <Stroke>
+              <LineStyle>Solid</LineStyle>
+              <Thickness>0</Thickness>
+              <Color>FFABC7E9</Color>
+              <Unit>Inches</Unit>
+            </Stroke>
+          </AreaSymbolization2D>
+        </AreaRule>
+      </AreaTypeStyle>
+    </VectorScaleRange>
+  </VectorLayerDefinition>
+</LayerDefinition>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Hydrography.LayerDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Hydrography.LayerDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Hydrography.LayerDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>LayerDefinitionVector</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Queryable</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Abstract</Name>
+        <Value>Water features</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>Hydrography</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Opaque</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Islands.LayerDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Islands.LayerDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Islands.LayerDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<LayerDefinition version="1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LayerDefinition-1.0.0.xsd">
+  <VectorLayerDefinition>
+    <ResourceId>Library://Samples/Sheboygan/Data/Islands.FeatureSource</ResourceId>
+    <FeatureName>SHP_Schema:Islands</FeatureName>
+    <FeatureNameType>FeatureClass</FeatureNameType>
+    <Geometry>SHPGEOM</Geometry>
+    <VectorScaleRange>
+      <AreaTypeStyle>
+        <AreaRule>
+          <LegendLabel/>
+          <AreaSymbolization2D>
+            <Fill>
+              <FillPattern>Solid</FillPattern>
+              <ForegroundColor>FFD5C8AC</ForegroundColor>
+              <BackgroundColor>FF000000</BackgroundColor>
+            </Fill>
+            <Stroke>
+              <LineStyle>Solid</LineStyle>
+              <Thickness>0</Thickness>
+              <Color>FFD5C8AC</Color>
+              <Unit>Inches</Unit>
+            </Stroke>
+          </AreaSymbolization2D>
+        </AreaRule>
+      </AreaTypeStyle>
+    </VectorScaleRange>
+  </VectorLayerDefinition>
+</LayerDefinition>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Islands.LayerDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Islands.LayerDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Islands.LayerDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>LayerDefinitionVector</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Keywords</Name>
+        <Value>Islands</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>Islands</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Opaque</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Queryable</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Parcels.LayerDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Parcels.LayerDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Parcels.LayerDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,190 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<LayerDefinition version="1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LayerDefinition-1.0.0.xsd">
+  <VectorLayerDefinition>
+    <ResourceId>Library://Samples/Sheboygan/Data/Parcels.FeatureSource</ResourceId>
+    <FeatureName>SHP_Schema:Parcels</FeatureName>
+    <FeatureNameType>FeatureClass</FeatureNameType>
+    <PropertyMapping>
+      <Name>RLDESCR1</Name>
+      <Value>Description1</Value>
+    </PropertyMapping>
+    <PropertyMapping>
+      <Name>RTYPE</Name>
+      <Value>Zone</Value>
+    </PropertyMapping>
+    <PropertyMapping>
+      <Name>RACRE</Name>
+      <Value>Acreage</Value>
+    </PropertyMapping>
+    <PropertyMapping>
+      <Name>RLOT</Name>
+      <Value>Lot Dimensions</Value>
+    </PropertyMapping>
+    <PropertyMapping>
+      <Name>RNAME</Name>
+      <Value>Owner</Value>
+    </PropertyMapping>
+    <PropertyMapping>
+      <Name>RLDESCR2</Name>
+      <Value>Description2</Value>
+    </PropertyMapping>
+    <PropertyMapping>
+      <Name>RLDESCR3</Name>
+      <Value>Description3</Value>
+    </PropertyMapping>
+    <PropertyMapping>
+      <Name>RBILAD</Name>
+      <Value>Billing Address</Value>
+    </PropertyMapping>
+    <PropertyMapping>
+      <Name>RSQFT</Name>
+      <Value>Lot Size (SqFt)</Value>
+    </PropertyMapping>
+    <PropertyMapping>
+      <Name>RLDESCR4</Name>
+      <Value>Description4</Value>
+    </PropertyMapping>
+    <Geometry>SHPGEOM</Geometry>
+    <ToolTip>concat('Parcel\nName: ', concat(RNAME, concat('\nAddress: ', RBILAD)))</ToolTip>
+    <VectorScaleRange>
+      <MaxScale>10000</MaxScale>
+      <AreaTypeStyle>
+        <AreaRule>
+          <LegendLabel>Zone:  AGR</LegendLabel>
+          <Filter>RTYPE = 'AGR'</Filter>
+          <AreaSymbolization2D>
+            <Fill>
+              <FillPattern>Solid</FillPattern>
+              <ForegroundColor>FFC19E6A</ForegroundColor>
+              <BackgroundColor>FF000000</BackgroundColor>
+            </Fill>
+            <Stroke>
+              <LineStyle>Solid</LineStyle>
+              <Thickness>0</Thickness>
+              <Color>FF808080</Color>
+              <Unit>Inches</Unit>
+            </Stroke>
+          </AreaSymbolization2D>
+        </AreaRule>
+        <AreaRule>
+          <LegendLabel>Zone:  EXM</LegendLabel>
+          <Filter>RTYPE = 'EXM'</Filter>
+          <AreaSymbolization2D>
+            <Fill>
+              <FillPattern>Solid</FillPattern>
+              <ForegroundColor>FFB9A670</ForegroundColor>
+              <BackgroundColor>FF000000</BackgroundColor>
+            </Fill>
+            <Stroke>
+              <LineStyle>Solid</LineStyle>
+              <Thickness>0</Thickness>
+              <Color>FF808080</Color>
+              <Unit>Inches</Unit>
+            </Stroke>
+          </AreaSymbolization2D>
+        </AreaRule>
+        <AreaRule>
+          <LegendLabel>Zone:  MER</LegendLabel>
+          <Filter>RTYPE = 'MER'</Filter>
+          <AreaSymbolization2D>
+            <Fill>
+              <FillPattern>Solid</FillPattern>
+              <ForegroundColor>FFB2AE77</ForegroundColor>
+              <BackgroundColor>FF000000</BackgroundColor>
+            </Fill>
+            <Stroke>
+              <LineStyle>Solid</LineStyle>
+              <Thickness>0</Thickness>
+              <Color>FF808080</Color>
+              <Unit>Inches</Unit>
+            </Stroke>
+          </AreaSymbolization2D>
+        </AreaRule>
+        <AreaRule>
+          <LegendLabel>Zone:  MFG</LegendLabel>
+          <Filter>RTYPE = 'MFG'</Filter>
+          <AreaSymbolization2D>
+            <Fill>
+              <FillPattern>Solid</FillPattern>
+              <ForegroundColor>FFABB67E</ForegroundColor>
+              <BackgroundColor>FF000000</BackgroundColor>
+            </Fill>
+            <Stroke>
+              <LineStyle>Solid</LineStyle>
+              <Thickness>0</Thickness>
+              <Color>FF808080</Color>
+              <Unit>Inches</Unit>
+            </Stroke>
+          </AreaSymbolization2D>
+        </AreaRule>
+        <AreaRule>
+          <LegendLabel>Zone:  RES</LegendLabel>
+          <Filter>RTYPE = 'RES'</Filter>
+          <AreaSymbolization2D>
+            <Fill>
+              <FillPattern>Solid</FillPattern>
+              <ForegroundColor>FFA4BE85</ForegroundColor>
+              <BackgroundColor>FF000000</BackgroundColor>
+            </Fill>
+            <Stroke>
+              <LineStyle>Solid</LineStyle>
+              <Thickness>0</Thickness>
+              <Color>FF808080</Color>
+              <Unit>Inches</Unit>
+            </Stroke>
+          </AreaSymbolization2D>
+        </AreaRule>
+        <AreaRule>
+          <LegendLabel>Zone:  S&W</LegendLabel>
+          <Filter>RTYPE = 'S&W'</Filter>
+          <AreaSymbolization2D>
+            <Fill>
+              <FillPattern>Solid</FillPattern>
+              <ForegroundColor>FF9DC68C</ForegroundColor>
+              <BackgroundColor>FF000000</BackgroundColor>
+            </Fill>
+            <Stroke>
+              <LineStyle>Solid</LineStyle>
+              <Thickness>0</Thickness>
+              <Color>FF808080</Color>
+              <Unit>Inches</Unit>
+            </Stroke>
+          </AreaSymbolization2D>
+        </AreaRule>
+        <AreaRule>
+          <LegendLabel>Zone:  WTC</LegendLabel>
+          <Filter>RTYPE = 'WTC'</Filter>
+          <AreaSymbolization2D>
+            <Fill>
+              <FillPattern>Solid</FillPattern>
+              <ForegroundColor>FF96CE93</ForegroundColor>
+              <BackgroundColor>FF000000</BackgroundColor>
+            </Fill>
+            <Stroke>
+              <LineStyle>Solid</LineStyle>
+              <Thickness>0</Thickness>
+              <Color>FF808080</Color>
+              <Unit>Inches</Unit>
+            </Stroke>
+          </AreaSymbolization2D>
+        </AreaRule>
+        <AreaRule>
+          <LegendLabel>Zone:  Other</LegendLabel>
+          <AreaSymbolization2D>
+            <Fill>
+              <FillPattern>Solid</FillPattern>
+              <ForegroundColor>FFD4D4D4</ForegroundColor>
+              <BackgroundColor>FF000000</BackgroundColor>
+            </Fill>
+            <Stroke>
+              <LineStyle>Solid</LineStyle>
+              <Thickness>0</Thickness>
+              <Color>FF000000</Color>
+              <Unit>Inches</Unit>
+            </Stroke>
+          </AreaSymbolization2D>
+        </AreaRule>
+      </AreaTypeStyle>
+    </VectorScaleRange>
+  </VectorLayerDefinition>
+</LayerDefinition>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Parcels.LayerDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Parcels.LayerDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Parcels.LayerDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>LayerDefinitionVector</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Queryable</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>Parcels</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Opaque</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Roads.LayerDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Roads.LayerDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Roads.LayerDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<LayerDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0.0" xsi:noNamespaceSchemaLocation="LayerDefinition-1.0.0.xsd">
+  <VectorLayerDefinition>
+    <ResourceId>Library://Samples/Sheboygan/Data/RoadCenterLines.FeatureSource</ResourceId>
+    <FeatureName>Default:RoadCenterLines</FeatureName>
+    <FeatureNameType>FeatureClass</FeatureNameType>
+    <Geometry>Geometry</Geometry>
+    <VectorScaleRange>
+      <MaxScale>10000</MaxScale>
+      <LineTypeStyle>
+        <LineRule>
+          <LegendLabel/>
+          <Label>
+            <Unit>Points</Unit>
+            <SizeContext>DeviceUnits</SizeContext>
+            <SizeX>0</SizeX>
+            <SizeY>8</SizeY>
+            <Text>NAME</Text>
+            <FontName>Verdana</FontName>
+            <ForegroundColor>FF000000</ForegroundColor>
+            <BackgroundColor>FFFFFFFF</BackgroundColor>
+            <BackgroundStyle>Transparent</BackgroundStyle>
+          </Label>
+          <LineSymbolization2D>
+            <LineStyle>Solid</LineStyle>
+            <Thickness>0.5</Thickness>
+            <Color>FF808080</Color>
+            <Unit>Millimeters</Unit>
+          </LineSymbolization2D>
+        </LineRule>
+      </LineTypeStyle>
+    </VectorScaleRange>
+    <VectorScaleRange>
+      <MinScale>10000</MinScale>
+      <MaxScale>24000</MaxScale>
+      <LineTypeStyle>
+        <LineRule>
+          <LegendLabel/>
+          <LineSymbolization2D>
+            <LineStyle>Solid</LineStyle>
+            <Thickness>0.5</Thickness>
+            <Color>FF808080</Color>
+            <Unit>Millimeters</Unit>
+          </LineSymbolization2D>
+        </LineRule>
+      </LineTypeStyle>
+    </VectorScaleRange>
+  </VectorLayerDefinition>
+</LayerDefinition>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Roads.LayerDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Roads.LayerDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Roads.LayerDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>LayerDefinitionVector</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Queryable</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>Roads</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Opaque</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Tracks.LayerDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Tracks.LayerDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Tracks.LayerDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<LayerDefinition version="1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LayerDefinition-1.0.0.xsd">
+  <VectorLayerDefinition>
+    <ResourceId>Library://Samples/Sheboygan/Data/Rail.FeatureSource</ResourceId>
+    <FeatureName>SHP_Schema:Rail</FeatureName>
+    <FeatureNameType>FeatureClass</FeatureNameType>
+    <Geometry>SHPGEOM</Geometry>
+    <VectorScaleRange>
+      <MaxScale>24000</MaxScale>
+      <LineTypeStyle>
+        <LineRule>
+          <LegendLabel/>
+          <LineSymbolization2D>
+            <LineStyle>Rail</LineStyle>
+            <Thickness>0</Thickness>
+            <Color>FF646464</Color>
+            <Unit>Inches</Unit>
+          </LineSymbolization2D>
+        </LineRule>
+      </LineTypeStyle>
+    </VectorScaleRange>
+  </VectorLayerDefinition>
+</LayerDefinition>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Tracks.LayerDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Tracks.LayerDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/Tracks.LayerDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+  <General>
+    <IconName>LayerDefinitionVector</IconName>
+  </General>
+  <Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+    <Inherited>true</Inherited>
+  </Security>
+  <Metadata>
+    <Simple>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Queryable</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Abstract</Name>
+        <Value>Railroad right of way</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Bounds</Name>
+        <Value><Bounds SRS="EPSG:4326" west="-87.74" south="43.68" east="-87.69" north="43.815"/></Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Title</Name>
+        <Value>Tracks</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_Opaque</Name>
+        <Value>0</Value>
+      </Property>
+      <Property xsi:noNamespaceSchemaLocation="Property-1.0.0.xsd">
+        <Name>_IsPublished</Name>
+        <Value>1</Value>
+      </Property>
+    </Simple>
+  </Metadata>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layers/_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceFolderHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceFolderHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceFolderHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,623 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<WebLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="WebLayout-1.0.0.xsd">
+  <Title>Sheboygan Map</Title>
+  <Map>
+    <ResourceId>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</ResourceId>
+    <HyperlinkTarget>TaskPane</HyperlinkTarget>
+  </Map>
+  <ToolBar>
+    <Visible>true</Visible>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Print</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Get Printable Page</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Measure</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Buffer</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Zoom</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Previous View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Next View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Map View</Command>
+      </SubItem>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Rectangle</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom In</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Out</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Select</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Pan</Command>
+    </Button>
+  </ToolBar>
+  <InformationPane>
+    <Visible>true</Visible>
+    <Width>200</Width>
+    <LegendVisible>true</LegendVisible>
+    <PropertiesVisible>true</PropertiesVisible>
+  </InformationPane>
+  <ContextMenu>
+    <Visible>true</Visible>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Print</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Refresh Map</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Copy</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Pan</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Rectangle</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom In</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Out</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Zoom</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Map View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Previous View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Next View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Center and Scale</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Zoom Selection</Command>
+      </SubItem>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Select</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Clear Selection</Command>
+    </MenuItem>
+    <MenuItem xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Select More</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Radius</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Polygon</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Within</Command>
+      </SubItem>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Buffer</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Measure</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>View Options</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Help</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>About</Command>
+    </MenuItem>
+  </ContextMenu>
+  <TaskPane>
+    <Visible>true</Visible>
+    <Width>250</Width>
+    <TaskBar>
+      <Visible>true</Visible>
+      <Home>
+        <Name>Home</Name>
+        <Tooltip>Return to home task page</Tooltip>
+        <Description>Return to home task page</Description>
+        <ImageURL>../stdicons/icon_home.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_home_disabled.gif</DisabledImageURL>
+      </Home>
+      <Forward>
+        <Name>Forward</Name>
+        <Tooltip>Forward to next task page</Tooltip>
+        <Description>Forward to next task page</Description>
+        <ImageURL>../stdicons/icon_forward.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_forward_disabled.gif</DisabledImageURL>
+      </Forward>
+      <Back>
+        <Name>Back</Name>
+        <Tooltip>Return to previous task page</Tooltip>
+        <Description>Return to previous task page</Description>
+        <ImageURL>../stdicons/icon_back.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_back_disabled.gif</DisabledImageURL>
+      </Back>
+      <Tasks>
+        <Name>Tasks</Name>
+        <Tooltip>Task list</Tooltip>
+        <Description>View a list of available tasks</Description>
+        <ImageURL>../stdicons/icon_tasks.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_tasks_disabled.gif</DisabledImageURL>
+      </Tasks>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Overview</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Query</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Theme</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Find Address</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Plot</Command>
+      </MenuButton>
+      <MenuButton xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Buffer</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Measure</Command>
+      </MenuButton>
+    </TaskBar>
+    <InitialTask>../dotnetviewersample/overview/overviewmain.aspx</InitialTask>
+  </TaskPane>
+  <StatusBar>
+    <Visible>true</Visible>
+  </StatusBar>
+  <ZoomControl>
+    <Visible>true</Visible>
+  </ZoomControl>
+  <CommandSet>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan</Name>
+      <Label>Pan</Label>
+      <Tooltip>Pan mode</Tooltip>
+      <Description>Drag the map to view areas out of range</Description>
+      <ImageURL>../stdicons/icon_pan.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_pan_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Pan</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Up</Name>
+      <Label>Pan Up</Label>
+      <Tooltip>Pan up</Tooltip>
+      <Description>Pan up by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panup.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panup_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanUp</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Down</Name>
+      <Label>Pan Down</Label>
+      <Tooltip>Pan down</Tooltip>
+      <Description>Pan down by a preset increment</Description>
+      <ImageURL>../stdicons/icon_pandown.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_pandown_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanDown</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Right</Name>
+      <Label>Pan Right</Label>
+      <Tooltip>Pan right</Tooltip>
+      <Description>Pan right by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panright.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panright_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanRight</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Left</Name>
+      <Label>Pan Left</Label>
+      <Tooltip>Pan left</Tooltip>
+      <Description>Pan left by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panleft.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panleft_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanLeft</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom</Name>
+      <Label>Zoom</Label>
+      <Tooltip>Zoom dynamic</Tooltip>
+      <Description>Zoom dynamically by clicking and dragging</Description>
+      <ImageURL>../stdicons/icon_zoom.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoom_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+      <Action>Zoom</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom In</Name>
+      <Label>Zoom In</Label>
+      <Tooltip>Zoom in</Tooltip>
+      <Description>Zoom in by a preset increment</Description>
+      <ImageURL>../stdicons/icon_zoomin.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomin_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomIn</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Out</Name>
+      <Label>Zoom Out</Label>
+      <Tooltip>Zoom out</Tooltip>
+      <Description>Zoom out by a preset increment</Description>
+      <ImageURL>../stdicons/icon_zoomout.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomout_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomOut</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Rectangle</Name>
+      <Label>Zoom Rectangle</Label>
+      <Tooltip>Zoom rectangle</Tooltip>
+      <Description>Zoom in on an area</Description>
+      <ImageURL>../stdicons/icon_zoomrect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomrect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomRectangle</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Selection</Name>
+      <Label>Zoom Selection</Label>
+      <Tooltip>Zoom to selection</Tooltip>
+      <Description>Zoom to extents of selected features</Description>
+      <ImageURL>../stdicons/icon_zoomselect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomselect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomToSelection</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Initial Map View</Name>
+      <Label>Initial Map View</Label>
+      <Tooltip>Initial map view</Tooltip>
+      <Description>Fit the extents of the map to the window</Description>
+      <ImageURL>../stdicons/icon_fitwindow.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_fitwindow_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>FitToWindow</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Previous View</Name>
+      <Label>Previous View</Label>
+      <Tooltip>Previous view</Tooltip>
+      <Description>Go to previous view</Description>
+      <ImageURL>../stdicons/icon_zoomprev.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomprev_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PreviousView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Next View</Name>
+      <Label>Next View</Label>
+      <Tooltip>Next view</Tooltip>
+      <Description>Go to next view</Description>
+      <ImageURL>../stdicons/icon_zoomnext.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomnext_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>NextView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Initial Center and Scale</Name>
+      <Label>Initial Center and Scale</Label>
+      <Tooltip>Initial center and scale</Tooltip>
+      <Description>Zoom to initial map center and scale</Description>
+      <ImageURL>../stdicons/icon_restorecenter.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_restorecenter_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>RestoreView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select</Name>
+      <Label>Select</Label>
+      <Tooltip>Select mode</Tooltip>
+      <Description>Select features by clicking and dragging</Description>
+      <ImageURL>../stdicons/icon_select.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_select_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Select</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select Radius</Name>
+      <Label>Select Radius</Label>
+      <Tooltip>Select radius</Tooltip>
+      <Description>Click and drag to select all features inside the circle</Description>
+      <ImageURL>../stdicons/icon_selectradius.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectradius_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>SelectRadius</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select Polygon</Name>
+      <Label>Select Polygon</Label>
+      <Tooltip>Select polygon</Tooltip>
+      <Description>Create a polygon to select all features that fall within</Description>
+      <ImageURL>../stdicons/icon_selectpolygon.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectpolygon_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>SelectPolygon</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Clear Selection</Name>
+      <Label>Clear Selection</Label>
+      <Tooltip>Clear selection</Tooltip>
+      <Description>Clear the current selections</Description>
+      <ImageURL>../stdicons/icon_clearselect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_clearselect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ClearSelection</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Refresh Map</Name>
+      <Label>Refresh Map</Label>
+      <Tooltip>Refresh map</Tooltip>
+      <Description>Refresh map and reload all layers keeping current center and scale</Description>
+      <ImageURL>../stdicons/icon_refreshmap.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_refreshmap_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Refresh</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Copy</Name>
+      <Label>Copy</Label>
+      <Tooltip>Copy</Tooltip>
+      <Description>Copy current view of map to clipboard</Description>
+      <ImageURL>../stdicons/icon_copy.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_copy_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+      <Action>CopyMap</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>About</Name>
+      <Label>About</Label>
+      <Tooltip>About</Tooltip>
+      <Description>Display information about this application</Description>
+      <ImageURL/>
+      <DisabledImageURL/>
+      <TargetViewer>All</TargetViewer>
+      <Action>About</Action>
+    </Command>
+    <Command xsi:type="BufferCommandType">
+      <Name>Buffer</Name>
+      <Label>Buffer</Label>
+      <Tooltip>Buffer</Tooltip>
+      <Description>Create buffers around the selected features</Description>
+      <ImageURL>../stdicons/icon_buffer.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_buffer_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="SelectWithinCommandType">
+      <Name>Select Within</Name>
+      <Label>Select Within</Label>
+      <Tooltip>Select within</Tooltip>
+      <Description>Select features that fall within currently selected areas</Description>
+      <ImageURL>../stdicons/icon_selectwithin.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectwithin_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="PrintCommandType">
+      <Name>Print</Name>
+      <Label>Print</Label>
+      <Tooltip>Print</Tooltip>
+      <Description>Print with optional layout</Description>
+      <ImageURL>../stdicons/icon_print.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_print_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+    </Command>
+    <Command xsi:type="MeasureCommandType">
+      <Name>Measure</Name>
+      <Label>Measure</Label>
+      <Tooltip>Measure</Tooltip>
+      <Description>Measure distances on the map</Description>
+      <ImageURL>../stdicons/icon_measure.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_measure_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="ViewOptionsCommandType">
+      <Name>View Options</Name>
+      <Label>View Options</Label>
+      <Tooltip>View Options</Tooltip>
+      <Description>View Options</Description>
+      <ImageURL>../stdicons/icon_viewoptions.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_viewoptions_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="GetPrintablePageCommandType">
+      <Name>Get Printable Page</Name>
+      <Label>Get Printable Page</Label>
+      <Tooltip>Get printable Page</Tooltip>
+      <Description>Get printer-friendly page</Description>
+      <ImageURL>../stdicons/icon_printablepage.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_printablepage_disabled.gif</DisabledImageURL>
+      <TargetViewer>Ajax</TargetViewer>
+      <Target>NewWindow</Target>
+    </Command>
+    <Command xsi:type="HelpCommandType">
+      <Name>Help</Name>
+      <Label>Help</Label>
+      <Tooltip>Help</Tooltip>
+      <Description>Launch help for this application</Description>
+      <ImageURL>../stdicons/icon_help.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_help_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Overview</Name>
+      <Label>Overview</Label>
+      <Tooltip>Display an Overview</Tooltip>
+      <Description>Display an overview of the application</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../dotnetviewersample/overview/overviewmain.aspx</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Plot</Name>
+      <Label>Plot as DWF</Label>
+      <Tooltip>Plot as DWF</Tooltip>
+      <Description>Plot the current map as a DWF</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../dotnetviewersample/plot/plotmain.aspx</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Find Address</Name>
+      <Label>Find Address</Label>
+      <Tooltip>Find an Address</Tooltip>
+      <Description>Find an address in Sheboygan</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../dotnetviewersample/findaddress/findaddressmain.aspx</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Query</Name>
+      <Label>Query</Label>
+      <Tooltip>Query the Data</Tooltip>
+      <Description>Query the Data</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../dotnetviewersample/query/querymain.aspx</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Theme</Name>
+      <Label>Theme</Label>
+      <Tooltip>Create a Theme</Tooltip>
+      <Description>Create a Theme</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../dotnetviewersample/theme/thememain.aspx</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+  </CommandSet>
+</WebLayout>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAspTiled.WebLayout_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAspTiled.WebLayout_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAspTiled.WebLayout_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,623 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<WebLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="WebLayout-1.0.0.xsd">
+  <Title>Sheboygan Map</Title>
+  <Map>
+    <ResourceId>Library://Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition</ResourceId>
+    <HyperlinkTarget>TaskPane</HyperlinkTarget>
+  </Map>
+  <ToolBar>
+    <Visible>true</Visible>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Print</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Get Printable Page</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Measure</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Buffer</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Zoom</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Previous View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Next View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Map View</Command>
+      </SubItem>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Rectangle</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom In</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Out</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Select</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Pan</Command>
+    </Button>
+  </ToolBar>
+  <InformationPane>
+    <Visible>true</Visible>
+    <Width>200</Width>
+    <LegendVisible>true</LegendVisible>
+    <PropertiesVisible>true</PropertiesVisible>
+  </InformationPane>
+  <ContextMenu>
+    <Visible>true</Visible>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Print</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Refresh Map</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Copy</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Pan</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Rectangle</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom In</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Out</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Zoom</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Map View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Previous View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Next View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Center and Scale</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Zoom Selection</Command>
+      </SubItem>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Select</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Clear Selection</Command>
+    </MenuItem>
+    <MenuItem xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Select More</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Radius</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Polygon</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Within</Command>
+      </SubItem>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Buffer</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Measure</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>View Options</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Help</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>About</Command>
+    </MenuItem>
+  </ContextMenu>
+  <TaskPane>
+    <Visible>true</Visible>
+    <Width>250</Width>
+    <TaskBar>
+      <Visible>true</Visible>
+      <Home>
+        <Name>Home</Name>
+        <Tooltip>Return to home task page</Tooltip>
+        <Description>Return to home task page</Description>
+        <ImageURL>../stdicons/icon_home.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_home_disabled.gif</DisabledImageURL>
+      </Home>
+      <Forward>
+        <Name>Forward</Name>
+        <Tooltip>Forward to next task page</Tooltip>
+        <Description>Forward to next task page</Description>
+        <ImageURL>../stdicons/icon_forward.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_forward_disabled.gif</DisabledImageURL>
+      </Forward>
+      <Back>
+        <Name>Back</Name>
+        <Tooltip>Return to previous task page</Tooltip>
+        <Description>Return to previous task page</Description>
+        <ImageURL>../stdicons/icon_back.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_back_disabled.gif</DisabledImageURL>
+      </Back>
+      <Tasks>
+        <Name>Tasks</Name>
+        <Tooltip>Task list</Tooltip>
+        <Description>View a list of available tasks</Description>
+        <ImageURL>../stdicons/icon_tasks.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_tasks_disabled.gif</DisabledImageURL>
+      </Tasks>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Overview</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Query</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Theme</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Find Address</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Plot</Command>
+      </MenuButton>
+      <MenuButton xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Buffer</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Measure</Command>
+      </MenuButton>
+    </TaskBar>
+    <InitialTask>../dotnetviewersample/overview/overviewmain.aspx</InitialTask>
+  </TaskPane>
+  <StatusBar>
+    <Visible>true</Visible>
+  </StatusBar>
+  <ZoomControl>
+    <Visible>true</Visible>
+  </ZoomControl>
+  <CommandSet>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan</Name>
+      <Label>Pan</Label>
+      <Tooltip>Pan mode</Tooltip>
+      <Description>Drag the map to view areas out of range</Description>
+      <ImageURL>../stdicons/icon_pan.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_pan_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Pan</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Up</Name>
+      <Label>Pan Up</Label>
+      <Tooltip>Pan up</Tooltip>
+      <Description>Pan up by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panup.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panup_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanUp</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Down</Name>
+      <Label>Pan Down</Label>
+      <Tooltip>Pan down</Tooltip>
+      <Description>Pan down by a preset increment</Description>
+      <ImageURL>../stdicons/icon_pandown.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_pandown_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanDown</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Right</Name>
+      <Label>Pan Right</Label>
+      <Tooltip>Pan right</Tooltip>
+      <Description>Pan right by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panright.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panright_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanRight</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Left</Name>
+      <Label>Pan Left</Label>
+      <Tooltip>Pan left</Tooltip>
+      <Description>Pan left by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panleft.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panleft_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanLeft</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom</Name>
+      <Label>Zoom</Label>
+      <Tooltip>Zoom dynamic</Tooltip>
+      <Description>Zoom dynamically by clicking and dragging</Description>
+      <ImageURL>../stdicons/icon_zoom.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoom_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+      <Action>Zoom</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom In</Name>
+      <Label>Zoom In</Label>
+      <Tooltip>Zoom in</Tooltip>
+      <Description>Zoom in by a preset increment</Description>
+      <ImageURL>../stdicons/icon_zoomin.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomin_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomIn</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Out</Name>
+      <Label>Zoom Out</Label>
+      <Tooltip>Zoom out</Tooltip>
+      <Description>Zoom out by a preset increment</Description>
+      <ImageURL>../stdicons/icon_zoomout.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomout_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomOut</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Rectangle</Name>
+      <Label>Zoom Rectangle</Label>
+      <Tooltip>Zoom rectangle</Tooltip>
+      <Description>Zoom in on an area</Description>
+      <ImageURL>../stdicons/icon_zoomrect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomrect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomRectangle</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Selection</Name>
+      <Label>Zoom Selection</Label>
+      <Tooltip>Zoom to selection</Tooltip>
+      <Description>Zoom to extents of selected features</Description>
+      <ImageURL>../stdicons/icon_zoomselect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomselect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomToSelection</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Initial Map View</Name>
+      <Label>Initial Map View</Label>
+      <Tooltip>Initial map view</Tooltip>
+      <Description>Fit the extents of the map to the window</Description>
+      <ImageURL>../stdicons/icon_fitwindow.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_fitwindow_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>FitToWindow</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Previous View</Name>
+      <Label>Previous View</Label>
+      <Tooltip>Previous view</Tooltip>
+      <Description>Go to previous view</Description>
+      <ImageURL>../stdicons/icon_zoomprev.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomprev_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PreviousView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Next View</Name>
+      <Label>Next View</Label>
+      <Tooltip>Next view</Tooltip>
+      <Description>Go to next view</Description>
+      <ImageURL>../stdicons/icon_zoomnext.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomnext_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>NextView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Initial Center and Scale</Name>
+      <Label>Initial Center and Scale</Label>
+      <Tooltip>Initial center and scale</Tooltip>
+      <Description>Zoom to initial map center and scale</Description>
+      <ImageURL>../stdicons/icon_restorecenter.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_restorecenter_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>RestoreView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select</Name>
+      <Label>Select</Label>
+      <Tooltip>Select mode</Tooltip>
+      <Description>Select features by clicking and dragging</Description>
+      <ImageURL>../stdicons/icon_select.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_select_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Select</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select Radius</Name>
+      <Label>Select Radius</Label>
+      <Tooltip>Select radius</Tooltip>
+      <Description>Click and drag to select all features inside the circle</Description>
+      <ImageURL>../stdicons/icon_selectradius.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectradius_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>SelectRadius</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select Polygon</Name>
+      <Label>Select Polygon</Label>
+      <Tooltip>Select polygon</Tooltip>
+      <Description>Create a polygon to select all features that fall within</Description>
+      <ImageURL>../stdicons/icon_selectpolygon.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectpolygon_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>SelectPolygon</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Clear Selection</Name>
+      <Label>Clear Selection</Label>
+      <Tooltip>Clear selection</Tooltip>
+      <Description>Clear the current selections</Description>
+      <ImageURL>../stdicons/icon_clearselect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_clearselect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ClearSelection</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Refresh Map</Name>
+      <Label>Refresh Map</Label>
+      <Tooltip>Refresh map</Tooltip>
+      <Description>Refresh map and reload all layers keeping current center and scale</Description>
+      <ImageURL>../stdicons/icon_refreshmap.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_refreshmap_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Refresh</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Copy</Name>
+      <Label>Copy</Label>
+      <Tooltip>Copy</Tooltip>
+      <Description>Copy current view of map to clipboard</Description>
+      <ImageURL>../stdicons/icon_copy.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_copy_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+      <Action>CopyMap</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>About</Name>
+      <Label>About</Label>
+      <Tooltip>About</Tooltip>
+      <Description>Display information about this application</Description>
+      <ImageURL/>
+      <DisabledImageURL/>
+      <TargetViewer>All</TargetViewer>
+      <Action>About</Action>
+    </Command>
+    <Command xsi:type="BufferCommandType">
+      <Name>Buffer</Name>
+      <Label>Buffer</Label>
+      <Tooltip>Buffer</Tooltip>
+      <Description>Create buffers around the selected features</Description>
+      <ImageURL>../stdicons/icon_buffer.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_buffer_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="SelectWithinCommandType">
+      <Name>Select Within</Name>
+      <Label>Select Within</Label>
+      <Tooltip>Select within</Tooltip>
+      <Description>Select features that fall within currently selected areas</Description>
+      <ImageURL>../stdicons/icon_selectwithin.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectwithin_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="PrintCommandType">
+      <Name>Print</Name>
+      <Label>Print</Label>
+      <Tooltip>Print</Tooltip>
+      <Description>Print with optional layout</Description>
+      <ImageURL>../stdicons/icon_print.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_print_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+    </Command>
+    <Command xsi:type="MeasureCommandType">
+      <Name>Measure</Name>
+      <Label>Measure</Label>
+      <Tooltip>Measure</Tooltip>
+      <Description>Measure distances on the map</Description>
+      <ImageURL>../stdicons/icon_measure.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_measure_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="ViewOptionsCommandType">
+      <Name>View Options</Name>
+      <Label>View Options</Label>
+      <Tooltip>View Options</Tooltip>
+      <Description>View Options</Description>
+      <ImageURL>../stdicons/icon_viewoptions.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_viewoptions_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="GetPrintablePageCommandType">
+      <Name>Get Printable Page</Name>
+      <Label>Get Printable Page</Label>
+      <Tooltip>Get printable Page</Tooltip>
+      <Description>Get printer-friendly page</Description>
+      <ImageURL>../stdicons/icon_printablepage.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_printablepage_disabled.gif</DisabledImageURL>
+      <TargetViewer>Ajax</TargetViewer>
+      <Target>NewWindow</Target>
+    </Command>
+    <Command xsi:type="HelpCommandType">
+      <Name>Help</Name>
+      <Label>Help</Label>
+      <Tooltip>Help</Tooltip>
+      <Description>Launch help for this application</Description>
+      <ImageURL>../stdicons/icon_help.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_help_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Overview</Name>
+      <Label>Overview</Label>
+      <Tooltip>Display an Overview</Tooltip>
+      <Description>Display an overview of the application</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../dotnetviewersample/overview/overviewmain.aspx</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Plot</Name>
+      <Label>Plot as DWF</Label>
+      <Tooltip>Plot as DWF</Tooltip>
+      <Description>Plot the current map as a DWF</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../dotnetviewersample/plot/plotmain.aspx</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Find Address</Name>
+      <Label>Find Address</Label>
+      <Tooltip>Find an Address</Tooltip>
+      <Description>Find an address in Sheboygan</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../dotnetviewersample/findaddress/findaddressmain.aspx</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Query</Name>
+      <Label>Query</Label>
+      <Tooltip>Query the Data</Tooltip>
+      <Description>Query the Data</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../dotnetviewersample/query/querymain.aspx</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Theme</Name>
+      <Label>Theme</Label>
+      <Tooltip>Create a Theme</Tooltip>
+      <Description>Create a Theme</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../dotnetviewersample/theme/thememain.aspx</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+  </CommandSet>
+</WebLayout>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAspTiled.WebLayout_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAspTiled.WebLayout_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganAspTiled.WebLayout_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,623 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<WebLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="WebLayout-1.0.0.xsd">
+  <Title>Sheboygan Map</Title>
+  <Map>
+    <ResourceId>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</ResourceId>
+    <HyperlinkTarget>TaskPane</HyperlinkTarget>
+  </Map>
+  <ToolBar>
+    <Visible>true</Visible>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Print</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Get Printable Page</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Measure</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Buffer</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Zoom</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Previous View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Next View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Map View</Command>
+      </SubItem>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Rectangle</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom In</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Out</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Select</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Pan</Command>
+    </Button>
+  </ToolBar>
+  <InformationPane>
+    <Visible>true</Visible>
+    <Width>200</Width>
+    <LegendVisible>true</LegendVisible>
+    <PropertiesVisible>true</PropertiesVisible>
+  </InformationPane>
+  <ContextMenu>
+    <Visible>true</Visible>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Print</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Refresh Map</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Copy</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Pan</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Rectangle</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom In</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Out</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Zoom</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Map View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Previous View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Next View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Center and Scale</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Zoom Selection</Command>
+      </SubItem>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Select</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Clear Selection</Command>
+    </MenuItem>
+    <MenuItem xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Select More</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Radius</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Polygon</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Within</Command>
+      </SubItem>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Buffer</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Measure</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>View Options</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Help</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>About</Command>
+    </MenuItem>
+  </ContextMenu>
+  <TaskPane>
+    <Visible>true</Visible>
+    <Width>250</Width>
+    <TaskBar>
+      <Visible>true</Visible>
+      <Home>
+        <Name>Home</Name>
+        <Tooltip>Return to home task page</Tooltip>
+        <Description>Return to home task page</Description>
+        <ImageURL>../stdicons/icon_home.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_home_disabled.gif</DisabledImageURL>
+      </Home>
+      <Forward>
+        <Name>Forward</Name>
+        <Tooltip>Forward to next task page</Tooltip>
+        <Description>Forward to next task page</Description>
+        <ImageURL>../stdicons/icon_forward.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_forward_disabled.gif</DisabledImageURL>
+      </Forward>
+      <Back>
+        <Name>Back</Name>
+        <Tooltip>Return to previous task page</Tooltip>
+        <Description>Return to previous task page</Description>
+        <ImageURL>../stdicons/icon_back.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_back_disabled.gif</DisabledImageURL>
+      </Back>
+      <Tasks>
+        <Name>Tasks</Name>
+        <Tooltip>Task list</Tooltip>
+        <Description>View a list of available tasks</Description>
+        <ImageURL>../stdicons/icon_tasks.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_tasks_disabled.gif</DisabledImageURL>
+      </Tasks>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Overview</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Query</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Theme</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Find Address</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Plot</Command>
+      </MenuButton>
+      <MenuButton xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Buffer</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Measure</Command>
+      </MenuButton>
+    </TaskBar>
+    <InitialTask>../javaviewersample/overview/overviewmain.jsp</InitialTask>
+  </TaskPane>
+  <StatusBar>
+    <Visible>true</Visible>
+  </StatusBar>
+  <ZoomControl>
+    <Visible>true</Visible>
+  </ZoomControl>
+  <CommandSet>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan</Name>
+      <Label>Pan</Label>
+      <Tooltip>Pan mode</Tooltip>
+      <Description>Drag the map to view areas out of range</Description>
+      <ImageURL>../stdicons/icon_pan.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_pan_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Pan</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Up</Name>
+      <Label>Pan Up</Label>
+      <Tooltip>Pan up</Tooltip>
+      <Description>Pan up by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panup.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panup_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanUp</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Down</Name>
+      <Label>Pan Down</Label>
+      <Tooltip>Pan down</Tooltip>
+      <Description>Pan down by a preset increment</Description>
+      <ImageURL>../stdicons/icon_pandown.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_pandown_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanDown</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Right</Name>
+      <Label>Pan Right</Label>
+      <Tooltip>Pan right</Tooltip>
+      <Description>Pan right by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panright.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panright_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanRight</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Left</Name>
+      <Label>Pan Left</Label>
+      <Tooltip>Pan left</Tooltip>
+      <Description>Pan left by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panleft.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panleft_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanLeft</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom</Name>
+      <Label>Zoom</Label>
+      <Tooltip>Zoom dynamic</Tooltip>
+      <Description>Zoom dynamically by clicking and dragging</Description>
+      <ImageURL>../stdicons/icon_zoom.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoom_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+      <Action>Zoom</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom In</Name>
+      <Label>Zoom In</Label>
+      <Tooltip>Zoom in</Tooltip>
+      <Description>Zoom in by a preset increment</Description>
+      <ImageURL>../stdicons/icon_zoomin.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomin_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomIn</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Out</Name>
+      <Label>Zoom Out</Label>
+      <Tooltip>Zoom out</Tooltip>
+      <Description>Zoom out by a preset increment</Description>
+      <ImageURL>../stdicons/icon_zoomout.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomout_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomOut</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Rectangle</Name>
+      <Label>Zoom Rectangle</Label>
+      <Tooltip>Zoom rectangle</Tooltip>
+      <Description>Zoom in on an area</Description>
+      <ImageURL>../stdicons/icon_zoomrect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomrect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomRectangle</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Selection</Name>
+      <Label>Zoom Selection</Label>
+      <Tooltip>Zoom to selection</Tooltip>
+      <Description>Zoom to extents of selected features</Description>
+      <ImageURL>../stdicons/icon_zoomselect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomselect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomToSelection</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Initial Map View</Name>
+      <Label>Initial Map View</Label>
+      <Tooltip>Initial map view</Tooltip>
+      <Description>Fit the extents of the map to the window</Description>
+      <ImageURL>../stdicons/icon_fitwindow.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_fitwindow_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>FitToWindow</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Previous View</Name>
+      <Label>Previous View</Label>
+      <Tooltip>Previous view</Tooltip>
+      <Description>Go to previous view</Description>
+      <ImageURL>../stdicons/icon_zoomprev.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomprev_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PreviousView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Next View</Name>
+      <Label>Next View</Label>
+      <Tooltip>Next view</Tooltip>
+      <Description>Go to next view</Description>
+      <ImageURL>../stdicons/icon_zoomnext.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomnext_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>NextView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Initial Center and Scale</Name>
+      <Label>Initial Center and Scale</Label>
+      <Tooltip>Initial center and scale</Tooltip>
+      <Description>Zoom to initial map center and scale</Description>
+      <ImageURL>../stdicons/icon_restorecenter.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_restorecenter_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>RestoreView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select</Name>
+      <Label>Select</Label>
+      <Tooltip>Select mode</Tooltip>
+      <Description>Select features by clicking and dragging</Description>
+      <ImageURL>../stdicons/icon_select.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_select_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Select</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select Radius</Name>
+      <Label>Select Radius</Label>
+      <Tooltip>Select radius</Tooltip>
+      <Description>Click and drag to select all features inside the circle</Description>
+      <ImageURL>../stdicons/icon_selectradius.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectradius_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>SelectRadius</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select Polygon</Name>
+      <Label>Select Polygon</Label>
+      <Tooltip>Select polygon</Tooltip>
+      <Description>Create a polygon to select all features that fall within</Description>
+      <ImageURL>../stdicons/icon_selectpolygon.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectpolygon_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>SelectPolygon</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Clear Selection</Name>
+      <Label>Clear Selection</Label>
+      <Tooltip>Clear selection</Tooltip>
+      <Description>Clear the current selections</Description>
+      <ImageURL>../stdicons/icon_clearselect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_clearselect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ClearSelection</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Refresh Map</Name>
+      <Label>Refresh Map</Label>
+      <Tooltip>Refresh map</Tooltip>
+      <Description>Refresh map and reload all layers keeping current center and scale</Description>
+      <ImageURL>../stdicons/icon_refreshmap.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_refreshmap_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Refresh</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Copy</Name>
+      <Label>Copy</Label>
+      <Tooltip>Copy</Tooltip>
+      <Description>Copy current view of map to clipboard</Description>
+      <ImageURL>../stdicons/icon_copy.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_copy_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+      <Action>CopyMap</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>About</Name>
+      <Label>About</Label>
+      <Tooltip>About</Tooltip>
+      <Description>Display information about this application</Description>
+      <ImageURL/>
+      <DisabledImageURL/>
+      <TargetViewer>All</TargetViewer>
+      <Action>About</Action>
+    </Command>
+    <Command xsi:type="BufferCommandType">
+      <Name>Buffer</Name>
+      <Label>Buffer</Label>
+      <Tooltip>Buffer</Tooltip>
+      <Description>Create buffers around the selected features</Description>
+      <ImageURL>../stdicons/icon_buffer.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_buffer_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="SelectWithinCommandType">
+      <Name>Select Within</Name>
+      <Label>Select Within</Label>
+      <Tooltip>Select within</Tooltip>
+      <Description>Select features that fall within currently selected areas</Description>
+      <ImageURL>../stdicons/icon_selectwithin.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectwithin_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="PrintCommandType">
+      <Name>Print</Name>
+      <Label>Print</Label>
+      <Tooltip>Print</Tooltip>
+      <Description>Print with optional layout</Description>
+      <ImageURL>../stdicons/icon_print.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_print_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+    </Command>
+    <Command xsi:type="MeasureCommandType">
+      <Name>Measure</Name>
+      <Label>Measure</Label>
+      <Tooltip>Measure</Tooltip>
+      <Description>Measure distances on the map</Description>
+      <ImageURL>../stdicons/icon_measure.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_measure_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="ViewOptionsCommandType">
+      <Name>View Options</Name>
+      <Label>View Options</Label>
+      <Tooltip>View Options</Tooltip>
+      <Description>View Options</Description>
+      <ImageURL>../stdicons/icon_viewoptions.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_viewoptions_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="GetPrintablePageCommandType">
+      <Name>Get Printable Page</Name>
+      <Label>Get Printable Page</Label>
+      <Tooltip>Get printable Page</Tooltip>
+      <Description>Get printer-friendly page</Description>
+      <ImageURL>../stdicons/icon_printablepage.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_printablepage_disabled.gif</DisabledImageURL>
+      <TargetViewer>Ajax</TargetViewer>
+      <Target>NewWindow</Target>
+    </Command>
+    <Command xsi:type="HelpCommandType">
+      <Name>Help</Name>
+      <Label>Help</Label>
+      <Tooltip>Help</Tooltip>
+      <Description>Launch help for this application</Description>
+      <ImageURL>../stdicons/icon_help.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_help_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Overview</Name>
+      <Label>Overview</Label>
+      <Tooltip>Display an Overview</Tooltip>
+      <Description>Display an overview of the application</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../javaviewersample/overview/overviewmain.jsp</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Plot</Name>
+      <Label>Plot as DWF</Label>
+      <Tooltip>Plot as DWF</Tooltip>
+      <Description>Plot the current map as a DWF</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../javaviewersample/plot/plotmain.jsp</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Find Address</Name>
+      <Label>Find Address</Label>
+      <Tooltip>Find an Address</Tooltip>
+      <Description>Find an address in Sheboygan</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../javaviewersample/findaddress/findaddressmain.jsp</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Query</Name>
+      <Label>Query</Label>
+      <Tooltip>Query the Data</Tooltip>
+      <Description>Query the Data</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../javaviewersample/query/querymain.jsp</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Theme</Name>
+      <Label>Theme</Label>
+      <Tooltip>Create a Theme</Tooltip>
+      <Description>Create a Theme</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../javaviewersample/theme/thememain.jsp</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+  </CommandSet>
+</WebLayout>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJspTiled.WebLayout_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJspTiled.WebLayout_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJspTiled.WebLayout_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,623 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<WebLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="WebLayout-1.0.0.xsd">
+  <Title>Sheboygan Map</Title>
+  <Map>
+    <ResourceId>Library://Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition</ResourceId>
+    <HyperlinkTarget>TaskPane</HyperlinkTarget>
+  </Map>
+  <ToolBar>
+    <Visible>true</Visible>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Print</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Get Printable Page</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Measure</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Buffer</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Zoom</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Previous View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Next View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Map View</Command>
+      </SubItem>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Rectangle</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom In</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Out</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Select</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Pan</Command>
+    </Button>
+  </ToolBar>
+  <InformationPane>
+    <Visible>true</Visible>
+    <Width>200</Width>
+    <LegendVisible>true</LegendVisible>
+    <PropertiesVisible>true</PropertiesVisible>
+  </InformationPane>
+  <ContextMenu>
+    <Visible>true</Visible>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Print</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Refresh Map</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Copy</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Pan</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Rectangle</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom In</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Out</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Zoom</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Map View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Previous View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Next View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Center and Scale</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Zoom Selection</Command>
+      </SubItem>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Select</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Clear Selection</Command>
+    </MenuItem>
+    <MenuItem xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Select More</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Radius</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Polygon</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Within</Command>
+      </SubItem>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Buffer</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Measure</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>View Options</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Help</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>About</Command>
+    </MenuItem>
+  </ContextMenu>
+  <TaskPane>
+    <Visible>true</Visible>
+    <Width>250</Width>
+    <TaskBar>
+      <Visible>true</Visible>
+      <Home>
+        <Name>Home</Name>
+        <Tooltip>Return to home task page</Tooltip>
+        <Description>Return to home task page</Description>
+        <ImageURL>../stdicons/icon_home.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_home_disabled.gif</DisabledImageURL>
+      </Home>
+      <Forward>
+        <Name>Forward</Name>
+        <Tooltip>Forward to next task page</Tooltip>
+        <Description>Forward to next task page</Description>
+        <ImageURL>../stdicons/icon_forward.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_forward_disabled.gif</DisabledImageURL>
+      </Forward>
+      <Back>
+        <Name>Back</Name>
+        <Tooltip>Return to previous task page</Tooltip>
+        <Description>Return to previous task page</Description>
+        <ImageURL>../stdicons/icon_back.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_back_disabled.gif</DisabledImageURL>
+      </Back>
+      <Tasks>
+        <Name>Tasks</Name>
+        <Tooltip>Task list</Tooltip>
+        <Description>View a list of available tasks</Description>
+        <ImageURL>../stdicons/icon_tasks.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_tasks_disabled.gif</DisabledImageURL>
+      </Tasks>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Overview</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Query</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Theme</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Find Address</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Plot</Command>
+      </MenuButton>
+      <MenuButton xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Buffer</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Measure</Command>
+      </MenuButton>
+    </TaskBar>
+    <InitialTask>../javaviewersample/overview/overviewmain.jsp</InitialTask>
+  </TaskPane>
+  <StatusBar>
+    <Visible>true</Visible>
+  </StatusBar>
+  <ZoomControl>
+    <Visible>true</Visible>
+  </ZoomControl>
+  <CommandSet>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan</Name>
+      <Label>Pan</Label>
+      <Tooltip>Pan mode</Tooltip>
+      <Description>Drag the map to view areas out of range</Description>
+      <ImageURL>../stdicons/icon_pan.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_pan_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Pan</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Up</Name>
+      <Label>Pan Up</Label>
+      <Tooltip>Pan up</Tooltip>
+      <Description>Pan up by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panup.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panup_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanUp</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Down</Name>
+      <Label>Pan Down</Label>
+      <Tooltip>Pan down</Tooltip>
+      <Description>Pan down by a preset increment</Description>
+      <ImageURL>../stdicons/icon_pandown.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_pandown_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanDown</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Right</Name>
+      <Label>Pan Right</Label>
+      <Tooltip>Pan right</Tooltip>
+      <Description>Pan right by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panright.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panright_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanRight</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Left</Name>
+      <Label>Pan Left</Label>
+      <Tooltip>Pan left</Tooltip>
+      <Description>Pan left by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panleft.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panleft_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanLeft</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom</Name>
+      <Label>Zoom</Label>
+      <Tooltip>Zoom dynamic</Tooltip>
+      <Description>Zoom dynamically by clicking and dragging</Description>
+      <ImageURL>../stdicons/icon_zoom.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoom_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+      <Action>Zoom</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom In</Name>
+      <Label>Zoom In</Label>
+      <Tooltip>Zoom in</Tooltip>
+      <Description>Zoom in by a preset increment</Description>
+      <ImageURL>../stdicons/icon_zoomin.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomin_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomIn</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Out</Name>
+      <Label>Zoom Out</Label>
+      <Tooltip>Zoom out</Tooltip>
+      <Description>Zoom out by a preset increment</Description>
+      <ImageURL>../stdicons/icon_zoomout.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomout_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomOut</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Rectangle</Name>
+      <Label>Zoom Rectangle</Label>
+      <Tooltip>Zoom rectangle</Tooltip>
+      <Description>Zoom in on an area</Description>
+      <ImageURL>../stdicons/icon_zoomrect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomrect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomRectangle</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Selection</Name>
+      <Label>Zoom Selection</Label>
+      <Tooltip>Zoom to selection</Tooltip>
+      <Description>Zoom to extents of selected features</Description>
+      <ImageURL>../stdicons/icon_zoomselect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomselect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomToSelection</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Initial Map View</Name>
+      <Label>Initial Map View</Label>
+      <Tooltip>Initial map view</Tooltip>
+      <Description>Fit the extents of the map to the window</Description>
+      <ImageURL>../stdicons/icon_fitwindow.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_fitwindow_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>FitToWindow</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Previous View</Name>
+      <Label>Previous View</Label>
+      <Tooltip>Previous view</Tooltip>
+      <Description>Go to previous view</Description>
+      <ImageURL>../stdicons/icon_zoomprev.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomprev_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PreviousView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Next View</Name>
+      <Label>Next View</Label>
+      <Tooltip>Next view</Tooltip>
+      <Description>Go to next view</Description>
+      <ImageURL>../stdicons/icon_zoomnext.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomnext_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>NextView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Initial Center and Scale</Name>
+      <Label>Initial Center and Scale</Label>
+      <Tooltip>Initial center and scale</Tooltip>
+      <Description>Zoom to initial map center and scale</Description>
+      <ImageURL>../stdicons/icon_restorecenter.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_restorecenter_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>RestoreView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select</Name>
+      <Label>Select</Label>
+      <Tooltip>Select mode</Tooltip>
+      <Description>Select features by clicking and dragging</Description>
+      <ImageURL>../stdicons/icon_select.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_select_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Select</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select Radius</Name>
+      <Label>Select Radius</Label>
+      <Tooltip>Select radius</Tooltip>
+      <Description>Click and drag to select all features inside the circle</Description>
+      <ImageURL>../stdicons/icon_selectradius.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectradius_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>SelectRadius</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select Polygon</Name>
+      <Label>Select Polygon</Label>
+      <Tooltip>Select polygon</Tooltip>
+      <Description>Create a polygon to select all features that fall within</Description>
+      <ImageURL>../stdicons/icon_selectpolygon.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectpolygon_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>SelectPolygon</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Clear Selection</Name>
+      <Label>Clear Selection</Label>
+      <Tooltip>Clear selection</Tooltip>
+      <Description>Clear the current selections</Description>
+      <ImageURL>../stdicons/icon_clearselect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_clearselect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ClearSelection</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Refresh Map</Name>
+      <Label>Refresh Map</Label>
+      <Tooltip>Refresh map</Tooltip>
+      <Description>Refresh map and reload all layers keeping current center and scale</Description>
+      <ImageURL>../stdicons/icon_refreshmap.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_refreshmap_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Refresh</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Copy</Name>
+      <Label>Copy</Label>
+      <Tooltip>Copy</Tooltip>
+      <Description>Copy current view of map to clipboard</Description>
+      <ImageURL>../stdicons/icon_copy.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_copy_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+      <Action>CopyMap</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>About</Name>
+      <Label>About</Label>
+      <Tooltip>About</Tooltip>
+      <Description>Display information about this application</Description>
+      <ImageURL/>
+      <DisabledImageURL/>
+      <TargetViewer>All</TargetViewer>
+      <Action>About</Action>
+    </Command>
+    <Command xsi:type="BufferCommandType">
+      <Name>Buffer</Name>
+      <Label>Buffer</Label>
+      <Tooltip>Buffer</Tooltip>
+      <Description>Create buffers around the selected features</Description>
+      <ImageURL>../stdicons/icon_buffer.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_buffer_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="SelectWithinCommandType">
+      <Name>Select Within</Name>
+      <Label>Select Within</Label>
+      <Tooltip>Select within</Tooltip>
+      <Description>Select features that fall within currently selected areas</Description>
+      <ImageURL>../stdicons/icon_selectwithin.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectwithin_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="PrintCommandType">
+      <Name>Print</Name>
+      <Label>Print</Label>
+      <Tooltip>Print</Tooltip>
+      <Description>Print with optional layout</Description>
+      <ImageURL>../stdicons/icon_print.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_print_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+    </Command>
+    <Command xsi:type="MeasureCommandType">
+      <Name>Measure</Name>
+      <Label>Measure</Label>
+      <Tooltip>Measure</Tooltip>
+      <Description>Measure distances on the map</Description>
+      <ImageURL>../stdicons/icon_measure.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_measure_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="ViewOptionsCommandType">
+      <Name>View Options</Name>
+      <Label>View Options</Label>
+      <Tooltip>View Options</Tooltip>
+      <Description>View Options</Description>
+      <ImageURL>../stdicons/icon_viewoptions.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_viewoptions_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="GetPrintablePageCommandType">
+      <Name>Get Printable Page</Name>
+      <Label>Get Printable Page</Label>
+      <Tooltip>Get printable Page</Tooltip>
+      <Description>Get printer-friendly page</Description>
+      <ImageURL>../stdicons/icon_printablepage.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_printablepage_disabled.gif</DisabledImageURL>
+      <TargetViewer>Ajax</TargetViewer>
+      <Target>NewWindow</Target>
+    </Command>
+    <Command xsi:type="HelpCommandType">
+      <Name>Help</Name>
+      <Label>Help</Label>
+      <Tooltip>Help</Tooltip>
+      <Description>Launch help for this application</Description>
+      <ImageURL>../stdicons/icon_help.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_help_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Overview</Name>
+      <Label>Overview</Label>
+      <Tooltip>Display an Overview</Tooltip>
+      <Description>Display an overview of the application</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../javaviewersample/overview/overviewmain.jsp</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Plot</Name>
+      <Label>Plot as DWF</Label>
+      <Tooltip>Plot as DWF</Tooltip>
+      <Description>Plot the current map as a DWF</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../javaviewersample/plot/plotmain.jsp</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Find Address</Name>
+      <Label>Find Address</Label>
+      <Tooltip>Find an Address</Tooltip>
+      <Description>Find an address in Sheboygan</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../javaviewersample/findaddress/findaddressmain.jsp</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Query</Name>
+      <Label>Query</Label>
+      <Tooltip>Query the Data</Tooltip>
+      <Description>Query the Data</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../javaviewersample/query/querymain.jsp</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Theme</Name>
+      <Label>Theme</Label>
+      <Tooltip>Create a Theme</Tooltip>
+      <Description>Create a Theme</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../javaviewersample/theme/thememain.jsp</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+  </CommandSet>
+</WebLayout>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJspTiled.WebLayout_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJspTiled.WebLayout_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganJspTiled.WebLayout_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganMap.PrintLayout_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganMap.PrintLayout_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganMap.PrintLayout_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PrintLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PrintLayout-1.0.0.xsd">
+  <PageProperties>
+    <BackgroundColor>
+      <Red>255</Red>
+      <Blue>255</Blue>
+      <Green>255</Green>
+    </BackgroundColor>
+  </PageProperties>
+  <LayoutProperties>
+    <ShowTitle>true</ShowTitle>
+    <ShowLegend>true</ShowLegend>
+    <ShowScaleBar>true</ShowScaleBar>
+    <ShowNorthArrow>true</ShowNorthArrow>
+    <ShowURL>true</ShowURL>
+    <ShowDateTime>true</ShowDateTime>
+    <ShowCustomLogos>true</ShowCustomLogos>
+    <ShowCustomText>false</ShowCustomText>
+  </LayoutProperties>
+  <CustomLogos>
+    <Logo>
+      <Position>
+        <Left>8.2</Left> 
+        <Bottom>6.9</Bottom> 
+        <Units>inches</Units> 
+      </Position>
+      <ResourceId>Library://Samples/Sheboygan/Symbols/Logos.SymbolLibrary</ResourceId> 
+      <Name>CityLogo</Name> 
+      <Size>
+        <Width>1.0</Width> 
+        <Height>1.0</Height> 
+        <Units>inches</Units> 
+      </Size>
+      <Rotation>0</Rotation> 
+    </Logo>
+  </CustomLogos>
+  <CustomText>
+    <Text>
+    </Text>
+  </CustomText>
+</PrintLayout>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganMap.PrintLayout_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganMap.PrintLayout_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganMap.PrintLayout_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,623 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<WebLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="WebLayout-1.0.0.xsd">
+  <Title>Sheboygan Map</Title>
+  <Map>
+    <ResourceId>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</ResourceId>
+    <HyperlinkTarget>TaskPane</HyperlinkTarget>
+  </Map>
+  <ToolBar>
+    <Visible>true</Visible>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Print</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Get Printable Page</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Measure</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Buffer</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Zoom</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Previous View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Next View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Map View</Command>
+      </SubItem>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Rectangle</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom In</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Out</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Select</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Pan</Command>
+    </Button>
+  </ToolBar>
+  <InformationPane>
+    <Visible>true</Visible>
+    <Width>200</Width>
+    <LegendVisible>true</LegendVisible>
+    <PropertiesVisible>true</PropertiesVisible>
+  </InformationPane>
+  <ContextMenu>
+    <Visible>true</Visible>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Print</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Refresh Map</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Copy</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Pan</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Rectangle</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom In</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Out</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Zoom</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Map View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Previous View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Next View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Center and Scale</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Zoom Selection</Command>
+      </SubItem>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Select</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Clear Selection</Command>
+    </MenuItem>
+    <MenuItem xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Select More</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Radius</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Polygon</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Within</Command>
+      </SubItem>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Buffer</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Measure</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>View Options</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Help</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>About</Command>
+    </MenuItem>
+  </ContextMenu>
+  <TaskPane>
+    <Visible>true</Visible>
+    <Width>250</Width>
+    <TaskBar>
+      <Visible>true</Visible>
+      <Home>
+        <Name>Home</Name>
+        <Tooltip>Return to home task page</Tooltip>
+        <Description>Return to home task page</Description>
+        <ImageURL>../stdicons/icon_home.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_home_disabled.gif</DisabledImageURL>
+      </Home>
+      <Forward>
+        <Name>Forward</Name>
+        <Tooltip>Forward to next task page</Tooltip>
+        <Description>Forward to next task page</Description>
+        <ImageURL>../stdicons/icon_forward.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_forward_disabled.gif</DisabledImageURL>
+      </Forward>
+      <Back>
+        <Name>Back</Name>
+        <Tooltip>Return to previous task page</Tooltip>
+        <Description>Return to previous task page</Description>
+        <ImageURL>../stdicons/icon_back.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_back_disabled.gif</DisabledImageURL>
+      </Back>
+      <Tasks>
+        <Name>Tasks</Name>
+        <Tooltip>Task list</Tooltip>
+        <Description>View a list of available tasks</Description>
+        <ImageURL>../stdicons/icon_tasks.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_tasks_disabled.gif</DisabledImageURL>
+      </Tasks>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Overview</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Query</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Theme</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Find Address</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Plot</Command>
+      </MenuButton>
+      <MenuButton xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Buffer</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Measure</Command>
+      </MenuButton>
+    </TaskBar>
+    <InitialTask>../phpviewersample/overview/overviewmain.php</InitialTask>
+  </TaskPane>
+  <StatusBar>
+    <Visible>true</Visible>
+  </StatusBar>
+  <ZoomControl>
+    <Visible>true</Visible>
+  </ZoomControl>
+  <CommandSet>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan</Name>
+      <Label>Pan</Label>
+      <Tooltip>Pan mode</Tooltip>
+      <Description>Drag the map to view areas out of range</Description>
+      <ImageURL>../stdicons/icon_pan.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_pan_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Pan</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Up</Name>
+      <Label>Pan Up</Label>
+      <Tooltip>Pan up</Tooltip>
+      <Description>Pan up by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panup.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panup_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanUp</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Down</Name>
+      <Label>Pan Down</Label>
+      <Tooltip>Pan down</Tooltip>
+      <Description>Pan down by a preset increment</Description>
+      <ImageURL>../stdicons/icon_pandown.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_pandown_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanDown</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Right</Name>
+      <Label>Pan Right</Label>
+      <Tooltip>Pan right</Tooltip>
+      <Description>Pan right by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panright.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panright_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanRight</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Left</Name>
+      <Label>Pan Left</Label>
+      <Tooltip>Pan left</Tooltip>
+      <Description>Pan left by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panleft.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panleft_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanLeft</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom</Name>
+      <Label>Zoom</Label>
+      <Tooltip>Zoom dynamic</Tooltip>
+      <Description>Zoom dynamically by clicking and dragging</Description>
+      <ImageURL>../stdicons/icon_zoom.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoom_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+      <Action>Zoom</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom In</Name>
+      <Label>Zoom In</Label>
+      <Tooltip>Zoom in</Tooltip>
+      <Description>Zoom in by a preset increment</Description>
+      <ImageURL>../stdicons/icon_zoomin.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomin_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomIn</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Out</Name>
+      <Label>Zoom Out</Label>
+      <Tooltip>Zoom out</Tooltip>
+      <Description>Zoom out by a preset increment</Description>
+      <ImageURL>../stdicons/icon_zoomout.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomout_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomOut</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Rectangle</Name>
+      <Label>Zoom Rectangle</Label>
+      <Tooltip>Zoom rectangle</Tooltip>
+      <Description>Zoom in on an area</Description>
+      <ImageURL>../stdicons/icon_zoomrect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomrect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomRectangle</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Selection</Name>
+      <Label>Zoom Selection</Label>
+      <Tooltip>Zoom to selection</Tooltip>
+      <Description>Zoom to extents of selected features</Description>
+      <ImageURL>../stdicons/icon_zoomselect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomselect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomToSelection</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Initial Map View</Name>
+      <Label>Initial Map View</Label>
+      <Tooltip>Initial map view</Tooltip>
+      <Description>Fit the extents of the map to the window</Description>
+      <ImageURL>../stdicons/icon_fitwindow.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_fitwindow_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>FitToWindow</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Previous View</Name>
+      <Label>Previous View</Label>
+      <Tooltip>Previous view</Tooltip>
+      <Description>Go to previous view</Description>
+      <ImageURL>../stdicons/icon_zoomprev.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomprev_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PreviousView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Next View</Name>
+      <Label>Next View</Label>
+      <Tooltip>Next view</Tooltip>
+      <Description>Go to next view</Description>
+      <ImageURL>../stdicons/icon_zoomnext.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomnext_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>NextView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Initial Center and Scale</Name>
+      <Label>Initial Center and Scale</Label>
+      <Tooltip>Initial center and scale</Tooltip>
+      <Description>Zoom to initial map center and scale</Description>
+      <ImageURL>../stdicons/icon_restorecenter.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_restorecenter_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>RestoreView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select</Name>
+      <Label>Select</Label>
+      <Tooltip>Select mode</Tooltip>
+      <Description>Select features by clicking and dragging</Description>
+      <ImageURL>../stdicons/icon_select.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_select_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Select</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select Radius</Name>
+      <Label>Select Radius</Label>
+      <Tooltip>Select radius</Tooltip>
+      <Description>Click and drag to select all features inside the circle</Description>
+      <ImageURL>../stdicons/icon_selectradius.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectradius_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>SelectRadius</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select Polygon</Name>
+      <Label>Select Polygon</Label>
+      <Tooltip>Select polygon</Tooltip>
+      <Description>Create a polygon to select all features that fall within</Description>
+      <ImageURL>../stdicons/icon_selectpolygon.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectpolygon_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>SelectPolygon</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Clear Selection</Name>
+      <Label>Clear Selection</Label>
+      <Tooltip>Clear selection</Tooltip>
+      <Description>Clear the current selections</Description>
+      <ImageURL>../stdicons/icon_clearselect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_clearselect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ClearSelection</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Refresh Map</Name>
+      <Label>Refresh Map</Label>
+      <Tooltip>Refresh map</Tooltip>
+      <Description>Refresh map and reload all layers keeping current center and scale</Description>
+      <ImageURL>../stdicons/icon_refreshmap.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_refreshmap_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Refresh</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Copy</Name>
+      <Label>Copy</Label>
+      <Tooltip>Copy</Tooltip>
+      <Description>Copy current view of map to clipboard</Description>
+      <ImageURL>../stdicons/icon_copy.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_copy_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+      <Action>CopyMap</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>About</Name>
+      <Label>About</Label>
+      <Tooltip>About</Tooltip>
+      <Description>Display information about this application</Description>
+      <ImageURL/>
+      <DisabledImageURL/>
+      <TargetViewer>All</TargetViewer>
+      <Action>About</Action>
+    </Command>
+    <Command xsi:type="BufferCommandType">
+      <Name>Buffer</Name>
+      <Label>Buffer</Label>
+      <Tooltip>Buffer</Tooltip>
+      <Description>Create buffers around the selected features</Description>
+      <ImageURL>../stdicons/icon_buffer.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_buffer_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="SelectWithinCommandType">
+      <Name>Select Within</Name>
+      <Label>Select Within</Label>
+      <Tooltip>Select within</Tooltip>
+      <Description>Select features that fall within currently selected areas</Description>
+      <ImageURL>../stdicons/icon_selectwithin.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectwithin_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="PrintCommandType">
+      <Name>Print</Name>
+      <Label>Print</Label>
+      <Tooltip>Print</Tooltip>
+      <Description>Print with optional layout</Description>
+      <ImageURL>../stdicons/icon_print.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_print_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+    </Command>
+    <Command xsi:type="MeasureCommandType">
+      <Name>Measure</Name>
+      <Label>Measure</Label>
+      <Tooltip>Measure</Tooltip>
+      <Description>Measure distances on the map</Description>
+      <ImageURL>../stdicons/icon_measure.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_measure_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="ViewOptionsCommandType">
+      <Name>View Options</Name>
+      <Label>View Options</Label>
+      <Tooltip>View Options</Tooltip>
+      <Description>View Options</Description>
+      <ImageURL>../stdicons/icon_viewoptions.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_viewoptions_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="GetPrintablePageCommandType">
+      <Name>Get Printable Page</Name>
+      <Label>Get Printable Page</Label>
+      <Tooltip>Get printable Page</Tooltip>
+      <Description>Get printer-friendly page</Description>
+      <ImageURL>../stdicons/icon_printablepage.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_printablepage_disabled.gif</DisabledImageURL>
+      <TargetViewer>Ajax</TargetViewer>
+      <Target>NewWindow</Target>
+    </Command>
+    <Command xsi:type="HelpCommandType">
+      <Name>Help</Name>
+      <Label>Help</Label>
+      <Tooltip>Help</Tooltip>
+      <Description>Launch help for this application</Description>
+      <ImageURL>../stdicons/icon_help.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_help_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Query</Name>
+      <Label>Query</Label>
+      <Tooltip>Query the Data</Tooltip>
+      <Description>Query the Data</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../phpviewersample/query/querymain.php</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Overview</Name>
+      <Label>Overview</Label>
+      <Tooltip>Display an Overview</Tooltip>
+      <Description>Display an overview of the application</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../phpviewersample/overview/overviewmain.php</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Theme</Name>
+      <Label>Theme</Label>
+      <Tooltip>Create a Theme</Tooltip>
+      <Description>Create a Theme</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../phpviewersample/theme/thememain.php</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Plot</Name>
+      <Label>Plot as DWF</Label>
+      <Tooltip>Plot as DWF</Tooltip>
+      <Description>Plot the current map as a DWF</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../phpviewersample/plot/plotmain.php</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Find Address</Name>
+      <Label>Find Address</Label>
+      <Tooltip>Find an Address</Tooltip>
+      <Description>Find an address in Sheboygan</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../phpviewersample/findaddress/findaddressmain.php</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+  </CommandSet>
+</WebLayout>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhpTiled.WebLayout_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhpTiled.WebLayout_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhpTiled.WebLayout_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,623 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<WebLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="WebLayout-1.0.0.xsd">
+  <Title>Sheboygan Map</Title>
+  <Map>
+    <ResourceId>Library://Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition</ResourceId>
+    <HyperlinkTarget>TaskPane</HyperlinkTarget>
+  </Map>
+  <ToolBar>
+    <Visible>true</Visible>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Print</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Get Printable Page</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Measure</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Buffer</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Zoom</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Previous View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Next View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Map View</Command>
+      </SubItem>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Rectangle</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom In</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Out</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Select</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Pan</Command>
+    </Button>
+  </ToolBar>
+  <InformationPane>
+    <Visible>true</Visible>
+    <Width>200</Width>
+    <LegendVisible>true</LegendVisible>
+    <PropertiesVisible>true</PropertiesVisible>
+  </InformationPane>
+  <ContextMenu>
+    <Visible>true</Visible>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Print</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Refresh Map</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Copy</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Pan</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Rectangle</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom In</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom Out</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Zoom</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Map View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Previous View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Next View</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Initial Center and Scale</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Zoom Selection</Command>
+      </SubItem>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Select</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Clear Selection</Command>
+    </MenuItem>
+    <MenuItem xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Select More</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Radius</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Polygon</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Select Within</Command>
+      </SubItem>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Buffer</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Measure</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>View Options</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Help</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>About</Command>
+    </MenuItem>
+  </ContextMenu>
+  <TaskPane>
+    <Visible>true</Visible>
+    <Width>250</Width>
+    <TaskBar>
+      <Visible>true</Visible>
+      <Home>
+        <Name>Home</Name>
+        <Tooltip>Return to home task page</Tooltip>
+        <Description>Return to home task page</Description>
+        <ImageURL>../stdicons/icon_home.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_home_disabled.gif</DisabledImageURL>
+      </Home>
+      <Forward>
+        <Name>Forward</Name>
+        <Tooltip>Forward to next task page</Tooltip>
+        <Description>Forward to next task page</Description>
+        <ImageURL>../stdicons/icon_forward.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_forward_disabled.gif</DisabledImageURL>
+      </Forward>
+      <Back>
+        <Name>Back</Name>
+        <Tooltip>Return to previous task page</Tooltip>
+        <Description>Return to previous task page</Description>
+        <ImageURL>../stdicons/icon_back.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_back_disabled.gif</DisabledImageURL>
+      </Back>
+      <Tasks>
+        <Name>Tasks</Name>
+        <Tooltip>Task list</Tooltip>
+        <Description>View a list of available tasks</Description>
+        <ImageURL>../stdicons/icon_tasks.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_tasks_disabled.gif</DisabledImageURL>
+      </Tasks>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Overview</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Query</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Theme</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Find Address</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Plot</Command>
+      </MenuButton>
+      <MenuButton xsi:type="SeparatorItemType">
+        <Function>Separator</Function>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Buffer</Command>
+      </MenuButton>
+      <MenuButton xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>Measure</Command>
+      </MenuButton>
+    </TaskBar>
+    <InitialTask>../phpviewersample/overview/overviewmain.php</InitialTask>
+  </TaskPane>
+  <StatusBar>
+    <Visible>true</Visible>
+  </StatusBar>
+  <ZoomControl>
+    <Visible>true</Visible>
+  </ZoomControl>
+  <CommandSet>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan</Name>
+      <Label>Pan</Label>
+      <Tooltip>Pan mode</Tooltip>
+      <Description>Drag the map to view areas out of range</Description>
+      <ImageURL>../stdicons/icon_pan.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_pan_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Pan</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Up</Name>
+      <Label>Pan Up</Label>
+      <Tooltip>Pan up</Tooltip>
+      <Description>Pan up by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panup.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panup_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanUp</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Down</Name>
+      <Label>Pan Down</Label>
+      <Tooltip>Pan down</Tooltip>
+      <Description>Pan down by a preset increment</Description>
+      <ImageURL>../stdicons/icon_pandown.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_pandown_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanDown</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Right</Name>
+      <Label>Pan Right</Label>
+      <Tooltip>Pan right</Tooltip>
+      <Description>Pan right by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panright.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panright_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanRight</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan Left</Name>
+      <Label>Pan Left</Label>
+      <Tooltip>Pan left</Tooltip>
+      <Description>Pan left by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panleft.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panleft_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanLeft</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom</Name>
+      <Label>Zoom</Label>
+      <Tooltip>Zoom dynamic</Tooltip>
+      <Description>Zoom dynamically by clicking and dragging</Description>
+      <ImageURL>../stdicons/icon_zoom.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoom_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+      <Action>Zoom</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom In</Name>
+      <Label>Zoom In</Label>
+      <Tooltip>Zoom in</Tooltip>
+      <Description>Zoom in by a preset increment</Description>
+      <ImageURL>../stdicons/icon_zoomin.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomin_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomIn</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Out</Name>
+      <Label>Zoom Out</Label>
+      <Tooltip>Zoom out</Tooltip>
+      <Description>Zoom out by a preset increment</Description>
+      <ImageURL>../stdicons/icon_zoomout.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomout_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomOut</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Rectangle</Name>
+      <Label>Zoom Rectangle</Label>
+      <Tooltip>Zoom rectangle</Tooltip>
+      <Description>Zoom in on an area</Description>
+      <ImageURL>../stdicons/icon_zoomrect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomrect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomRectangle</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom Selection</Name>
+      <Label>Zoom Selection</Label>
+      <Tooltip>Zoom to selection</Tooltip>
+      <Description>Zoom to extents of selected features</Description>
+      <ImageURL>../stdicons/icon_zoomselect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomselect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomToSelection</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Initial Map View</Name>
+      <Label>Initial Map View</Label>
+      <Tooltip>Initial map view</Tooltip>
+      <Description>Fit the extents of the map to the window</Description>
+      <ImageURL>../stdicons/icon_fitwindow.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_fitwindow_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>FitToWindow</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Previous View</Name>
+      <Label>Previous View</Label>
+      <Tooltip>Previous view</Tooltip>
+      <Description>Go to previous view</Description>
+      <ImageURL>../stdicons/icon_zoomprev.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomprev_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PreviousView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Next View</Name>
+      <Label>Next View</Label>
+      <Tooltip>Next view</Tooltip>
+      <Description>Go to next view</Description>
+      <ImageURL>../stdicons/icon_zoomnext.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomnext_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>NextView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Initial Center and Scale</Name>
+      <Label>Initial Center and Scale</Label>
+      <Tooltip>Initial center and scale</Tooltip>
+      <Description>Zoom to initial map center and scale</Description>
+      <ImageURL>../stdicons/icon_restorecenter.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_restorecenter_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>RestoreView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select</Name>
+      <Label>Select</Label>
+      <Tooltip>Select mode</Tooltip>
+      <Description>Select features by clicking and dragging</Description>
+      <ImageURL>../stdicons/icon_select.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_select_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Select</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select Radius</Name>
+      <Label>Select Radius</Label>
+      <Tooltip>Select radius</Tooltip>
+      <Description>Click and drag to select all features inside the circle</Description>
+      <ImageURL>../stdicons/icon_selectradius.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectradius_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>SelectRadius</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select Polygon</Name>
+      <Label>Select Polygon</Label>
+      <Tooltip>Select polygon</Tooltip>
+      <Description>Create a polygon to select all features that fall within</Description>
+      <ImageURL>../stdicons/icon_selectpolygon.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectpolygon_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>SelectPolygon</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Clear Selection</Name>
+      <Label>Clear Selection</Label>
+      <Tooltip>Clear selection</Tooltip>
+      <Description>Clear the current selections</Description>
+      <ImageURL>../stdicons/icon_clearselect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_clearselect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ClearSelection</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Refresh Map</Name>
+      <Label>Refresh Map</Label>
+      <Tooltip>Refresh map</Tooltip>
+      <Description>Refresh map and reload all layers keeping current center and scale</Description>
+      <ImageURL>../stdicons/icon_refreshmap.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_refreshmap_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Refresh</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Copy</Name>
+      <Label>Copy</Label>
+      <Tooltip>Copy</Tooltip>
+      <Description>Copy current view of map to clipboard</Description>
+      <ImageURL>../stdicons/icon_copy.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_copy_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+      <Action>CopyMap</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>About</Name>
+      <Label>About</Label>
+      <Tooltip>About</Tooltip>
+      <Description>Display information about this application</Description>
+      <ImageURL/>
+      <DisabledImageURL/>
+      <TargetViewer>All</TargetViewer>
+      <Action>About</Action>
+    </Command>
+    <Command xsi:type="BufferCommandType">
+      <Name>Buffer</Name>
+      <Label>Buffer</Label>
+      <Tooltip>Buffer</Tooltip>
+      <Description>Create buffers around the selected features</Description>
+      <ImageURL>../stdicons/icon_buffer.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_buffer_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="SelectWithinCommandType">
+      <Name>Select Within</Name>
+      <Label>Select Within</Label>
+      <Tooltip>Select within</Tooltip>
+      <Description>Select features that fall within currently selected areas</Description>
+      <ImageURL>../stdicons/icon_selectwithin.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectwithin_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="PrintCommandType">
+      <Name>Print</Name>
+      <Label>Print</Label>
+      <Tooltip>Print</Tooltip>
+      <Description>Print with optional layout</Description>
+      <ImageURL>../stdicons/icon_print.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_print_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+    </Command>
+    <Command xsi:type="MeasureCommandType">
+      <Name>Measure</Name>
+      <Label>Measure</Label>
+      <Tooltip>Measure</Tooltip>
+      <Description>Measure distances on the map</Description>
+      <ImageURL>../stdicons/icon_measure.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_measure_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="ViewOptionsCommandType">
+      <Name>View Options</Name>
+      <Label>View Options</Label>
+      <Tooltip>View Options</Tooltip>
+      <Description>View Options</Description>
+      <ImageURL>../stdicons/icon_viewoptions.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_viewoptions_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="GetPrintablePageCommandType">
+      <Name>Get Printable Page</Name>
+      <Label>Get Printable Page</Label>
+      <Tooltip>Get printable Page</Tooltip>
+      <Description>Get printer-friendly page</Description>
+      <ImageURL>../stdicons/icon_printablepage.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_printablepage_disabled.gif</DisabledImageURL>
+      <TargetViewer>Ajax</TargetViewer>
+      <Target>NewWindow</Target>
+    </Command>
+    <Command xsi:type="HelpCommandType">
+      <Name>Help</Name>
+      <Label>Help</Label>
+      <Tooltip>Help</Tooltip>
+      <Description>Launch help for this application</Description>
+      <ImageURL>../stdicons/icon_help.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_help_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Theme</Name>
+      <Label>Theme</Label>
+      <Tooltip>Create a Theme</Tooltip>
+      <Description>Create a Theme</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../phpviewersample/theme/thememain.php</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Overview</Name>
+      <Label>Overview</Label>
+      <Tooltip>Display an Overview</Tooltip>
+      <Description>Display an overview of the application</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../phpviewersample/overview/overviewmain.php</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Query</Name>
+      <Label>Query</Label>
+      <Tooltip>Query the Data</Tooltip>
+      <Description>Query the Data</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../phpviewersample/query/querymain.php</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Plot</Name>
+      <Label>Plot as DWF</Label>
+      <Tooltip>Plot as DWF</Tooltip>
+      <Description>Plot the current map as a DWF</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../phpviewersample/plot/plotmain.php</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+    <Command xsi:type="InvokeURLCommandType">
+      <Name>Find Address</Name>
+      <Label>Find Address</Label>
+      <Tooltip>Find an Address</Tooltip>
+      <Description>Find an address in Sheboygan</Description>
+      <ImageURL>../stdicons/icon_invokeurl.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_invokeurl_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+      <URL>../phpviewersample/findaddress/findaddressmain.php</URL>
+      <DisableIfSelectionEmpty>false</DisableIfSelectionEmpty>
+    </Command>
+  </CommandSet>
+</WebLayout>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhpTiled.WebLayout_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhpTiled.WebLayout_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganPhpTiled.WebLayout_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganV26.WebLayout_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganV26.WebLayout_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganV26.WebLayout_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,550 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<WebLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="WebLayout-2.6.0.xsd">
+  <Title>Sheboygan v2.6 Web Layout Example</Title>
+  <Map>
+    <ResourceId>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</ResourceId>
+    <HyperlinkTarget>TaskPane</HyperlinkTarget>
+  </Map>
+  <EnablePingServer>true</EnablePingServer>
+  <SelectionColor>ff0000ff</SelectionColor>
+  <PointSelectionBuffer>2</PointSelectionBuffer>
+  <MapImageFormat>PNG8</MapImageFormat>
+  <SelectionImageFormat>PNG8</SelectionImageFormat>
+  <StartupScript>alert("Welcome to the Sheboygan v2.6 Web Layout Example. This message was shown via the new StartupScript element introduced with this schema. This WebLayout also uses red selection color and PNG8 map/selection images");</StartupScript>
+  <ToolBar>
+    <Visible>true</Visible>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Print</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>GetPrintablePage</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Measure</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Buffer</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Zoom</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>PreviousView</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>NextView</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>RestoreView</Command>
+      </SubItem>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>ZoomRectangle</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>ZoomIn</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>ZoomOut</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Select</Command>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Pan</Command>
+    </Button>
+    <Button xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </Button>
+    <Button xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>MapTip</Command>
+    </Button>
+  </ToolBar>
+  <InformationPane>
+    <Visible>true</Visible>
+    <Width>200</Width>
+    <LegendVisible>true</LegendVisible>
+    <PropertiesVisible>true</PropertiesVisible>
+  </InformationPane>
+  <ContextMenu>
+    <Visible>true</Visible>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Select</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>ClearSelection</Command>
+    </MenuItem>
+    <MenuItem xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Select More</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>SelectRadius</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>SelectPolygon</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>SelectWithin</Command>
+      </SubItem>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Pan</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>ZoomRectangle</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>ZoomIn</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>ZoomOut</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Zoom</Command>
+    </MenuItem>
+    <MenuItem xsi:type="FlyoutItemType">
+      <Function>Flyout</Function>
+      <Label>Zoom</Label>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>PreviousView</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>NextView</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>FitToWindow</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>RestoreView</Command>
+      </SubItem>
+      <SubItem xsi:type="CommandItemType">
+        <Function>Command</Function>
+        <Command>ZoomToSelection</Command>
+      </SubItem>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Measure</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Buffer</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Refresh</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>CopyMap</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Print</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>GetPrintablePage</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>ViewOptions</Command>
+    </MenuItem>
+    <MenuItem xsi:type="SeparatorItemType">
+      <Function>Separator</Function>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>Help</Command>
+    </MenuItem>
+    <MenuItem xsi:type="CommandItemType">
+      <Function>Command</Function>
+      <Command>About</Command>
+    </MenuItem>
+  </ContextMenu>
+  <TaskPane>
+    <Visible>true</Visible>
+    <Width>250</Width>
+    <TaskBar>
+      <Visible>true</Visible>
+      <Home>
+        <Name>Home</Name>
+        <Tooltip>Return to home task page</Tooltip>
+        <Description>Return to home task page</Description>
+        <ImageURL>../stdicons/icon_home.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_home_disabled.gif</DisabledImageURL>
+      </Home>
+      <Forward>
+        <Name>Forward</Name>
+        <Tooltip>Forward to next task page</Tooltip>
+        <Description>Forward to next task page</Description>
+        <ImageURL>../stdicons/icon_forward.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_forward_disabled.gif</DisabledImageURL>
+      </Forward>
+      <Back>
+        <Name>Back</Name>
+        <Tooltip>Return to previous task page</Tooltip>
+        <Description>Return to previous task page</Description>
+        <ImageURL>../stdicons/icon_back.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_back_disabled.gif</DisabledImageURL>
+      </Back>
+      <Tasks>
+        <Name>Tasks</Name>
+        <Tooltip>Task List</Tooltip>
+        <Description>View a list of available tasks</Description>
+        <ImageURL>../stdicons/icon_tasks.gif</ImageURL>
+        <DisabledImageURL>../stdicons/icon_tasks_disabled.gif</DisabledImageURL>
+      </Tasks>
+    </TaskBar>
+  </TaskPane>
+  <StatusBar>
+    <Visible>true</Visible>
+  </StatusBar>
+  <ZoomControl>
+    <Visible>true</Visible>
+  </ZoomControl>
+  <CommandSet>
+    <Command xsi:type="BasicCommandType">
+      <Name>Pan</Name>
+      <Label>Pan Mode</Label>
+      <Tooltip>Pan Mode</Tooltip>
+      <Description>Drag the map to view areas out of range</Description>
+      <ImageURL>../stdicons/icon_pan.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_pan_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Pan</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>PanUp</Name>
+      <Label>Pan Up</Label>
+      <Tooltip>Pan Up</Tooltip>
+      <Description>Pan up by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panup.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panup_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanUp</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>PanDown</Name>
+      <Label>Pan Down</Label>
+      <Tooltip>Pan Down</Tooltip>
+      <Description>Pan down by a preset increment</Description>
+      <ImageURL>../stdicons/icon_pandown.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_pandown_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanDown</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>PanRight</Name>
+      <Label>Pan Right</Label>
+      <Tooltip>Pan Right</Tooltip>
+      <Description>Pan right by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panright.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panright_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanRight</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>PanLeft</Name>
+      <Label>Pan Left</Label>
+      <Tooltip>Pan Left</Tooltip>
+      <Description>Pan left by a preset increment</Description>
+      <ImageURL>../stdicons/icon_panleft.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_panleft_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PanLeft</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Zoom</Name>
+      <Label>Zoom</Label>
+      <Tooltip>Zoom Dynamic</Tooltip>
+      <Description>Zoom dynamically by clicking and dragging</Description>
+      <ImageURL>../stdicons/icon_zoom.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoom_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+      <Action>Zoom</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>ZoomIn</Name>
+      <Label>Zoom In</Label>
+      <Tooltip>Zoom In</Tooltip>
+      <Description>Zoom in by a preset increment</Description>
+      <ImageURL>../stdicons/icon_zoomin.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomin_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomIn</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>ZoomOut</Name>
+      <Label>Zoom Out</Label>
+      <Tooltip>Zoom Out</Tooltip>
+      <Description>Zoom out by a preset increment</Description>
+      <ImageURL>../stdicons/icon_zoomout.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomout_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomOut</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>ZoomRectangle</Name>
+      <Label>Zoom Rectangle</Label>
+      <Tooltip>Zoom Rectangle</Tooltip>
+      <Description>Zoom in on an area</Description>
+      <ImageURL>../stdicons/icon_zoomrect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomrect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomRectangle</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>ZoomToSelection</Name>
+      <Label>Zoom Selection</Label>
+      <Tooltip>Zoom Selection</Tooltip>
+      <Description>Zoom to the extents of selected features</Description>
+      <ImageURL>../stdicons/icon_zoomselect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomselect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ZoomToSelection</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>FitToWindow</Name>
+      <Label>Initial Map View</Label>
+      <Tooltip>Initial Map View</Tooltip>
+      <Description>Fit the extents of the map to the window</Description>
+      <ImageURL>../stdicons/icon_fitwindow.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_fitwindow_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>FitToWindow</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>PreviousView</Name>
+      <Label>Previous View</Label>
+      <Tooltip>Previous View</Tooltip>
+      <Description>Go to previous view</Description>
+      <ImageURL>../stdicons/icon_zoomprev.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomprev_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>PreviousView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>NextView</Name>
+      <Label>Next View</Label>
+      <Tooltip>Next View</Tooltip>
+      <Description>Go to next view</Description>
+      <ImageURL>../stdicons/icon_zoomnext.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_zoomnext_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>NextView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>RestoreView</Name>
+      <Label>Initial Center and Scale</Label>
+      <Tooltip>Initial Center and Scale</Tooltip>
+      <Description>Zoom to initial map center and scale</Description>
+      <ImageURL>../stdicons/icon_restorecenter.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_restorecenter_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>RestoreView</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Select</Name>
+      <Label>Select</Label>
+      <Tooltip>Select</Tooltip>
+      <Description>Select features by clicking and dragging</Description>
+      <ImageURL>../stdicons/icon_select.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_select_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Select</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>SelectRadius</Name>
+      <Label>Select Radius</Label>
+      <Tooltip>Select Radius</Tooltip>
+      <Description>Click and drag to select all features inside the circle</Description>
+      <ImageURL>../stdicons/icon_selectradius.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectradius_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>SelectRadius</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>SelectPolygon</Name>
+      <Label>Select Polygon</Label>
+      <Tooltip>Select Polygon</Tooltip>
+      <Description>Click and drag to select all features that fall within</Description>
+      <ImageURL>../stdicons/icon_selectpolygon.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectpolygon_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>SelectPolygon</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>ClearSelection</Name>
+      <Label>Clear the current selection</Label>
+      <Tooltip>Clear Selection</Tooltip>
+      <Description>Clear the current selection</Description>
+      <ImageURL>../stdicons/icon_clearselect.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_clearselect_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>ClearSelection</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>Refresh</Name>
+      <Label>Refresh Map</Label>
+      <Tooltip>Refresh Map</Tooltip>
+      <Description>Refresh map to reload all layers keeping current center and scale</Description>
+      <ImageURL>../stdicons/icon_refreshmap.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_refreshmap_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>Refresh</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>CopyMap</Name>
+      <Label>Copy</Label>
+      <Tooltip>Copy</Tooltip>
+      <Description>Copy current view of map to clipboard</Description>
+      <ImageURL>../stdicons/icon_copy.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_copy_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+      <Action>CopyMap</Action>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>About</Name>
+      <Label>About</Label>
+      <Tooltip>About</Tooltip>
+      <Description>Display information about this application</Description>
+      <TargetViewer>All</TargetViewer>
+      <Action>About</Action>
+    </Command>
+    <Command xsi:type="BufferCommandType">
+      <Name>Buffer</Name>
+      <Label>Buffer</Label>
+      <Tooltip>Buffer</Tooltip>
+      <Description>Create buffers around the selected features</Description>
+      <ImageURL>../stdicons/icon_buffer.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_buffer_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="SelectWithinCommandType">
+      <Name>SelectWithin</Name>
+      <Label>Select Within</Label>
+      <Tooltip>Select Within</Tooltip>
+      <Description>Select features that fall within currently selected areas</Description>
+      <ImageURL>../stdicons/icon_selectwithin.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_selectwithin_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="MeasureCommandType">
+      <Name>Measure</Name>
+      <Label>Measure</Label>
+      <Tooltip>Measure</Tooltip>
+      <Description>Measure distances on the map</Description>
+      <ImageURL>../stdicons/icon_measure.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_measure_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="PrintCommandType">
+      <Name>Print</Name>
+      <Label>Print</Label>
+      <Tooltip>Print</Tooltip>
+      <Description>Print with optional layout</Description>
+      <ImageURL>../stdicons/icon_print.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_print_disabled.gif</DisabledImageURL>
+      <TargetViewer>Dwf</TargetViewer>
+    </Command>
+    <Command xsi:type="ViewOptionsCommandType">
+      <Name>ViewOptions</Name>
+      <Label>View Options</Label>
+      <Tooltip>View Options</Tooltip>
+      <Description>View Options</Description>
+      <ImageURL>../stdicons/icon_viewoptions.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_viewoptions_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="GetPrintablePageCommandType">
+      <Name>GetPrintablePage</Name>
+      <Label>Get Printable Page</Label>
+      <Tooltip>Get Printable Page</Tooltip>
+      <Description>Get Printer-friendly page</Description>
+      <ImageURL>../stdicons/icon_printablepage.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_printablepage_disabled.gif</DisabledImageURL>
+      <TargetViewer>Ajax</TargetViewer>
+      <Target>NewWindow</Target>
+    </Command>
+    <Command xsi:type="HelpCommandType">
+      <Name>Help</Name>
+      <Label>Help</Label>
+      <Tooltip>Help</Tooltip>
+      <Description>Launch help for this application</Description>
+      <ImageURL>../stdicons/icon_help.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_help_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Target>TaskPane</Target>
+    </Command>
+    <Command xsi:type="BasicCommandType">
+      <Name>MapTip</Name>
+      <Label>Maptip</Label>
+      <Tooltip>Click to enable/disable display of map tooltips</Tooltip>
+      <Description>Click to enable/disable display of map tooltips</Description>
+      <ImageURL>../stdicons/icon_maptip.gif</ImageURL>
+      <DisabledImageURL>../stdicons/icon_maptip_disabled.gif</DisabledImageURL>
+      <TargetViewer>All</TargetViewer>
+      <Action>MapTip</Action>
+    </Command>
+  </CommandSet>
+</WebLayout>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganV26.WebLayout_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganV26.WebLayout_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/SheboyganV26.WebLayout_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Layouts/_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceFolderHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceFolderHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceFolderHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/Sheboygan.MapDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/Sheboygan.MapDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/Sheboygan.MapDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,122 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<MapDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.4.0" xsi:noNamespaceSchemaLocation="MapDefinition-2.4.0.xsd">
+  <Name>Sheboygan Map</Name>
+  <CoordinateSystem>GEOGCS["WGS84 Lat/Long's, Degrees, -180 ==> +180",DATUM["D_WGS_1984",SPHEROID["World_Geodetic_System_of_1984",6378137,298.257222932867]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]</CoordinateSystem>
+  <Extents>
+    <MinX>-87.764986990962839</MinX>
+    <MaxX>-87.695521510899724</MaxX>
+    <MinY>43.691398128787782</MinY>
+    <MaxY>43.797520000480347</MaxY>
+  </Extents>
+  <BackgroundColor>ffcdbd9c</BackgroundColor>
+  <MapLayer>
+    <Name>Roads</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/Roads.LayerDefinition</ResourceId>
+    <Selectable>false</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>Roads</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>true</Visible>
+    <Group>Transportation</Group>
+  </MapLayer>
+  <MapLayer>
+    <Name>Rail Lines</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/Tracks.LayerDefinition</ResourceId>
+    <Selectable>false</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>Rail Lines</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>false</Visible>
+    <Group>Transportation</Group>
+  </MapLayer>
+  <MapLayer>
+    <Name>Districts</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/Districts.LayerDefinition</ResourceId>
+    <Selectable>false</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>Districts</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>true</Visible>
+    <Group>Municipal</Group>
+  </MapLayer>
+  <MapLayer>
+    <Name>Buildings</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/Buildings.LayerDefinition</ResourceId>
+    <Selectable>false</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>Buildings</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>true</Visible>
+    <Group>Municipal</Group>
+  </MapLayer>
+  <MapLayer>
+    <Name>Parcels</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/Parcels.LayerDefinition</ResourceId>
+    <Selectable>true</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>Parcels</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>true</Visible>
+    <Group>Municipal</Group>
+  </MapLayer>
+  <MapLayer>
+    <Name>Islands</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/Islands.LayerDefinition</ResourceId>
+    <Selectable>false</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>Islands</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>true</Visible>
+    <Group>Base Map</Group>
+  </MapLayer>
+  <MapLayer>
+    <Name>Hydrography</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/Hydrography.LayerDefinition</ResourceId>
+    <Selectable>false</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>Hydrography</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>true</Visible>
+    <Group>Base Map</Group>
+  </MapLayer>
+  <MapLayer>
+    <Name>CityLimits</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/CityLimits.LayerDefinition</ResourceId>
+    <Selectable>false</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>CityLimits</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>true</Visible>
+    <Group>Base Map</Group>
+  </MapLayer>
+  <MapLayerGroup>
+    <Name>Base Map</Name>
+    <Visible>true</Visible>
+    <ShowInLegend>true</ShowInLegend>
+    <ExpandInLegend>true</ExpandInLegend>
+    <LegendLabel>Base Map</LegendLabel>
+    <Group/>
+  </MapLayerGroup>
+  <MapLayerGroup>
+    <Name>Municipal</Name>
+    <Visible>true</Visible>
+    <ShowInLegend>true</ShowInLegend>
+    <ExpandInLegend>true</ExpandInLegend>
+    <LegendLabel>Municipal</LegendLabel>
+    <Group/>
+  </MapLayerGroup>
+  <MapLayerGroup>
+    <Name>Transportation</Name>
+    <Visible>true</Visible>
+    <ShowInLegend>true</ShowInLegend>
+    <ExpandInLegend>true</ExpandInLegend>
+    <LegendLabel>Transportation</LegendLabel>
+    <Group/>
+  </MapLayerGroup>
+  <Watermarks>
+    <Watermark>
+      <Name>MapText</Name>
+      <ResourceId>Library://Samples/Sheboygan/Watermarks/MapText.WatermarkDefinition</ResourceId>
+    </Watermark>
+  </Watermarks>
+</MapDefinition>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/Sheboygan.MapDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/Sheboygan.MapDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/Sheboygan.MapDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/SheboyganCommercial.MapDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/SheboyganCommercial.MapDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/SheboyganCommercial.MapDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<MapDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.4.0" xsi:noNamespaceSchemaLocation="MapDefinition-2.4.0.xsd">
+  <Name>Sheboygan Map</Name>
+  <CoordinateSystem>PROJCS["WGS84.PseudoMercator",GEOGCS["LL84",DATUM["WGS84",SPHEROID["WGS84",6378137.000,298.25722293]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Popular Visualisation Pseudo Mercator"],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],PARAMETER["central_meridian",0.00000000000000],UNIT["Meter",1.00000000000000]]</CoordinateSystem>
+  <Extents>
+    <MinX>-9769953.6613122653</MinX>
+    <MaxX>-9762220.7994439267</MaxX>
+    <MinY>5417808.8801717851</MinY>
+    <MaxY>5434161.2241863841</MaxY>
+  </Extents>
+  <BackgroundColor>ffcdbd9c</BackgroundColor>
+  <MapLayer>
+    <Name>Roads</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/Roads.LayerDefinition</ResourceId>
+    <Selectable>false</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>Roads</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>true</Visible>
+    <Group>Transportation</Group>
+  </MapLayer>
+  <MapLayer>
+    <Name>Rail Lines</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/Tracks.LayerDefinition</ResourceId>
+    <Selectable>false</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>Rail Lines</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>false</Visible>
+    <Group>Transportation</Group>
+  </MapLayer>
+  <MapLayer>
+    <Name>Districts</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/Districts.LayerDefinition</ResourceId>
+    <Selectable>false</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>Districts</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>true</Visible>
+    <Group>Municipal</Group>
+  </MapLayer>
+  <MapLayer>
+    <Name>Buildings</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/Buildings.LayerDefinition</ResourceId>
+    <Selectable>false</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>Buildings</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>true</Visible>
+    <Group>Municipal</Group>
+  </MapLayer>
+  <MapLayer>
+    <Name>Parcels</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/Parcels.LayerDefinition</ResourceId>
+    <Selectable>true</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>Parcels</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>true</Visible>
+    <Group>Municipal</Group>
+  </MapLayer>
+  <MapLayer>
+    <Name>Islands</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/Islands.LayerDefinition</ResourceId>
+    <Selectable>false</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>Islands</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>true</Visible>
+    <Group>Base Map</Group>
+  </MapLayer>
+  <MapLayer>
+    <Name>Hydrography</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/Hydrography.LayerDefinition</ResourceId>
+    <Selectable>false</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>Hydrography</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>true</Visible>
+    <Group>Base Map</Group>
+  </MapLayer>
+  <MapLayer>
+    <Name>CityLimits</Name>
+    <ResourceId>Library://Samples/Sheboygan/Layers/CityLimits.LayerDefinition</ResourceId>
+    <Selectable>false</Selectable>
+    <ShowInLegend>true</ShowInLegend>
+    <LegendLabel>CityLimits</LegendLabel>
+    <ExpandInLegend>true</ExpandInLegend>
+    <Visible>true</Visible>
+    <Group>Base Map</Group>
+  </MapLayer>
+  <MapLayerGroup>
+    <Name>Base Map</Name>
+    <Visible>true</Visible>
+    <ShowInLegend>true</ShowInLegend>
+    <ExpandInLegend>true</ExpandInLegend>
+    <LegendLabel>Base Map</LegendLabel>
+    <Group/>
+  </MapLayerGroup>
+  <MapLayerGroup>
+    <Name>Municipal</Name>
+    <Visible>true</Visible>
+    <ShowInLegend>true</ShowInLegend>
+    <ExpandInLegend>true</ExpandInLegend>
+    <LegendLabel>Municipal</LegendLabel>
+    <Group/>
+  </MapLayerGroup>
+  <MapLayerGroup>
+    <Name>Transportation</Name>
+    <Visible>true</Visible>
+    <ShowInLegend>true</ShowInLegend>
+    <ExpandInLegend>true</ExpandInLegend>
+    <LegendLabel>Transportation</LegendLabel>
+    <Group/>
+  </MapLayerGroup>
+  <Watermarks/>
+</MapDefinition>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/SheboyganCommercial.MapDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/SheboyganCommercial.MapDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/SheboyganCommercial.MapDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Maps/_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceFolderHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceFolderHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceFolderHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<MapDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.4.0" xsi:noNamespaceSchemaLocation="MapDefinition-2.4.0.xsd">
+  <Name>Sheboygan Tiled Map</Name>
+  <CoordinateSystem>GEOGCS["WGS84 Lat/Long's, Degrees, -180 ==> +180",DATUM["D_WGS_1984",SPHEROID["World_Geodetic_System_of_1984",6378137,298.257222932867]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]</CoordinateSystem>
+  <Extents>
+    <MinX>-87.764986990962839</MinX>
+    <MaxX>-87.695521510899724</MaxX>
+    <MinY>43.691398128787782</MinY>
+    <MaxY>43.797520000480347</MaxY>
+  </Extents>
+  <BackgroundColor>ffcdbd9c</BackgroundColor>
+  <BaseMapDefinition>
+    <FiniteDisplayScale>1000</FiniteDisplayScale>
+    <FiniteDisplayScale>1930.69773</FiniteDisplayScale>
+    <FiniteDisplayScale>3727.59372</FiniteDisplayScale>
+    <FiniteDisplayScale>7196.85673</FiniteDisplayScale>
+    <FiniteDisplayScale>13894.95494</FiniteDisplayScale>
+    <FiniteDisplayScale>26826.95795</FiniteDisplayScale>
+    <FiniteDisplayScale>51794.74679</FiniteDisplayScale>
+    <FiniteDisplayScale>100000</FiniteDisplayScale>
+    <BaseMapLayerGroup>
+      <Name>Base Layer Group</Name>
+      <Visible>true</Visible>
+      <ShowInLegend>true</ShowInLegend>
+      <ExpandInLegend>true</ExpandInLegend>
+      <LegendLabel>Tiled Layers</LegendLabel>
+      <BaseMapLayer>
+        <Name>Roads</Name>
+        <ResourceId>Library://Samples/Sheboygan/Layers/Roads.LayerDefinition</ResourceId>
+        <Selectable>false</Selectable>
+        <ShowInLegend>true</ShowInLegend>
+        <LegendLabel>Roads</LegendLabel>
+        <ExpandInLegend>true</ExpandInLegend>
+      </BaseMapLayer>
+      <BaseMapLayer>
+        <Name>Districts</Name>
+        <ResourceId>Library://Samples/Sheboygan/Layers/Districts.LayerDefinition</ResourceId>
+        <Selectable>false</Selectable>
+        <ShowInLegend>true</ShowInLegend>
+        <LegendLabel>Districts</LegendLabel>
+        <ExpandInLegend>true</ExpandInLegend>
+      </BaseMapLayer>
+      <BaseMapLayer>
+        <Name>Buildings</Name>
+        <ResourceId>Library://Samples/Sheboygan/Layers/Buildings.LayerDefinition</ResourceId>
+        <Selectable>false</Selectable>
+        <ShowInLegend>true</ShowInLegend>
+        <LegendLabel>Buildings</LegendLabel>
+        <ExpandInLegend>true</ExpandInLegend>
+      </BaseMapLayer>
+      <BaseMapLayer>
+        <Name>Parcels</Name>
+        <ResourceId>Library://Samples/Sheboygan/Layers/Parcels.LayerDefinition</ResourceId>
+        <Selectable>true</Selectable>
+        <ShowInLegend>true</ShowInLegend>
+        <LegendLabel>Parcels</LegendLabel>
+        <ExpandInLegend>true</ExpandInLegend>
+      </BaseMapLayer>
+      <BaseMapLayer>
+        <Name>Islands</Name>
+        <ResourceId>Library://Samples/Sheboygan/Layers/Islands.LayerDefinition</ResourceId>
+        <Selectable>false</Selectable>
+        <ShowInLegend>true</ShowInLegend>
+        <LegendLabel>Islands</LegendLabel>
+        <ExpandInLegend>true</ExpandInLegend>
+      </BaseMapLayer>
+      <BaseMapLayer>
+        <Name>Hydrography</Name>
+        <ResourceId>Library://Samples/Sheboygan/Layers/Hydrography.LayerDefinition</ResourceId>
+        <Selectable>false</Selectable>
+        <ShowInLegend>true</ShowInLegend>
+        <LegendLabel>Hydrography</LegendLabel>
+        <ExpandInLegend>true</ExpandInLegend>
+      </BaseMapLayer>
+      <BaseMapLayer>
+        <Name>CityLimits</Name>
+        <ResourceId>Library://Samples/Sheboygan/Layers/CityLimits.LayerDefinition</ResourceId>
+        <Selectable>false</Selectable>
+        <ShowInLegend>true</ShowInLegend>
+        <LegendLabel>CityLimits</LegendLabel>
+        <ExpandInLegend>true</ExpandInLegend>
+      </BaseMapLayer>
+    </BaseMapLayerGroup>
+  </BaseMapDefinition>
+  <Watermarks>
+    <Watermark>
+      <Name>MapTiledText</Name>
+      <ResourceId>Library://Samples/Sheboygan/Watermarks/MapTiledText.WatermarkDefinition</ResourceId>
+    </Watermark>
+  </Watermarks>
+</MapDefinition>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/MapsTiled/_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/MapsTiled/_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/MapsTiled/_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceFolderHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceFolderHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceFolderHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<SymbolLibrary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SymbolLibrary-1.0.0.xsd">
+  <Symbol>
+    <Name>PushPin</Name>
+    <Resource>PushPin</Resource>
+  </Symbol>
+  <Symbol>
+    <Name>PushPin - Blue</Name>
+    <Resource>PushPin - Blue</Resource>
+  </Symbol>
+</SymbolLibrary>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary_DATA_symbols.dwf
===================================================================
(Binary files differ)


Property changes on: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary_DATA_symbols.dwf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/Logos.SymbolLibrary_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/Logos.SymbolLibrary_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/Logos.SymbolLibrary_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<SymbolLibrary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SymbolLibrary-1.0.0.xsd">
+  <Symbol>
+    <Name>CityLogo</Name>
+    <Resource>CityLogo</Resource>
+  </Symbol>
+</SymbolLibrary>

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/Logos.SymbolLibrary_DATA_symbols.dwf
===================================================================
(Binary files differ)


Property changes on: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/Logos.SymbolLibrary_DATA_symbols.dwf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/Logos.SymbolLibrary_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/Logos.SymbolLibrary_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/Logos.SymbolLibrary_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Symbols/_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceFolderHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceFolderHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceFolderHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapCommercialText.WatermarkDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapCommercialText.WatermarkDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapCommercialText.WatermarkDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<WatermarkDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.4.0" xsi:noNamespaceSchemaLocation="WatermarkDefinition-2.4.0.xsd">
+  <Content>
+    <SimpleSymbolDefinition>
+      <Name/>
+      <Description/>
+      <Graphics>
+        <Text>
+          <Content>'MapGuide Sheboygan Commericial Sample'</Content>
+          <FontName>'Arial'</FontName>
+          <Height>3</Height>
+          <Frame>
+            <FillColor>0xFFFFFFFF</FillColor>
+            <OffsetX>0.0</OffsetX>
+            <OffsetY>0.0</OffsetY>
+          </Frame>
+        </Text>
+      </Graphics>
+      <PointUsage/>
+      <ParameterDefinition/>
+    </SimpleSymbolDefinition>
+  </Content>
+  <Appearance/>
+  <Position>
+    <XYPosition>
+      <XPosition>
+        <Offset>5</Offset>
+        <Unit>Pixels</Unit>
+        <Alignment>Right</Alignment>
+      </XPosition>
+      <YPosition>
+        <Offset>5</Offset>
+        <Unit>Points</Unit>
+        <Alignment>Bottom</Alignment>
+      </YPosition>
+    </XYPosition>
+  </Position>
+</WatermarkDefinition>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapCommercialText.WatermarkDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapCommercialText.WatermarkDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapCommercialText.WatermarkDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapText.WatermarkDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapText.WatermarkDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapText.WatermarkDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<WatermarkDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.4.0" xsi:noNamespaceSchemaLocation="WatermarkDefinition-2.4.0.xsd">
+  <Content>
+    <SimpleSymbolDefinition>
+      <Name/>
+      <Description/>
+      <Graphics>
+        <Text>
+          <Content>'MapGuide Sheboygan Sample'</Content>
+          <FontName>'Arial'</FontName>
+          <Height>3</Height>
+          <Frame>
+            <FillColor>0xFFFFFFFF</FillColor>
+            <OffsetX>0.0</OffsetX>
+            <OffsetY>0.0</OffsetY>
+          </Frame>
+        </Text>
+      </Graphics>
+      <PointUsage/>
+      <ParameterDefinition/>
+    </SimpleSymbolDefinition>
+  </Content>
+  <Appearance/>
+  <Position>
+    <XYPosition>
+      <XPosition>
+        <Offset>5</Offset>
+        <Unit>Pixels</Unit>
+        <Alignment>Right</Alignment>
+      </XPosition>
+      <YPosition>
+        <Offset>5</Offset>
+        <Unit>Points</Unit>
+        <Alignment>Bottom</Alignment>
+      </YPosition>
+    </XYPosition>
+  </Position>
+</WatermarkDefinition>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapText.WatermarkDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapText.WatermarkDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapText.WatermarkDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapTiledText.WatermarkDefinition_CONTENT.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapTiledText.WatermarkDefinition_CONTENT.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapTiledText.WatermarkDefinition_CONTENT.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<WatermarkDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.4.0" xsi:noNamespaceSchemaLocation="WatermarkDefinition-2.4.0.xsd">
+  <Content>
+    <SimpleSymbolDefinition>
+      <Name/>
+      <Description/>
+      <Graphics>
+        <Text>
+          <Content>'MapGuide Sheboygan Tiled Sample'</Content>
+          <FontName>'Arial'</FontName>
+          <Height>3</Height>
+          <Frame>
+            <FillColor>0xFFFFFFFF</FillColor>
+            <OffsetX>0.0</OffsetX>
+            <OffsetY>0.0</OffsetY>
+          </Frame>
+        </Text>
+      </Graphics>
+      <PointUsage/>
+      <ParameterDefinition/>
+    </SimpleSymbolDefinition>
+  </Content>
+  <Appearance/>
+  <Position>
+    <XYPosition>
+      <XPosition>
+        <Offset>5</Offset>
+        <Unit>Pixels</Unit>
+        <Alignment>Right</Alignment>
+      </XPosition>
+      <YPosition>
+        <Offset>5</Offset>
+        <Unit>Points</Unit>
+        <Alignment>Bottom</Alignment>
+      </YPosition>
+    </XYPosition>
+  </Position>
+</WatermarkDefinition>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapTiledText.WatermarkDefinition_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapTiledText.WatermarkDefinition_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/MapTiledText.WatermarkDefinition_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceDocumentHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDocumentHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceDocumentHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/Watermarks/_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceFolderHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceFolderHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceFolderHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/_HEADER.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/_HEADER.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/Library/Samples/Sheboygan/_HEADER.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ResourceFolderHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceFolderHeader-1.0.0.xsd">
+	<Security xsi:noNamespaceSchemaLocation="ResourceSecurity-1.0.0.xsd">
+		<Inherited>true</Inherited>
+	</Security>
+</ResourceFolderHeader>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/MgResourcePackageManifest.xml
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/MgResourcePackageManifest.xml	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/MgResourcePackageManifest.xml	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?><ResourcePackageManifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourcePackageManifest-1.0.0.xsd"><Operations><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/FlexibleLayouts/_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/FlexibleLayouts/</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>HEADER</Name><Value>Library/S
 amples/Sheboygan/Layers/_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Maps/_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Maps/</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/MapsTiled/_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/MapsTiled/</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>HEADER</Name><Value>Library/Samp
 les/Sheboygan/Layouts/_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Symbols/_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Symbols/</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Data/_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>HEADER</Name><Value>Library/Samples/S
 heboygan/Watermarks/_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Watermarks/</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/CityLimits.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Layers/CityLimits.LayerDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layers/CityLimits.LayerDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/CityLimits.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><N
 ame>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/Buildings.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Layers/Buildings.LayerDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layers/Buildings.LayerDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/Buildings.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/Hydrography.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SE
 TRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Layers/Hydrography.LayerDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layers/Hydrography.LayerDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/Hydrography.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/Islands.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Layers/Islands.LayerDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter>
 <Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layers/Islands.LayerDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/Islands.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/Parcels.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Layers/Parcels.LayerDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layers/Parcels.LayerDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/Parcels.Laye
 rDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/Tracks.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Layers/Tracks.LayerDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layers/Tracks.LayerDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/Tracks.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganPhpTiled.WebLayout</Valu
 e></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganPhpTiled.WebLayout_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganPhpTiled.WebLayout_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganPhpTiled.WebLayout</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganAspTiled.WebLayout</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganAspTiled.WebLayout_CONTEN
 T.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganAspTiled.WebLayout_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganAspTiled.WebLayout</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganJspTiled.WebLayout</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganJspTiled.WebLayout_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganJspTiled.WebLayout_HEADER.xml</Value><ContentType>text/xml</ContentType></Pa
 rameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganJspTiled.WebLayout</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganPhp.WebLayout</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Para
 meter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganAsp.WebLayout</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</
 Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganJsp.WebLayout</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganMap.PrintLayout</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganMap.PrintLayout_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganMap.PrintLayout_H
 EADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganMap.PrintLayout</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary</Value></Parameter></Parameters></Operation><Operation
 ><Name>SETRESOURCEDATA</Name><Version>1.0.0</Version><Parameters><Parameter><Name>DATA</Name><Value>Library/Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary_DATA_symbols.dwf</Value><ContentType>model/vnd.dwf</ContentType></Parameter><Parameter><Name>DATALENGTH</Name><Value>5594</Value></Parameter><Parameter><Name>DATANAME</Name><Value>symbols.dwf</Value></Parameter><Parameter><Name>DATATYPE</Name><Value>File</Value></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Symbols/BasicSymbols.SymbolLibrary</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Symbols/Logos.SymbolLibrary</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Symbols/Logos.SymbolLibrary_CONTENT.xml</Value><ContentT
 ype>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Symbols/Logos.SymbolLibrary_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Symbols/Logos.SymbolLibrary</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCEDATA</Name><Version>1.0.0</Version><Parameters><Parameter><Name>DATA</Name><Value>Library/Samples/Sheboygan/Symbols/Logos.SymbolLibrary_DATA_symbols.dwf</Value><ContentType>model/vnd.dwf</ContentType></Parameter><Parameter><Name>DATALENGTH</Name><Value>22760</Value></Parameter><Parameter><Name>DATANAME</Name><Value>symbols.dwf</Value></Parameter><Parameter><Name>DATATYPE</Name><Value>File</Value></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Symbols/Logos.SymbolLibrary</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters>
 <Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/BuildingOutlines.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Data/BuildingOutlines.FeatureSource_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Data/BuildingOutlines.FeatureSource_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/BuildingOutlines.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCEDATA</Name><Version>1.0.0</Version><Parameters><Parameter><Name>DATA</Name><Value>Library/Samples/Sheboygan/Data/BuildingOutlines.FeatureSource_DATA_BuildingOutlines.sdf</Value><ContentType>application/octet-stream</ContentType></Parameter><Parameter><Name>DATAL
 ENGTH</Name><Value>8038400</Value></Parameter><Parameter><Name>DATANAME</Name><Value>BuildingOutlines.sdf</Value></Parameter><Parameter><Name>DATATYPE</Name><Value>File</Value></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/BuildingOutlines.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/CityLimits.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Data/CityLimits.FeatureSource_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Data/CityLimits.FeatureSource_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Libra
 ry://Samples/Sheboygan/Data/CityLimits.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCEDATA</Name><Version>1.0.0</Version><Parameters><Parameter><Name>DATA</Name><Value>Library/Samples/Sheboygan/Data/CityLimits.FeatureSource_DATA_CityLimits.sdf</Value><ContentType>application/octet-stream</ContentType></Parameter><Parameter><Name>DATALENGTH</Name><Value>307200</Value></Parameter><Parameter><Name>DATANAME</Name><Value>CityLimits.sdf</Value></Parameter><Parameter><Name>DATATYPE</Name><Value>File</Value></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/CityLimits.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/HydrographicLines.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parame
 ters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Data/HydrographicLines.FeatureSource_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Data/HydrographicLines.FeatureSource_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/HydrographicLines.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCEDATA</Name><Version>1.0.0</Version><Parameters><Parameter><Name>DATA</Name><Value>Library/Samples/Sheboygan/Data/HydrographicLines.FeatureSource_DATA_HydrographicLines.sdf</Value><ContentType>application/octet-stream</ContentType></Parameter><Parameter><Name>DATALENGTH</Name><Value>768000</Value></Parameter><Parameter><Name>DATANAME</Name><Value>HydrographicLines.sdf</Value></Parameter><Parameter><Name>DATATYPE</Name><Value>File</Value></Parameter><Parameter><Name>RESOU
 RCEID</Name><Value>Library://Samples/Sheboygan/Data/HydrographicLines.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCEDATA</Name><Version>1.0.0</Version><Paramete
 rs><Parameter><Name>DATA</Name><Value>Library/Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource_DATA_HydrographicPolygons.sdf</Value><ContentType>application/octet-stream</ContentType></Parameter><Parameter><Name>DATALENGTH</Name><Value>512000</Value></Parameter><Parameter><Name>DATANAME</Name><Value>HydrographicPolygons.sdf</Value></Parameter><Parameter><Name>DATATYPE</Name><Value>File</Value></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/HydrographicPolygons.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/Islands.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Data/Islands.FeatureSource_CONTENT.xml</Value><ContentType>text/xml</C
 ontentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Data/Islands.FeatureSource_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/Islands.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCEDATA</Name><Version>1.0.0</Version><Parameters><Parameter><Name>DATA</Name><Value>Library/Samples/Sheboygan/Data/Islands.FeatureSource_DATA_Islands.sdf</Value><ContentType>application/octet-stream</ContentType></Parameter><Parameter><Name>DATALENGTH</Name><Value>307200</Value></Parameter><Parameter><Name>DATANAME</Name><Value>Islands.sdf</Value></Parameter><Parameter><Name>DATATYPE</Name><Value>File</Value></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/Islands.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parame
 ter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/LandUse.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Data/LandUse.FeatureSource_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Data/LandUse.FeatureSource_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/LandUse.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCEDATA</Name><Version>1.0.0</Version><Parameters><Parameter><Name>DATA</Name><Value>Library/Samples/Sheboygan/Data/LandUse.FeatureSource_DATA_LandUse.sdf</Value><ContentType>application/octet-stream</ContentType></Parameter><Parameter><Name>DATALENGTH</Name><Value>1996800</Value></Parameter><Parameter><Nam
 e>DATANAME</Name><Value>LandUse.sdf</Value></Parameter><Parameter><Name>DATATYPE</Name><Value>File</Value></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/LandUse.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/Parcels.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Data/Parcels.FeatureSource_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Data/Parcels.FeatureSource_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/Parcels.FeatureSource</Value></Parameter></Parameters></Oper
 ation><Operation><Name>SETRESOURCEDATA</Name><Version>1.0.0</Version><Parameters><Parameter><Name>DATA</Name><Value>Library/Samples/Sheboygan/Data/Parcels.FeatureSource_DATA_Parcels.sdf</Value><ContentType>application/octet-stream</ContentType></Parameter><Parameter><Name>DATALENGTH</Name><Value>11929600</Value></Parameter><Parameter><Name>DATANAME</Name><Value>Parcels.sdf</Value></Parameter><Parameter><Name>DATATYPE</Name><Value>File</Value></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/Parcels.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/Rail.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Data/Rail.FeatureSource_CONTENT.xml</Value><C
 ontentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Data/Rail.FeatureSource_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/Rail.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCEDATA</Name><Version>1.0.0</Version><Parameters><Parameter><Name>DATA</Name><Value>Library/Samples/Sheboygan/Data/Rail.FeatureSource_DATA_Rail.sdf</Value><ContentType>application/octet-stream</ContentType></Parameter><Parameter><Name>DATALENGTH</Name><Value>870400</Value></Parameter><Parameter><Name>DATANAME</Name><Value>Rail.sdf</Value></Parameter><Parameter><Name>DATATYPE</Name><Value>File</Value></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/Rail.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Pa
 rameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/RoadCenterLines.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Data/RoadCenterLines.FeatureSource_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Data/RoadCenterLines.FeatureSource_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/RoadCenterLines.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCEDATA</Name><Version>1.0.0</Version><Parameters><Parameter><Name>DATA</Name><Value>Library/Samples/Sheboygan/Data/RoadCenterLines.FeatureSource_DATA_RoadCenterLines.sdf</Value><ContentType>application/octet-stream</ContentType></Parameter><Parameter><Name>DATALENGTH</Na
 me><Value>665600</Value></Parameter><Parameter><Name>DATANAME</Name><Value>RoadCenterLines.sdf</Value></Parameter><Parameter><Name>DATATYPE</Name><Value>File</Value></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/RoadCenterLines.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/Soils.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Data/Soils.FeatureSource_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Data/Soils.FeatureSource_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data
 /Soils.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCEDATA</Name><Version>1.0.0</Version><Parameters><Parameter><Name>DATA</Name><Value>Library/Samples/Sheboygan/Data/Soils.FeatureSource_DATA_Soils.sdf</Value><ContentType>application/octet-stream</ContentType></Parameter><Parameter><Name>DATALENGTH</Name><Value>4556800</Value></Parameter><Parameter><Name>DATANAME</Name><Value>Soils.sdf</Value></Parameter><Parameter><Name>DATATYPE</Name><Value>File</Value></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/Soils.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/Trees.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheb
 oygan/Data/Trees.FeatureSource_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Data/Trees.FeatureSource_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/Trees.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCEDATA</Name><Version>1.0.0</Version><Parameters><Parameter><Name>DATA</Name><Value>Library/Samples/Sheboygan/Data/Trees.FeatureSource_DATA_Trees.sdf</Value><ContentType>application/octet-stream</ContentType></Parameter><Parameter><Name>DATALENGTH</Name><Value>6656000</Value></Parameter><Parameter><Name>DATANAME</Name><Value>Trees.sdf</Value></Parameter><Parameter><Name>DATATYPE</Name><Value>File</Value></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/Trees.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>D
 ELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/VotingDistricts.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Data/VotingDistricts.FeatureSource_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Data/VotingDistricts.FeatureSource_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/VotingDistricts.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCEDATA</Name><Version>1.0.0</Version><Parameters><Parameter><Name>DATA</Name><Value>Library/Samples/Sheboygan/Data/VotingDistricts.FeatureSource_DATA_VotingDistricts.sdf</Value><ContentType>application/octet-stre
 am</ContentType></Parameter><Parameter><Name>DATALENGTH</Name><Value>307200</Value></Parameter><Parameter><Name>DATANAME</Name><Value>VotingDistricts.sdf</Value></Parameter><Parameter><Name>DATATYPE</Name><Value>File</Value></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Data/VotingDistricts.FeatureSource</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/Districts.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Layers/Districts.LayerDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layers/Districts.LayerDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></
 Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/Districts.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/Roads.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Layers/Roads.LayerDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layers/Roads.LayerDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layers/Roads.LayerDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Na
 me>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Maps/SheboyganCommercial.MapDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Maps/SheboyganCommercial.MapDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Maps/SheboyganCommercial.MapDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Maps/SheboyganCommercial.MapDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Para
 meter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Maps/Sheboygan.MapDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Maps/Sheboygan.MapDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Watermarks/MapText.WatermarkDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Watermarks/MapText.WatermarkDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Waterma
 rks/MapText.WatermarkDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Watermarks/MapText.WatermarkDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Watermarks/MapCommercialText.WatermarkDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Watermarks/MapCommercialText.WatermarkDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Watermarks/MapCommercialText.WatermarkDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Watermar
 ks/MapCommercialText.WatermarkDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Watermarks/MapTiledText.WatermarkDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/Watermarks/MapTiledText.WatermarkDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Watermarks/MapTiledText.WatermarkDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Watermarks/MapTiledText.WatermarkDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCE
 ID</Name><Value>Library://Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/MapsTiled/Sheboygan.MapDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganV26.WebLayout</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Va
 lue>Library/Samples/Sheboygan/Layouts/SheboyganV26.WebLayout_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/Layouts/SheboyganV26.WebLayout_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/Layouts/SheboyganV26.WebLayout</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/FlexibleLayouts/SlateCommercial.ApplicationDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/FlexibleLayouts/SlateCommercial.ApplicationDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/
 FlexibleLayouts/SlateCommercial.ApplicationDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/FlexibleLayouts/SlateCommercial.ApplicationDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samp
 les/Sheboygan/FlexibleLayouts/Slate.ApplicationDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/FlexibleLayouts/TurquoiseYellow.ApplicationDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/FlexibleLayouts/TurquoiseYellow.ApplicationDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/FlexibleLayouts/TurquoiseYellow.ApplicationDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/FlexibleLayouts/TurquoiseYellow.ApplicationDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Ver
 sion>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/FlexibleLayouts/Aqua.ApplicationDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/FlexibleLayouts/Aqua.ApplicationDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/FlexibleLayouts/Aqua.ApplicationDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/FlexibleLayouts/Aqua.ApplicationDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/FlexibleLayouts/LimeGold.ApplicationDefinition</Value></Parameter></Parameters></Operat
 ion><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/FlexibleLayouts/LimeGold.ApplicationDefinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/FlexibleLayouts/LimeGold.ApplicationDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/FlexibleLayouts/LimeGold.ApplicationDefinition</Value></Parameter></Parameters></Operation><Operation><Name>DELETERESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/FlexibleLayouts/Maroon.ApplicationDefinition</Value></Parameter></Parameters></Operation><Operation><Name>SETRESOURCE</Name><Version>1.0.0</Version><Parameters><Parameter><Name>CONTENT</Name><Value>Library/Samples/Sheboygan/FlexibleLayouts/Maroon.ApplicationD
 efinition_CONTENT.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>HEADER</Name><Value>Library/Samples/Sheboygan/FlexibleLayouts/Maroon.ApplicationDefinition_HEADER.xml</Value><ContentType>text/xml</ContentType></Parameter><Parameter><Name>RESOURCEID</Name><Value>Library://Samples/Sheboygan/FlexibleLayouts/Maroon.ApplicationDefinition</Value></Parameter></Parameters></Operation></Operations></ResourcePackageManifest>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/build.bat
===================================================================
--- branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/build.bat	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/TestData/Samples/Sheboygan/build.bat	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,10 @@
+ at echo off
+if exist Sheboygan.mgp del /F Sheboygan.mgp
+copy /Y ..\..\FeatureService\SDF\Sheboygan_BuildingOutlines.sdf Library\Samples\Sheboygan\Data\BuildingOutlines.FeatureSource_DATA_BuildingOutlines.sdf
+copy /Y ..\..\FeatureService\SDF\Sheboygan_CityLimits.sdf Library\Samples\Sheboygan\Data\CityLimits.FeatureSource_DATA_CityLimits.sdf
+copy /Y ..\..\FeatureService\SDF\Sheboygan_Parcels.sdf Library\Samples\Sheboygan\Data\Parcels.FeatureSource_DATA_Parcels.sdf
+copy /Y ..\..\FeatureService\SDF\Sheboygan_VotingDistricts.sdf Library\Samples\Sheboygan\Data\VotingDistricts.FeatureSource_DATA_VotingDistricts.sdf
+copy /Y ..\..\MappingService\UT_HydrographicPolygons.sdf Library\Samples\Sheboygan\Data\HydrographicPolygons.FeatureSource_DATA_HydrographicPolygons.sdf
+copy /Y ..\..\MappingService\UT_Rail.sdf Library\Samples\Sheboygan\Data\Rail.FeatureSource_DATA_Rail.sdf
+copy /Y ..\..\TileService\UT_RoadCenterLines.sdf Library\Samples\Sheboygan\Data\RoadCenterLines.FeatureSource_DATA_RoadCenterLines.sdf
+7z a -tzip Sheboygan.mgp Library/ MgResourcePackageManifest.xml
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/WebTier/Php/MapAgentShim/index.php
===================================================================
--- branches/2.6/MgDev/UnitTest/WebTier/Php/MapAgentShim/index.php	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/WebTier/Php/MapAgentShim/index.php	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,293 @@
+<?php
+
+/*
+ index.php
+ 
+ This is a php-based shim to the mapagent. It uses the MgHttpRequest/MgHttpResponse APIs to replicate
+ most of the functionality of the mapagent. The purpose of this script is to provide a simple mapagent
+ http endpoint (in conjunction with PHP's built-in web server) in which to run the PHP-based mapagent
+ test suite against
+ 
+ Usage:
+ 
+ php <various options> -S servername:port -t path/to/this/file.php
+ 
+ The mapagent can then be accessed via:
+ 
+ http://servername:port/mapguide/mapagent/mapagent.fcgi
+
+ */
+
+require_once dirname(__FILE__)."/../../../../Web/src/mapadmin/constants.php";
+
+function EscapeXmlChars($str) {
+    $newStr = "";
+    $len = strlen($str);
+
+    for($i = 0; $i < $len; $i++)
+    {
+        switch($str[$i])
+        {
+            case '&' :
+            {
+                $newStr .= "&";
+                break;
+            }
+            case '\'' :
+            {
+                $newStr .= "'";
+                break;
+            }
+            case '>' :
+            {
+                $newStr .= ">";
+                break;
+            }
+            case '<' :
+            {
+                $newStr .= "<";
+                break;
+            }
+            case '"' :
+            {
+                $newStr .= """;
+                break;
+            }
+            default :
+                $newStr .= $str[$i];
+        }
+    }
+    return $newStr;
+}
+
+function Unauthorized() {
+    //Send back 401
+    header('WWW-Authenticate: Basic realm="MapGuide"');
+    $e = new Exception();
+    echo "You must enter a valid login ID and password to access this site\r\n";
+    http_response_code(401);
+    die;
+}
+
+function CheckParams($param) {
+    $bValid = $param->ContainsParameter("SESSION");
+    if (!$bValid)
+        $bValid = $param->ContainsParameter("USERNAME");
+    
+    $op = $param->GetParameterValue("OPERATION");
+    if ($op == "GETSITESTATUS")
+        $bValid = true;
+
+    //Invalid service parameter needs to trigger unauthorized
+    if ($bValid) {
+        if ($param->ContainsParameter("SERVICE")) {
+            $svc = $param->GetParameterValue("SERVICE");
+            $bValid = ($svc == "WFS" || $svc == "WMS");
+        }
+    }
+
+    if (!$bValid)
+        Unauthorized();
+}
+
+function OutputException($statusMessage, $errorMessage, $details, $phpTrace, $status = 500, $mimeType = MgMimeType::Html) {
+    $errResponse = "";
+    $errResponse = sprintf(
+            "\r\n<html>\n<head>\n<title>%s</title>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n</head>\n<body>\n<h2>%s</h2>\n%s\n</body>\n</html>\n",
+            $statusMessage,
+            $errorMessage,
+            $details,
+            $phpTrace);
+    header($_SERVER["SERVER_PROTOCOL"]." 559 $statusMessage"); 
+    header("Status: 559 $statusMessage");
+    header($statusMessage, true, 559);
+    echo $errResponse;
+}
+
+function OutputError($result, $mimeType = MgMimeType::Html) {
+    $statusMessage = $result->GetHttpStatusMessage();
+    $e = new Exception();
+    if ($statusMessage === "MgAuthenticationFailedException" || $statusMessage === "MgUnauthorizedAccessException" || $statusMessage == "MgPermissionDeniedException") {
+        Unauthorized();
+    } else {
+        header("Content-Type: $mimeType");
+        OutputException($statusMessage, $result->GetErrorMessage(), $result->GetDetailedErrorMessage(), $e->getTraceAsString(), $result->GetStatusCode(), $mimeType);
+    }
+}
+
+function OutputMgStringCollection($strCol, $mimeType = MgMimeType::Xml) {
+    $content = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><StringCollection />";
+    if ($strCol != null) {
+        // MgStringCollection::ToXml() doesn't seem to be reliable in PHP (bug?), so do this manually
+        $count = $strCol->GetCount();
+        $content = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><StringCollection>";
+        for ($i = 0; $i < $count; $i++) {
+            $value = EscapeXmlChars($strCol->GetItem($i));
+            $content .= "<Item>$value</Item>";
+        }
+        $content .= "</StringCollection>";
+    }
+    header("Content-Type: $mimeType");
+    echo $content;
+}
+
+function OutputByteReader($byteReader, $chunkResult = false, $bPrependXmlProlog = false) {
+    $mimeType = $byteReader->GetMimeType();
+    header("Content-Type: $mimeType");
+    $rdrLen = $byteReader->GetLength();
+    if ($mimeType == MgMimeType::Xml && $bPrependXmlProlog) {
+        echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
+    }
+    do
+    {
+        $data = str_pad("\0", 50000, "\0");
+        $len = $byteReader->Read($data, 50000);
+        if ($len > 0)
+        {
+            $str = substr($data, 0, $len);
+            echo $str;
+        }
+    } while ($len > 0);
+}
+
+function TryFillCredentials($param) {
+    if (array_key_exists("SESSION", $_REQUEST)) {
+        $param->AddParameter("SESSION", $_REQUEST["SESSION"]);
+    } else {
+        $username = null;
+        $password = "";
+        // Username/password extraction logic ripped from PHP implementation of the MapGuide AJAX viewer
+        
+        // No session, no credentials explicitely passed. Check for HTTP Auth user/passwd.  Under Apache CGI, the
+        // PHP_AUTH_USER and PHP_AUTH_PW are not set.  However, the Apache admin may
+        // have rewritten the authentication information to REMOTE_USER.  This is a
+        // suggested approach from the Php.net website.
+
+        // Has REMOTE_USER been rewritten?
+        if (!isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['REMOTE_USER']) &&
+        preg_match('/Basic +(.*)$/i', $_SERVER['REMOTE_USER'], $matches))
+        {
+            list($name, $password) = explode(':', base64_decode($matches[1]));
+            $_SERVER['PHP_AUTH_USER'] = strip_tags($name);
+            $_SERVER['PHP_AUTH_PW']    = strip_tags($password);
+        }
+
+
+        // REMOTE_USER may also appear as REDIRECT_REMOTE_USER depending on CGI setup.
+        //  Check for this as well.
+        if (!isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['REDIRECT_REMOTE_USER']) &&
+        preg_match('/Basic (.*)$/i', $_SERVER['REDIRECT_REMOTE_USER'], $matches))
+        {
+            list($name, $password) = explode(':', base64_decode($matches[1]));
+            $_SERVER['PHP_AUTH_USER'] = strip_tags($name);
+            $_SERVER['PHP_AUTH_PW'] = strip_tags($password);
+        }
+
+        // Finally, PHP_AUTH_USER may actually be defined correctly.  If it is set, or
+        // has been pulled from REMOTE_USER rewriting then set our USERNAME and PASSWORD
+        // parameters.
+        if (isset($_SERVER['PHP_AUTH_USER']) && strlen($_SERVER['PHP_AUTH_USER']) > 0)
+        {
+            $username = $_SERVER['PHP_AUTH_USER'];
+            if (isset($_SERVER['PHP_AUTH_PW']) && strlen($_SERVER['PHP_AUTH_PW']) > 0)
+                $password = $_SERVER['PHP_AUTH_PW'];
+        }
+
+        //If we have everything we need, put it into the MgHttpRequestParam
+        if ($username != null) {
+            $param->AddParameter("USERNAME", $username);
+            if ($password !== "") {
+                $param->AddParameter("PASSWORD", $password);
+            }
+        } else {
+            Unauthorized();
+        }
+    }
+}
+
+$iniFile = dirname(__FILE__)."/../../../webconfig.ini";
+try {
+    if (array_key_exists("WEBCONFIGINI", $_SERVER)) {
+        $iniFile = $_SERVER["WEBCONFIGINI"];
+    }
+    if (array_key_exists("WEBCONFIGINI", $_ENV)) {
+        $iniFile = $_ENV["WEBCONFIGINI"];
+    }
+    MgInitializeWebTier($iniFile);
+    $method = $_SERVER["REQUEST_METHOD"];
+    if (strpos($_SERVER["REQUEST_URI"], '/mapguide/mapagent/mapagent.fcgi') !== FALSE) {
+        if ($method == "GET" || $method == "POST") {
+            $uri = "http://".$_SERVER["SERVER_NAME"].$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
+            $req = new MgHttpRequest($uri);
+            $param = $req->GetRequestParam();
+            
+            TryFillCredentials($param);
+            
+            if ($method == "GET") {
+                foreach ($_GET as $key => $value) {
+                    $param->AddParameter($key, $value);
+                }
+            } else { //POST
+                foreach ($_POST as $key => $value) {
+                    $param->AddParameter($key, $value);
+                }
+                foreach ($_FILES as $key => $value) {
+                    if (array_key_exists("error", $value) && $value["error"] == 1) {
+                        echo "Error: The file ".$value["name"]." for field $key exceeds the maximum file upload size of ".ini_get("upload_max_filesize");
+                        die;
+                    }
+                    $param->AddParameter($key, $value["tmp_name"]);
+                    $param->SetParameterType($key, "tempfile");
+                }
+            }
+            
+            CheckParams($param);
+            
+            $response = $req->Execute();
+            $result = $response->GetResult();
+
+            $status = $result->GetStatusCode();
+            if ($status == 200) {
+                $resultObj = $result->GetResultObject();
+                if ($resultObj != null) {
+                    header("Content-Type: ".$result->GetResultContentType());
+                    if ($resultObj instanceof MgByteReader) {
+                        OutputByteReader($resultObj);
+                    } else if ($resultObj instanceof MgStringCollection) {
+                        //OutputMgStringCollection($resultObj, $param->GetParameterValue("FORMAT"));
+                        $byteReader = $resultObj->ToXml();
+                        OutputByteReader($byteReader);
+                    } else if ($resultObj instanceof MgHttpPrimitiveValue) {
+                        echo $resultObj->ToString();
+                    } else if (method_exists($resultObj, "ToXml")) {
+                        $byteReader = $resultObj->ToXml();
+                        OutputByteReader($byteReader);
+                    } else {
+                        throw new Exception("Could not determine how to output: ".$resultObj->ToString()); //TODO: Localize
+                    }
+                }
+            } else {
+                $format = $param->GetParameterValue("FORMAT");
+                if ($format != "") {
+                    OutputError($result, $format);
+                } else {
+                    OutputError($result);
+                }
+                //throw new Exception("Error executing operation: ".$param->GetParameterValue("OPERATION").". The status code is: $status"); //TODO: Localize
+            }
+            http_response_code($status);
+            
+        } else {
+            echo "Unsupported method";
+            http_response_code(405);
+        }
+    } else {
+        return false;
+    }
+}
+catch (MgException $ex) {
+    OutputException(get_class($ex), $ex->GetExceptionMessage(), $ex->GetDetails(), $e->getTraceAsString(), 559);
+    die;
+}
+
+?>
\ No newline at end of file

Added: branches/2.6/MgDev/UnitTest/prepare.php
===================================================================
--- branches/2.6/MgDev/UnitTest/prepare.php	                        (rev 0)
+++ branches/2.6/MgDev/UnitTest/prepare.php	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,49 @@
+<?php
+
+require_once dirname(__FILE__)."/../Web/src/mapadmin/constants.php";
+
+$file = dirname(__FILE__)."/webconfig.ini";
+$mgp = dirname(__FILE__)."/TestData/Samples/Sheboygan/Sheboygan.mgp";
+if (!file_exists($mgp)) {
+    echo "Sheboygan.mgp not found. Please put this file in this directory before running this script\n";
+    exit(255);
+}
+if (!file_exists($file)) {
+    $src = dirname(__FILE__)."/../Web/src/webconfig.ini";
+    $csMapDir = realpath(dirname(__FILE__)."/../Oem/CsMap/Dictionaries");
+    $resDir = realpath(dirname(__FILE__)."/../Web/src/mapagent/Resources");
+    
+    $ini = file($src);
+    $newlines = array();
+    foreach ($ini as $lineNum => $line) {
+        $write = "";
+        if (strpos($line, 'MentorDictionaryPath') !== FALSE)
+            $write = "MentorDictionaryPath = $csMapDir";
+        else if (strpos($line, 'ResourcesPath') !== FALSE)
+            $write = "ResourcesPath = $resDir";
+        else
+            $write = $line;
+        array_push($newlines, $write);
+    }
+    
+    file_put_contents($file, implode("\n", $newlines));
+    echo "Saved: $file\n";
+}
+try {
+    MgInitializeWebTier($file);
+    $siteConn = new MgSiteConnection();
+    $userInfo = new MgUserInformation("Administrator", "admin");
+    $siteConn->Open($userInfo);
+    $src = new MgByteSource($mgp);
+    $rdr = $src->GetReader();
+    $resSvc = $siteConn->CreateService(MgServiceType::ResourceService);
+    echo "Loading Sheboygan.mgp\n";
+    $resSvc->ApplyResourcePackage($rdr);
+    echo "Sheboygan.mgp loaded\n";
+    exit(0);
+} catch (MgException $ex) {
+    echo $ex->GetDetails();
+    exit(255);
+}
+
+?>
\ No newline at end of file

Modified: branches/2.6/MgDev/build.bat
===================================================================
--- branches/2.6/MgDev/build.bat	2014-05-22 04:25:19 UTC (rev 8144)
+++ branches/2.6/MgDev/build.bat	2014-05-22 04:44:12 UTC (rev 8145)
@@ -223,6 +223,10 @@
 pushd %MG_DOC%\devguide
 call make.bat html
 popd
+echo [build]: Sheboygan Sample data set
+pushd %MG_DEV%\UnitTest\TestData\Samples\Sheboygan
+call build.bat
+popd
 goto quit
 
 rem =======================================================
@@ -351,6 +355,13 @@
 echo [install]: Copy dlls into .net samples
 %XCOPY% "%MG_OUTPUT_WEB%\www\mapviewernet\bin\*.dll" "%MG_OUTPUT_WEB%\www\dotnetsamples\bin" /EXCLUDE:svn_excludes.txt+%TYPEBUILD%_excludes.txt
 %XCOPY% "%MG_OUTPUT_WEB%\www\mapviewernet\bin\*.dll" "%MG_OUTPUT_WEB%\www\dotnetviewersample\bin" /EXCLUDE:svn_excludes.txt+%TYPEBUILD%_excludes.txt
+if not exist "%MG_DEV%\UnitTest\TestData\Samples\Sheboygan\Sheboygan.mgp" (
+    echo [build]: Sheboygan Sample data set
+    pushd %MG_DEV%\UnitTest\TestData\Samples\Sheboygan
+    call build.bat
+    popd
+)
+copy /Y "%MG_DEV%\UnitTest\TestData\Samples\Sheboygan\Sheboygan.mgp" "%MG_OUTPUT%"
 goto quit
 
 :error

Added: branches/2.6/MgDev/run_tests.bat
===================================================================
--- branches/2.6/MgDev/run_tests.bat	                        (rev 0)
+++ branches/2.6/MgDev/run_tests.bat	2014-05-22 04:44:12 UTC (rev 8145)
@@ -0,0 +1,108 @@
+ at echo off
+SET PLAT=x86
+SET CONFIG=Release
+SET CONF=Release
+SET TEST_COMPONENT=
+IF NOT "%1"=="" SET PLAT=%1
+IF "%PLAT%"=="x64" SET CONF=Release64
+REM Time to wait for mgserver.exe to startup in seconds
+SET MGSERVER_WAIT=15
+REM Vars to inject into $_SERVER in PHP CLI
+SET SERVER_ADDR=localhost
+SET WEBCONFIGINI=%CD%\UnitTest\webconfig.ini
+SET SERVER_PORT=8018
+REM SET WEBCONFIGINI=C:\Program Files\OSGeo\MapGuide\Web\www\webconfig.ini
+REM SET SERVER_PORT=80
+SET PHP_TEST_CWD=%CD%\Web\src\mapagent
+SET PHP_EXT_DIR=C:\Program Files\OSGeo\MapGuide\Web\Php\ext
+
+SET START_MGSERVER=1
+SET START_WEBSERVER=1
+SET RUN_SERVER_TESTS=1
+SET RUN_PHP_TESTS=1
+SET RUN_DOTNET_TESTS=1
+
+echo *************** TEST SUMMARY ******************
+echo Platform: %PLAT%
+echo Configuration: %CONF%
+echo ***********************************************
+:test_server
+if "%RUN_SERVER_TESTS%" == "1" (
+    echo [test]: MapGuide Server
+    SET TEST_COMPONENT=MapGuide Server Tests
+    pushd Server\bin\%CONF%
+    rem Before we run, nuke the Repositories/ directory to ensure a clean slate
+    rd /S /Q Repositories
+    mgserver.exe test
+    if %ERRORLEVEL% neq 0 echo [test]: MapGuide Server tests had one or more failures. Check UnitTestResults.xml for more information
+    rem Nuke again for future tests
+    rd /S /Q Repositories
+    popd
+)
+:build_tests
+if "%RUN_DOTNET_TESTS%" == "1" (
+    echo [build]: DotNet test runner
+    SET TEST_COMPONENT=Build DotNet test runner
+    pushd UnitTest\WebTier\DotNet
+    msbuild /p:Configuration=%CONFIG%;Platform=%PLAT% DotNet.sln
+    if %ERRORLEVEL% neq 0 goto error
+    popd
+)
+:start_mgserver
+if "%START_MGSERVER%" == "1" (
+    echo [test]: Starting MapGuide Server. Waiting %MGSERVER_WAIT%s
+    pushd Server\bin\%CONF%
+    rem Before we run, nuke the Repositories/ directory to ensure a clean slate
+    rd /S /Q Repositories
+    start mgserver run
+    REM An elegant hack to pause this script allowing mgserver to start up
+    echo Waiting %MGSERVER_WAIT%s for mgserver.exe to start up
+    ping -n %MGSERVER_WAIT% 127.0.0.1 > NUL
+    popd
+)
+:prepare_webconfig
+pushd UnitTest
+SET TEST_COMPONENT=Prepare webtier test suites
+php -n -d display_errors=Off -d extension_dir="%PHP_EXT_DIR%" -d extension=php_mbstring.dll -d extension=php_curl.dll -d extension=php_MapGuideApi.dll -d extension=php_SQLitePhpApi.dll prepare.php
+if %ERRORLEVEL% neq 0 goto error
+popd
+:start_php_webserver
+if "%START_WEBSERVER%" == "1" (
+    echo [test]: Starting PHP web server. Waiting %MGSERVER_WAIT%s
+    start php -n -d display_errors=Off -d upload_max_filesize=20M -d extension_dir="%PHP_EXT_DIR%" -d extension=php_mbstring.dll -d extension=php_curl.dll -d extension=php_MapGuideApi.dll -d extension=php_SQLitePhpApi.dll -S %SERVER_ADDR%:%SERVER_PORT% -t %CD%\UnitTest\WebTier\MapAgent\MapAgentForms %CD%\UnitTest\WebTier\Php\MapAgentShim\index.php
+    ping -n %MGSERVER_WAIT% 127.0.0.1 > NUL
+)
+:test_php
+if "%RUN_PHP_TESTS%" == "1" (
+    echo [test]: PHP tests
+    pushd UnitTest\WebTier\Php
+    php.exe -n -d display_errors=Off -d extension_dir="%PHP_EXT_DIR%" -d extension=php_mbstring.dll -d extension=php_curl.dll -d extension=php_MapGuideApi.dll -d extension=php_SQLitePhpApi.dll RunTests.php
+    popd
+)
+:test_dotnet
+if "%RUN_DOTNET_TESTS%" == "1" (
+    echo [test]: .net tests
+    pushd UnitTest\WebTier\DotNet_%PLAT%
+    MgTestRunner.exe "%WEBCONFIGINI%" "../../../Oem/CsMap/Dictionaries"
+    if %ERRORLEVEL% neq 0 echo [test]: .net test runner had one or more test failures. Check log files for more information
+    popd
+)
+:stop_mgserver
+if "%START_MGSERVER%" == "1" (
+    echo [test]: Terminating mgserver.exe
+    REM We're naturally assuming the only mgserver.exe that is running is the one this script started
+    taskkill /im mgserver.exe
+)
+:stop_php_webserver
+if "%START_WEBSERVER%" == "1" (
+    echo [test]: Terminating php.exe
+    REM We're naturally assuming the only php.exe that is running is the one this script started
+    taskkill /im php.exe
+)
+goto done
+:error
+echo [error]: An error occured with %TEST_COMPONENT%
+goto quit
+:done
+
+:quit
\ No newline at end of file



More information about the mapguide-commits mailing list