diff options
author | Michael Tatarinov <kukabu@gmail.com> | 2011-05-27 10:57:32 +0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-05-27 06:17:19 -0400 |
commit | cb1a45f6d5accc6160d0268544ffd3a8efc19396 (patch) | |
tree | d401b1aa51d164ebb451139c90c32439a53d287e /gpxlogger.c | |
parent | 74ed547788808a553f37605a0e63c402545d7c37 (diff) | |
download | gpsd-cb1a45f6d5accc6160d0268544ffd3a8efc19396.tar.gz |
Typo fix.
Validation is done using the Xerces <http://xerces.apache.org/> XML parser.
SAXCount -v=always -n -s -f my_gpx_file.gpx
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'gpxlogger.c')
-rw-r--r-- | gpxlogger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpxlogger.c b/gpxlogger.c index b86c1391..badcb996 100644 --- a/gpxlogger.c +++ b/gpxlogger.c @@ -52,8 +52,8 @@ static void print_gpx_header(void) (void)fprintf(logfile,"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"); (void)fprintf(logfile,"<gpx version=\"1.1\" creator=\"GPSD %s - http://gpsd.berlios.de/\"\n", VERSION); (void)fprintf(logfile," xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"); - (void)fprintf(logfile," xmlns=\"http://www.topografix.com/GPX/1.1\"\n"); - (void)fprintf(logfile," xsi:schemaLocation=\"http://www.topografix.com/GPS/1/1\n"); + (void)fprintf(logfile," xmlns=\"http://www.topografix.com/GPX/1/1\"\n"); + (void)fprintf(logfile," xsi:schemaLocation=\"http://www.topografix.com/GPX/1/1\n"); (void)fprintf(logfile," http://www.topografix.com/GPX/1/1/gpx.xsd\">\n"); (void)fprintf(logfile," <metadata>\n"); (void)fprintf(logfile," <time>%s</time>\n", unix_to_iso8601((timestamp_t)time(NULL), tbuf, sizeof(tbuf))); |