Hi Aleey,

This is the response Daniel gave me...

 May be one of your contact has a gd:extendedProperty set to:
>
> <atom:cc xmlns='http://www.w3.org/2005/Atom'>0</atom:cc>
>
> According to the 
> documentation<http://code.google.com/apis/contacts/docs/3.0/reference.html#ExtendedProperties>,
> a contact should be able to have arbitrary XML data in an extendedProperty
> element. Unfortunately, it appears that the Java GData client library is
> unable to parse the XML.
> What I would suggest, if you don't need this element, is to delete it from
> your contact. However, using the Java client library won't work as it is
> unable to parse the entry.
>
> You should try using raw HTTP to delete this element; one tool you could
> use is OAuth Playground <http://googlecodesamples.com/oauth_playground/>:
>
>    1. Select "Contacts" as scope
>    2. Click on "Request Token"
>    3. Click on "Authorize"
>    4. You will be redirected to a Google page to grant access, please
>    grant access
>    5. Click on "Access token"
>    6. Set the GData-Version to 3.0
>    7. In the "Enter a feed URI" text box, enter the contact's edit URL
>    8. Click on "execute"
>    9. The API should return the contact's XML
>    10. Copy the contact's XML in your clipboard and click on "enter post
>    data"
>    11. Paste the contact's XML in the textbox that appeared and removed
>    the extended property that contains the "un-parsable" XML
>    12. Change the request to "PUT" (instead of "GET") and click on
>    "execute"
>    13. The API should return the contact's XML with an 200 HTTP status
>    code
>
> If that is still not possible, please feel free to file a bug against the
> Java GData client library project page or try to use an other client
> library (Python or .NET).
>


Thanks
Vijayraj

On Tue, Jan 3, 2012 at 2:05 AM, Alexey Panteleev <[email protected]> wrote:

> Vijayraj, Daniel,
>
>  Has this issue been resolved for you?
>
> Thanks,
> Aleey
>
> On Mon, Nov 7, 2011 at 6:09 AM, Daniel Florey <[email protected]>
> wrote:
> > I've come across the same issue - unfortunately I just have the
> exception as
> > the contacts data is privately owned by our customer:
> >
> > Caused by: com.google.gdata.util.ParseException: The prefix "atom" for
> > element "atom:cc" is not bound.
> >       at com.google.gdata.util.XmlParser.parse(XmlParser.java:703)
> >       at com.google.gdata.util.XmlParser.parse(XmlParser.java:576)
> >       at com.google.gdata.data.BaseFeed.parseAtom(BaseFeed.java:867)
> >       at
> >
> com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:68)
> >       at
> >
> com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:39)
> >       at
> >
> com.google.gdata.wireformats.input.CharacterParser.parse(CharacterParser.java:100)
> >       at
> >
> com.google.gdata.wireformats.input.XmlInputParser.parse(XmlInputParser.java:52)
> >       at
> >
> com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java:66)
> >       at
> >
> com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java:34)
> >       at
> com.google.gdata.client.Service.parseResponseData(Service.java:2165)
> >       at
> com.google.gdata.client.Service.parseResponseData(Service.java:2098)
> >       at com.google.gdata.client.Service.getFeed(Service.java:1136)
> >       at com.google.gdata.client.Service.getFeed(Service.java:1077)
> >       at
> com.google.gdata.client.GoogleService.getFeed(GoogleService.java:662)
> >       at com.google.gdata.client.Service.query(Service.java:1237)
> >       at com.google.gdata.client.Service.query(Service.java:1178)
> >       at
> >
> com.floreysoft.ucm.server.contacts.provider.google.SyncGoogleContactsAction.collectContacts(SyncGoogleContactsAction.java:311)
> >       ... 34 more
> > Caused by: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber:
> 757;
> > The prefix "atom" for element "atom:cc" is not bound.
> >       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
> Source)
> >       at
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
> >       at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:429)
> >       at com.google.gdata.util.XmlParser.parse(XmlParser.java:685)
> >       ... 50 more
> >
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html
>

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html

Reply via email to