No, i can't because the IsPersistable method Trims off any whitespaces.
Frank Mantek <[EMAIL PROTECTED]> wrote: Ok, got it. ... Not sure what to do
about it right now, but i will figure something out for the next release....
For a workaround, can you use a string with one blank?
Frank
On 2/25/07, Kulvinder Singh <[EMAIL PROTECTED]> wrote: Just a simple way
to replicate what i mentioned.
1. Create a Calendar Event programatically and insert it in Google calendar
with Event "Where" as "WHATEVER".
2. Now try updationg this newly created event's Where as "".
3. The Where in the Google Calendar will still remain as "WHATEVER".
This is due to a check in Google Calendar API ->
Utilities.IsPersistable(string) which just skips NULL or EMPTY strings.
On 2/25/07, Frank Mantek <[EMAIL PROTECTED]> wrote: Sorry, i missed the
original post. Reading your original post below, i am not quite sure on what
you are observing? What is the "wrong" behavior? Can you put a code snippet and
what is happening here?
Frank Mantek
Google
On 2/24/07, Kulvinder Singh <[EMAIL PROTECTED] > wrote:
Any updates on this ?
Kulvinder Singh <[EMAIL PROTECTED] > wrote:
Hi,
I have noted one thing while updating the Where and Content elements in
Google calendar API.
This is special case when a NON-NULL or NON-EMPTY value of Where or Content
elements in a Google Event is set to EMPTY or NULL value.
I think the problem is while checking the Utilities.IsPersistable(content or
where) before setting to Save the value in the XML.
Is the behaviour of Google API correct ?
Regards
Kulvinder Singh
---------------------------------
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel
bargains
---------------------------------
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
---------------------------------
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---