Author: fmantek
Date: Tue May 22 06:25:10 2007
New Revision: 166

Modified:
   trunk/clients/cs/RELEASE_NOTES.txt
   trunk/clients/cs/src/extensions/extended.cs

Log:
changed the persistence for extendedProperty to allow for empty strings in the 
value

Modified: trunk/clients/cs/RELEASE_NOTES.txt
==============================================================================
--- trunk/clients/cs/RELEASE_NOTES.txt  (original)
+++ trunk/clients/cs/RELEASE_NOTES.txt  Tue May 22 06:25:10 2007
@@ -14,6 +14,7 @@
 - added a cmd line tool to query/insert/update to a service based on streams
 - modified the Spreadsheet service to use the new scheme of service 
subclassing. This should fix a bundle of issues
   with regard to entry castings.
+- changed persistence of gd:extendedProperty to save the value attribute, even 
if there is no data to persist
 
 == 1.0.9.7 ==
 - fixed an incorrect trace statement in request.cs that had the result of 
disabling reading the error response.

Modified: trunk/clients/cs/src/extensions/extended.cs
==============================================================================
--- trunk/clients/cs/src/extensions/extended.cs (original)
+++ trunk/clients/cs/src/extensions/extended.cs Tue May 22 06:25:10 2007
@@ -116,7 +116,7 @@
             {
                 writer.WriteStartElement(BaseNameTable.gDataPrefix, XmlName, 
BaseNameTable.gNamespace);
                 
writer.WriteAttributeString(AtomParserNameTable.XmlNameElement, this.Name); 
-                if (Utilities.IsPersistable(this.Value))
+                if (this.Value != null)
                 {
                     
writer.WriteAttributeString(GDataParserNameTable.XmlAttributeValue, 
this.Value); 
                 }

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" group.
To post to this group, send email to [email protected]
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