Closed GoogleCodeExporter closed 9 years ago
Do you have sample code that replicates this behavior?
Original comment by joe.gregorio@gmail.com
on 20 Jan 2011 at 8:33
Sorry I don't have access to code here, but (untested):
class MyElement(atom.core.XmlElement):
_qname = '{http://schemas.google.com/}myelement'
class MyFeed(gdata.data.GDFeed):
totalResults = gdata.data.TotalResults
myAttribute = MyElement
Because gdata.data.TotalResults has a tuple qname, the fqdn is chosen as the
index of the tuple corresponding to the global version, which defaults to the
wrong element (0, instead of 1) and I couldn't find a way of setting the
version without overriding the whole thing with this workaround:
http://code.google.com/p/gdata-python-client/source/browse/src/gdata/contentfors
hopping/data.py#704
Original comment by afs...@google.com
on 21 Jan 2011 at 6:08
I should also mention that I couldn't think of a fix!
Original comment by afs...@google.com
on 21 Jan 2011 at 6:11
Worked around, probably won't be a general problem.
Original comment by afs...@google.com
on 7 Oct 2011 at 10:37
Original issue reported on code.google.com by
afs...@google.com
on 30 Dec 2010 at 1:03