Author: fmantek
Date: Tue Oct  9 03:32:03 2007
New Revision: 286

Modified:
   trunk/clients/cs/RELEASE_NOTES.HTML
   trunk/clients/cs/src/core/basenametable.cs
   trunk/clients/cs/src/extensions/originalevent.cs
   trunk/clients/cs/src/extensions/simplecontainer.cs

Log:
Fixed a bug in the simplecontainer class that could lead to an
            exception if the extension list was empty
Fixed a bug in Originalevent where the wrong prefix was
            persisted, making saving an originalevent impossible

Modified: trunk/clients/cs/RELEASE_NOTES.HTML
==============================================================================
--- trunk/clients/cs/RELEASE_NOTES.HTML (original)
+++ trunk/clients/cs/RELEASE_NOTES.HTML Tue Oct  9 03:32:03 2007
@@ -22,6 +22,10 @@
         <li>Fixed the onclear() handler of the new extensionCollection base
              class. It was incorrectly casting to When obects, which 
could cause
             a runtime error when called.</li>
+        <li>Fixed a bug in the simplecontainer class that could lead 
to an
+            exception if the extension list was empty</li>
+        <li>Fixed a bug in Originalevent where the wrong prefix was
+            persisted, making saving an originalevent impossible</li>
     </ul>
 </ul>


Modified: trunk/clients/cs/src/core/basenametable.cs
==============================================================================
--- trunk/clients/cs/src/core/basenametable.cs  (original)
+++ trunk/clients/cs/src/core/basenametable.cs  Tue Oct  9 03:32:03 2007
@@ -112,7 +112,7 @@
         /// <summary>prefix for atom if writing</summary>
         public const string AtomPrefix = "atom";

-        /// <summary>prefix for gdata if writing</summary>
+        /// <summary>prefix for gNamespace if writing</summary>
         public const string gDataPrefix = "gd";

         /// <summary>prefix for gdata:batch if writing</summary>

Modified: trunk/clients/cs/src/extensions/originalevent.cs
==============================================================================
--- trunk/clients/cs/src/extensions/originalevent.cs    (original)
+++ trunk/clients/cs/src/extensions/originalevent.cs    Tue Oct  9 
03:32:03 2007
@@ -31,7 +31,7 @@
         /// </summary>
         public OriginalEvent() :
             base(GDataParserNameTable.XmlOriginalEventElement,
-                 BaseNameTable.gNamespacePrefix,
+                 BaseNameTable.gDataPrefix,
                  BaseNameTable.gNamespace)
         {
             this.ExtensionFactories.Add(new When());

Modified: trunk/clients/cs/src/extensions/simplecontainer.cs
==============================================================================
--- trunk/clients/cs/src/extensions/simplecontainer.cs  (original)
+++ trunk/clients/cs/src/extensions/simplecontainer.cs  Tue Oct  9 
03:32:03 2007
@@ -77,7 +77,7 @@
         /// <returns>Object</returns>
         public Object FindExtension(string localName, string ns)
         {
-            return Utilities.FindExtension(this.extensions, localName, ns);
+            return Utilities.FindExtension(this.ExtensionElements, 
localName, ns);
         }

         /// <summary>
@@ -106,7 +106,7 @@
         /// <returns>none</returns>
         public ArrayList FindExtensions(string localName, string ns)
         {
-            return Utilities.FindExtensions(this.extensions,
+            return Utilities.FindExtensions(this.ExtensionElements,
                                             localName, ns, new ArrayList());

         }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" group.
To post to this group, send email to google-help-dataapi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to