Detlev. thx so much. I found the reason. I set content-length to XHR header. but the length was not correct because JavaScript counts multi-byte character as 1. And I removed the info about content-length.
On Aug 6, 3:44 am, Detlev <[email protected]> wrote: > I tried to replicate this issue but couldn't. I took your XML verbatim > and posted it successfully to a photo feed URL, creating a comment > with exactly the characters you used. > > On Aug 5, 5:12 am, GanziDuck <[email protected]> wrote: > > > I want to add a comment written in other language not english. > > > so I send request like this. > > > <entry xmlns='http://www.w3.org/2005/Atom'> > > <content> > > <![CDATA[가]]> > > </content> > > <category scheme="http://schemas.google.com/g/2005#kind" term="http:// > > schemas.google.com/photos/2007#comment"/></entry> > > > but the XHR status is 400 and I got the message. > > > The element type "entry" must be terminated by the matching > > end-tag "</entry>" > > > maybe the content broken because the character '가'. > > > thx to read. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums 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-Picasa-Data-API?hl=en -~----------~----~----~----~------~----~------~--~---
