SilverHoodCorp / gdata-java-client

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

CreateFeatureFromText Broken #300

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I run CreateFeatureFromText.java, I get "Internal Server Error" with HTML 
code 500.  This is with the latest release versions of all libraries under OS X 
with Java 1.6.

I compared the code to CreateFeature.java, which works.

When I changed kml.setFullText() to kml.setBlob() in 
CreateFeatureFromText.java, it works!

Note that when I compare placemark.kml to KML in CreateFeatureFromText.java, 
the <Placemark> line does not contain the xmlns...  When looking at the KML 
specification, this xmlns seems out of place with <Placemark>; however, it 
works so I didn't change it.

Google Person:  Can you verify that my fix corrects the actual problem?  If so, 
please change your sample code distribution.

Original issue reported on code.google.com by edsmithe...@gmail.com on 12 Aug 2010 at 3:44

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 12 Aug 2010 at 3:00