I have seen that if i enter "\0 \a\b\t\n\v\f\r -" in the Description in Google calendar event and Save the event, the entered value is retained which is good and when the take the XML feed, it returns the UTF8 encoded values of these characters in the form of a string. Whereas if i send the same character set in the form of a string through the google API from my Outlook calendar (the APi encodes it using utililities.EncodedString(string) method) but the Calendar Servcie throws a SAXParseException which is wrong. I think the handling should be either one side or not at all. To help you out, the above character set is ASCII 0-32. (http://www.asciitable.com/) Please help.
Kulvinder Singh <[EMAIL PROTECTED]> wrote: Hi, I get this error from Google : org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0xc) was found in the element content of the document. How do i handle these characters in the Client API ? Regards Kulvinder Singh Philipp Kewisch <[EMAIL PROTECTED]> wrote: That sounds like some XML character entity is not escaped. What details are you adding when you get the error? Philipp On Feb 20, 3:53 pm, Kulvinder Singh wrote: > HI, > > I am getting this error from Google Calendar while inserting an event in > Google calendar : > > org.xml.sax.SAXParseException: Character reference quot;amp;xCquot; is an > invalid XML character. > > Any guess why this happening ? > > Regards > Kulvinder Singh > > --------------------------------- > Bored stiff? Loosen up... > Download and play hundreds of games for free on Yahoo! Games. --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. --------------------------------- Access over 1 million songs - Yahoo! Music Unlimited. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
