[mapguide-commits] r8850 - in sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src: TestCommon TestMapGuideApi

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Dec 3 07:55:00 PST 2015


Author: jng
Date: 2015-12-03 07:55:00 -0800 (Thu, 03 Dec 2015)
New Revision: 8850

Removed:
   sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestCommon/Resources.Designer.cs
   sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestCommon/Resources.resx
   sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestMapGuideApi/Resources.Designer.cs
   sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestMapGuideApi/Resources.resx
Modified:
   sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestCommon/CommonUtility.cs
Log:
More relative path fixing. Failures cut down to 42/696

Modified: sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestCommon/CommonUtility.cs
===================================================================
--- sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestCommon/CommonUtility.cs	2015-12-03 15:46:00 UTC (rev 8849)
+++ sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestCommon/CommonUtility.cs	2015-12-03 15:55:00 UTC (rev 8850)
@@ -114,13 +114,15 @@
         public static MgByteReader GetByteReaderFromPath(string path, bool bCheck = true)
         {
             //Our DNX root is 2 levels deeper, so fix any input paths that expect the original depth
-            path = path?.Replace("../../TestData", TestDataRoot.Path) ?? string.Empty;
+            string fixedPath = path;
+            if (path?.Contains(TestDataRoot.Path) == false)
+                fixedPath = path?.Replace("../../TestData", TestDataRoot.Path) ?? string.Empty;
 
             if (bCheck)
             {
-                if (File.Exists(path))
+                if (File.Exists(fixedPath))
                 {
-                    MgByteSource source = new MgByteSource(path);
+                    MgByteSource source = new MgByteSource(fixedPath);
                     MgByteReader reader = source.GetReader();
                     return reader;
                 }
@@ -128,7 +130,7 @@
             }
             else
             {
-                MgByteSource source = new MgByteSource(path);
+                MgByteSource source = new MgByteSource(fixedPath);
                 MgByteReader reader = source.GetReader();
                 return reader;
             }
@@ -164,12 +166,17 @@
             return dbPath;
         }
 
-        public static string GetPath(string dbPath)
+        public static string GetPath(string path)
         {
-            if (Path.IsPathRooted(dbPath))
-                return dbPath.Replace("\\", "/");
+            //Our DNX root is 2 levels deeper, so fix any input paths that expect the original depth
+            string fixedPath = path;
+            if (path?.Contains(TestDataRoot.Path) == false)
+                fixedPath = path?.Replace("../../TestData", TestDataRoot.Path) ?? string.Empty;
+
+            if (Path.IsPathRooted(fixedPath))
+                return fixedPath.Replace("\\", "/");
             else
-                return Path.Combine(GetAssemblyPath(), dbPath).Replace("\\", "/");
+                return Path.Combine(GetAssemblyPath(), fixedPath).Replace("\\", "/");
         }
 
         private static string GetAssemblyPath()

Deleted: sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestCommon/Resources.Designer.cs
===================================================================
--- sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestCommon/Resources.Designer.cs	2015-12-03 15:46:00 UTC (rev 8849)
+++ sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestCommon/Resources.Designer.cs	2015-12-03 15:55:00 UTC (rev 8850)
@@ -1,101 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//     This code was generated by a tool.
-//     Runtime Version:4.0.30319.42000
-//
-//     Changes to this file may cause incorrect behavior and will be lost if
-//     the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace OSGeo.MapGuide.Test.Common {
-    using System;
-    using System.Reflection;
-    
-    
-    /// <summary>
-    ///    A strongly-typed resource class, for looking up localized strings, etc.
-    /// </summary>
-    // This class was auto-generated by the StronglyTypedResourceBuilder
-    // class via a tool like ResGen or Visual Studio.
-    // To add or remove a member, edit your .ResX file then rerun ResGen
-    // with the /str option, or rebuild your VS project.
-    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
-    internal class Resources {
-        
-        private static global::System.Resources.ResourceManager resourceMan;
-        
-        private static global::System.Globalization.CultureInfo resourceCulture;
-        
-        internal Resources() {
-        }
-        
-        /// <summary>
-        ///    Returns the cached ResourceManager instance used by this class.
-        /// </summary>
-        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
-        internal static global::System.Resources.ResourceManager ResourceManager {
-            get {
-                if (object.ReferenceEquals(resourceMan, null)) {
-                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OSGeo.MapGuide.Test.Common.Resources", typeof(Resources).GetTypeInfo().Assembly);
-                    resourceMan = temp;
-                }
-                return resourceMan;
-            }
-        }
-        
-        /// <summary>
-        ///    Overrides the current thread's CurrentUICulture property for all
-        ///    resource lookups using this strongly typed resource class.
-        /// </summary>
-        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
-        internal static global::System.Globalization.CultureInfo Culture {
-            get {
-                return resourceCulture;
-            }
-            set {
-                resourceCulture = value;
-            }
-        }
-        
-        /// <summary>
-        ///    Looks up a localized string similar to  <?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>{0}</ResourceId>
-        ///    <FeatureName>{1}</FeatureName>
-        ///    <FeatureNameType>FeatureClass</FeatureNameType>
-        ///    <Geometry>{2}</Geometry>
-        ///    <VectorScaleRange>
-        ///      <PointTypeStyle>
-        ///        <DisplayAsText>false</DisplayAsText>
-        ///       [rest of string was truncated]";.
-        /// </summary>
-        internal static string TestLayer {
-            get {
-                return ResourceManager.GetString("TestLayer", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///    Looks up a localized string similar to <?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>Test Map</Name>
-        ///  <CoordinateSystem>{0}</CoordinateSystem>
-        ///  <Extents>
-        ///    <MinX>{1}</MinX>
-        ///    <MaxX>{2}</MaxX>
-        ///    <MinY>{3}</MinY>
-        ///    <MaxY>{4}</MaxY>
-        ///  </Extents>
-        ///  <BackgroundColor>ffffffff</BackgroundColor>
-        ///</MapDefinition>.
-        /// </summary>
-        internal static string TestMapDef {
-            get {
-                return ResourceManager.GetString("TestMapDef", resourceCulture);
-            }
-        }
-    }
-}

Deleted: sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestCommon/Resources.resx
===================================================================
--- sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestCommon/Resources.resx	2015-12-03 15:46:00 UTC (rev 8849)
+++ sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestCommon/Resources.resx	2015-12-03 15:55:00 UTC (rev 8850)
@@ -1,127 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
-  <data name="TestLayer" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\..\..\DotNet\TestCommon\Resources\TestLayer.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
-  </data>
-  <data name="TestMapDef" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\..\..\DotNet\TestCommon\Resources\TestMapDef.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
-  </data>
-</root>
\ No newline at end of file

Deleted: sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestMapGuideApi/Resources.Designer.cs
===================================================================
--- sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestMapGuideApi/Resources.Designer.cs	2015-12-03 15:46:00 UTC (rev 8849)
+++ sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestMapGuideApi/Resources.Designer.cs	2015-12-03 15:55:00 UTC (rev 8850)
@@ -1,169 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//     This code was generated by a tool.
-//     Runtime Version:4.0.30319.42000
-//
-//     Changes to this file may cause incorrect behavior and will be lost if
-//     the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace OSGeo.MapGuide.Test {
-    using System;
-    using System.Reflection;
-    
-    
-    /// <summary>
-    ///    A strongly-typed resource class, for looking up localized strings, etc.
-    /// </summary>
-    // This class was auto-generated by the StronglyTypedResourceBuilder
-    // class via a tool like ResGen or Visual Studio.
-    // To add or remove a member, edit your .ResX file then rerun ResGen
-    // with the /str option, or rebuild your VS project.
-    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
-    internal class Resources {
-        
-        private static global::System.Resources.ResourceManager resourceMan;
-        
-        private static global::System.Globalization.CultureInfo resourceCulture;
-        
-        internal Resources() {
-        }
-        
-        /// <summary>
-        ///    Returns the cached ResourceManager instance used by this class.
-        /// </summary>
-        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
-        internal static global::System.Resources.ResourceManager ResourceManager {
-            get {
-                if (object.ReferenceEquals(resourceMan, null)) {
-                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OSGeo.MapGuide.Test.Resources", typeof(Resources).GetTypeInfo().Assembly);
-                    resourceMan = temp;
-                }
-                return resourceMan;
-            }
-        }
-        
-        /// <summary>
-        ///    Overrides the current thread's CurrentUICulture property for all
-        ///    resource lookups using this strongly typed resource class.
-        /// </summary>
-        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
-        internal static global::System.Globalization.CultureInfo Culture {
-            get {
-                return resourceCulture;
-            }
-            set {
-                resourceCulture = value;
-            }
-        }
-        
-        /// <summary>
-        ///    Looks up a localized string similar to <?xml version="1.0"?>
-        ///<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">
-        ///  <Security>
-        ///    <Inherited>true</Inherited>
-        ///  </Security>
-        ///  <Metadata>
-        ///    <Simple>
-        ///	  <Property>
-        ///	    <Name>{0}</Name>
-        ///		<Value>{1}</Value>
-        ///	  </Property>
-        ///	</Simple>
-        ///  </Metadata>
-        ///</ResourceDocumentHeader>.
-        /// </summary>
-        internal static string ResourceHeaderTemplate {
-            get {
-                return ResourceManager.GetString("ResourceHeaderTemplate", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///    Looks up a localized string similar to  <?xml version="1.0" encoding="UTF-8"?>
-        ///<MapDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="MapDefinition-3.0.0.xsd" version="3.0.0">
-        ///  <Name>Base Map</Name>
-        ///  <CoordinateSystem>GEOGCS[&quot;LL84&quot;,DATUM[&quot;WGS 84&quot;,SPHEROID[&quot;WGS 84&quot;,6378137,298.25722293287],TOWGS84[0,0,0,0,0,0,0]],PRIMEM[&quot;Greenwich&quot;,0],UNIT[&quot;Degrees&quot;,0.01745329252]]</CoordinateSystem>
-        ///  <Extents>
-        ///    <MinX>-87.79786601383196</MinX>
-        ///    <MaxX>-87.6 [rest of string was truncated]";.
-        /// </summary>
-        internal static string UT_BaseMap {
-            get {
-                return ResourceManager.GetString("UT_BaseMap", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///    Looks up a localized string similar to  <?xml version="1.0" encoding="UTF-8"?>
-        ///<TileSetDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TileSetDefinition-3.0.0.xsd">
-        ///  <TileStoreParameters>
-        ///    <TileProvider>Default</TileProvider>
-        ///    <Parameter>
-        ///      <Name>TilePath</Name>
-        ///      <Value>%MG_TILE_CACHE_PATH%</Value>
-        ///    </Parameter>
-        ///    <Parameter>
-        ///      <Name>TileWidth</Name>
-        ///      <Value>256</Value>
-        ///    </Parameter>
-        ///    <Parameter>
-        ///      <Name>TileHeight</Name>
-        ///      <Value>256</Value> [rest of string was truncated]";.
-        /// </summary>
-        internal static string UT_BaseMapTileSet {
-            get {
-                return ResourceManager.GetString("UT_BaseMapTileSet", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///    Looks up a localized string similar to  <?xml version="1.0" encoding="UTF-8"?>
-        ///<MapDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="MapDefinition-3.0.0.xsd" version="3.0.0">
-        ///  <Name>Base Map linked to Tile Set</Name>
-        ///  <CoordinateSystem>{0}</CoordinateSystem>
-        ///  <Extents>
-        ///    <MinX>{1}</MinX>
-        ///    <MaxX>{3}</MaxX>
-        ///    <MinY>{2}</MinY>
-        ///    <MaxY>{4}</MaxY>
-        ///  </Extents>
-        ///  <BackgroundColor>FFF7E1D2</BackgroundColor>
-        ///  <TileSetSource>
-        ///    <ResourceId>{5}</ResourceId>
-        ///  </TileSetSource>
-        ///</MapD [rest of string was truncated]";.
-        /// </summary>
-        internal static string UT_LinkedTileSet {
-            get {
-                return ResourceManager.GetString("UT_LinkedTileSet", resourceCulture);
-            }
-        }
-        
-        /// <summary>
-        ///    Looks up a localized string similar to  <?xml version="1.0" encoding="UTF-8"?>
-        ///<TileSetDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TileSetDefinition-3.0.0.xsd">
-        ///  <TileStoreParameters>
-        ///    <TileProvider>XYZ</TileProvider>
-        ///    <Parameter>
-        ///      <Name>TilePath</Name>
-        ///      <Value>%MG_TILE_CACHE_PATH%</Value>
-        ///    </Parameter>
-        ///    <Parameter>
-        ///      <Name>TileFormat</Name>
-        ///      <Value>PNG</Value>
-        ///    </Parameter>
-        ///  </TileStoreParameters>
-        ///  <Extents>
-        ///    <MinX>-87.79786601383196</MinX>
-        /// [rest of string was truncated]";.
-        /// </summary>
-        internal static string UT_XYZ {
-            get {
-                return ResourceManager.GetString("UT_XYZ", resourceCulture);
-            }
-        }
-    }
-}

Deleted: sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestMapGuideApi/Resources.resx
===================================================================
--- sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestMapGuideApi/Resources.resx	2015-12-03 15:46:00 UTC (rev 8849)
+++ sandbox/jng/aspnet50/UnitTest/WebTier/Dnx/src/TestMapGuideApi/Resources.resx	2015-12-03 15:55:00 UTC (rev 8850)
@@ -1,136 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
-  <data name="ResourceHeaderTemplate" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\..\..\DotNet\TestMapGuideApi\Resources\ResourceHeaderTemplate.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;iso-8859-1</value>
-  </data>
-  <data name="UT_BaseMap" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\..\..\DotNet\TestMapGuideApi\Resources\Misc\UT_BaseMap.mdf;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
-  </data>
-  <data name="UT_BaseMapTileSet" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\..\..\DotNet\TestMapGuideApi\Resources\Misc\UT_BaseMap.tsd;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
-  </data>
-  <data name="UT_LinkedTileSet" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\..\..\DotNet\TestMapGuideApi\Resources\Misc\UT_LinkedTileSet.mdf;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
-  </data>
-  <data name="UT_XYZ" type="System.Resources.ResXFileRef, System.Windows.Forms">
-    <value>..\..\..\DotNet\TestMapGuideApi\Resources\Misc\UT_XYZ.tsd;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
-  </data>
-</root>
\ No newline at end of file



More information about the mapguide-commits mailing list