-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Hi there! First of all, thanks for your work on the parser.
I think I found a bug. I have a simple file that your parser is unable to parse, here's the content:
Please note there's no space after <gpx - as that seems to be the culprit
<?xml version="1.0" standalone="yes"?>
<gpx
xmlns="http://www.topografix.com/GPX/1/1"
creator="OziExplorer Version 3956f - http://www.oziexplorer.com"
version="1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
<wpt lat="42.5237670" lon="3.0861500">
<ele>3.9624</ele>
<time>2018-11-29T09:57:01.397Z</time>
<name><![CDATA[5E002]]></name>
<cmt><![CDATA[- X - RB 5 - EST]]></cmt>
<desc><![CDATA[- X - RB 5 - EST]]></desc>
</wpt>
</gpx>
Here's a file that gets correctly parsed:
The only difference is that I added a space after <gpx
<?xml version="1.0" standalone="yes"?>
<gpx
xmlns="http://www.topografix.com/GPX/1/1"
creator="OziExplorer Version 3956f - http://www.oziexplorer.com"
version="1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
<wpt lat="42.5237670" lon="3.0861500">
<ele>3.9624</ele>
<time>2018-11-29T09:57:01.397Z</time>
<name><![CDATA[5E002]]></name>
<cmt><![CDATA[- X - RB 5 - EST]]></cmt>
<desc><![CDATA[- X - RB 5 - EST]]></desc>
</wpt>
</gpx>
Thanks, let me know if you need any more information.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels