added "schemaLocation"
This commit is contained in:
parent
7b48e40c45
commit
8c06c8c3ae
1 changed files with 3 additions and 1 deletions
|
@ -50,7 +50,9 @@ public class GpxHelper {
|
||||||
|
|
||||||
// add header
|
// add header
|
||||||
gpxString = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\" ?>\n" +
|
gpxString = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\" ?>\n" +
|
||||||
"<gpx version=\"1.1\" creator=\"Transistor App (Android)\">\n";
|
"<gpx version=\"1.1\" creator=\"Transistor App (Android)\"\n" +
|
||||||
|
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
|
||||||
|
" xsi:schemaLocation=\"http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd\">\n";
|
||||||
|
|
||||||
// add track
|
// add track
|
||||||
gpxString = gpxString + addTrack();
|
gpxString = gpxString + addTrack();
|
||||||
|
|
Loading…
Reference in a new issue