[Marble-bugs] [Bug 251676] New: GPX output of Marble's routing engine is apparently not valid

Felix Schweighofer felix.schweighofer at googlemail.com
Sat Sep 18 17:44:09 CEST 2010


           Summary: GPX output of Marble's routing engine is apparently
                    not valid
           Product: marble
           Version: unspecified
          Platform: Archlinux Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: marble-bugs at kde.org
        ReportedBy: felix.schweighofer at googlemail.com

Created an attachment (id=51787)
 --> (http://bugs.kde.org/attachment.cgi?id=51787)
The adapted and valid GPX file.

Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

When I use the routing function in Marble, export the route as GPX and check
the resulting file for validity, I get some error messages for the following

#1: It seems that the element <rte> (route containing points with turn
instructions) has to stand before the element <trk> (track witch is used to
show the route as a line)

#2: The elements of type <rtept> are not correct GPX: <rtept
[coordinates]>[instruction]</rtept> should be <rtept
[coordinates]><name>[instruction]</name></rtept> instead.

Reproducible: Always

Steps to Reproduce:
#1: Export a route as GPX

#2: Validate the GPX file (e.g. xmllint --noout --schema
http://www.topografix.com/GPX/1/1/gpx.xsd [file]) -> returns something like
"element rte: Schemas validity error : Element '[...]rte': This element is not

#3: Open the file in a text editor and move everything from <rte> to </rte> to
a place in between </metadata> and <trk> and save.

#4: Repeat step #2 -> returns an error message like "element rtept: Schemas
validity error : Element '[...]rtept': Character content [...] is not allowed
[...] content type is 'element-only'"

#5: Open the file in a text editor again and surround all the instructions with
<name> and </name>

#6: Repeat step #2 -> The file validates

Actual Results:  
See above

Expected Results:  
See above

Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Marble-bugs mailing list