So I found a workaround for the fact that the server was rejecting what appears to be a valid GDataXMLElement. I ended up creating a GDataXMLElement using the standard addAttributes and addChild methods. I then converted the rejected element to a string with the XMLString method. Finally I created a new GDataXMLElement using the rejected xmlstring and the initWithXMLElement method. The server accepts this.
So in summary the server rejects and XMLElement created using the addChild method but accepts an XMLElement created from the XMLString value of the rejected element! DT -- You received this message because you are subscribed to the Google Groups "Google Health Developers" 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/googlehealthdevelopers?hl=en.
