]> git.street.me.uk Git - andy/viking.git/commit - src/gpx.h
Fix lack of feedback when reading erroneous GPX
authorGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Tue, 4 Sep 2012 11:07:17 +0000 (13:07 +0200)
committerGuilhem Bonnefille <guilhem.bonnefille@gmail.com>
Tue, 4 Sep 2012 11:07:17 +0000 (13:07 +0200)
commitefe9a9c37749837735f5735eec3fc2585359f787
tree336e98f0c1e261ac1f6c75bb8e033e005d743c51
parentc3cf4e3e0f27e9c6b05cab2fd5700831878f601f
Fix lack of feedback when reading erroneous GPX

When GPX file is incorrect, no error is returned. The user is not
informed that his file is incorrect and can simply imagine the file
is empty.

The status of the XML parser is now returned in order to fire the
right handling.
src/babel.c
src/file.c
src/gpx.c
src/gpx.h