SilverHoodCorp / gdata-java-client

Automatically exported from code.google.com/p/gdata-java-client
Apache License 2.0
0 stars 0 forks source link

Unable to parse XML data properly #289

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Logon to Google Health using Client Login
2. Query the profile id
3. Query data for the given profile id
4. Parse the returned XML data using the parseAs method

When parsing the XML containing the data, the parser stops when it encounters a 
node with the xmlns attribute.  In this case, here is the XML node:
<ContinuityOfCareRecord xmlns="urn:astm-org:CCR">

This problem does not seem to occur when the xmlns attribute is not present as 
there are no issues in parsing the XML data containing the profile id.

I have attached a very cut down version of the XML data which should contain 
the necessary structure to reproduce this parsing issue.

For reference, I am using the gdata-java-client library from the version 2 
branch in SVN on the Android platform.

Original issue reported on code.google.com by astri...@gmail.com on 27 Jun 2010 at 11:17

Attachments:

GoogleCodeExporter commented 9 years ago
The Google Health API has been deprecated, and will be discontinued January 1, 
2012.

http://googleblog.blogspot.com/2011/06/update-on-google-health-and-google.html

Original comment by sax...@google.com on 27 Jun 2011 at 6:20