aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/export
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2013-01-16 22:35:17 +0100
committerSamuel Tardieu <sam@rfc1149.net>2013-01-16 22:35:17 +0100
commit6e83513c771a0c7d77e774e4792e9555116ae826 (patch)
tree9afff53b5b53c83c59d2ee0800666972a01834b5 /main/src/cgeo/geocaching/export
parent0e67ad1196f707e6f72365ac7f7faa76986b34c3 (diff)
downloadcgeo-6e83513c771a0c7d77e774e4792e9555116ae826.zip
cgeo-6e83513c771a0c7d77e774e4792e9555116ae826.tar.gz
cgeo-6e83513c771a0c7d77e774e4792e9555116ae826.tar.bz2
Fix XML schema location
One extra element had been introduced during the previous code conversion to the XML serializer. That could theoritically affect verifiers.
Diffstat (limited to 'main/src/cgeo/geocaching/export')
-rw-r--r--main/src/cgeo/geocaching/export/GpxExport.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/main/src/cgeo/geocaching/export/GpxExport.java b/main/src/cgeo/geocaching/export/GpxExport.java
index cb241c2..a2d5be6 100644
--- a/main/src/cgeo/geocaching/export/GpxExport.java
+++ b/main/src/cgeo/geocaching/export/GpxExport.java
@@ -149,11 +149,9 @@ class GpxExport extends AbstractExport {
gpx.startTag(PREFIX_GPX, "gpx");
gpx.attribute("", "version", "1.0");
gpx.attribute("", "creator", "c:geo - http://www.cgeo.org/");
- gpx.attribute(PREFIX_XSI, "schemaLocation", "http://www.topografix.com/GPX/1/0 " +
- "http://www.topografix.com/GPX/1/0/gpx.xsd " +
- "http://www.topografix.com/GPX/1/0 " +
- "http://www.topografix.com/GPX/1/0/gpx.xsd " +
- "http://www.groundspeak.com/cache/1/0/1/cache.xsd");
+ gpx.attribute(PREFIX_XSI, "schemaLocation",
+ PREFIX_GPX + " http://www.topografix.com/GPX/1/0/gpx.xsd " +
+ PREFIX_GROUNDSPEAK + " http://www.groundspeak.com/cache/1/0/1/cache.xsd");
for (int i = 0; i < caches.size(); i++) {
final cgCache cache = cgData.loadCache(caches.get(i).getGeocode(), LoadFlags.LOAD_ALL_DB_ONLY);