diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2009-06-21 20:24:34 +0100 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2009-06-21 20:26:45 +0100 |
commit | 0f9d29fdbb87e6bb2a4a0e5d239e6e8a8f8fe3f3 (patch) | |
tree | 5ddd4d68e9b5aebb1291381d58d0df5df3e38394 /gdata/gdata-feed.c | |
parent | f81049f70f1568f95b3db8ca5ed6d7e8891b0644 (diff) | |
download | libgdata-0f9d29fdbb87e6bb2a4a0e5d239e6e8a8f8fe3f3.tar.gz |
[picasaweb] Added a PicasaWeb service
Originally written by Richard Schwarting <aquarichy@gmail.com>, the PicasaWeb
service has decent test suite coverage, decent documentation, and support for
common PicasaWeb operations. Closes: bgo#580375
Diffstat (limited to 'gdata/gdata-feed.c')
-rw-r--r-- | gdata/gdata-feed.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdata/gdata-feed.c b/gdata/gdata-feed.c index d0964531..2b6a9c4b 100644 --- a/gdata/gdata-feed.c +++ b/gdata/gdata-feed.c @@ -432,8 +432,9 @@ parse_xml (GDataParsable *parsable, xmlDoc *doc, xmlNode *node, gpointer user_da return gdata_parser_error_duplicate_element (node, error); self->priv->subtitle = (gchar*) xmlNodeListGetString (doc, node->children, TRUE); - } else if (xmlStrcmp (node->name, (xmlChar*) "id") == 0) { + } else if (xmlStrcmp (node->name, (xmlChar*) "id") == 0 && xmlStrcmp (node->ns->href, (xmlChar*) "http://www.w3.org/2005/Atom") == 0) { /* atom:id */ + /* The namespace check is necessary because there's an "id" element in the gphoto namespace (PicasaWeb service) */ if (self->priv->id != NULL) return gdata_parser_error_duplicate_element (node, error); |