A couple of questions about gd:structuredPostalAddress:
http://code.google.com/apis/gdata/docs/2.0/elements.html#gdStructuredPostalAddress

1. is gd:formattedAddress parsed into component parts?

When a new contact containing a 
gd:structuredPostalAddress/gd:formattedAddress element is PUT, the 
returned contact doesn't contain any elements for the address parts like 
gd:street gd:city etc.

This seems to be inconsistent with the handling of the gd:name element, 
where creating a new contact with gd:name/gd:fullName returns a contact 
containing the name parts: givenName, familyName etc.

Is gd:formattedAddress supposed to be parsed into it's component parts 
by the API?  And if so, when?

2. is gd:country broken?

PUT the contact given as an example here:
http://code.google.com/apis/contacts/docs/3.0/developers_guide_protocol.html#Creating
and the API returns:
400 Bad Request
[Line 34, Column 42, element gd:country] Unrecognised element.

Remove the gd:country element and it works fine.

Leni.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Contacts 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-contacts-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to