On Montag 03 August 2009 11:17:38 bzrudi wrote: > Hi Oliver, > > unfortunately it's not fixed when just replacing <extension> by > <extensions>. I already tried that in advance as I also thought that > this would be the most easy fix for the problem ;-) > > > It seems that it might be a problem of the extensions definition, as > Garmin MapSource does definition of xmlns:gpxx within the <trk> segment > like: > > <trk> > <name>Track 001</name> > <extensions> > <gpxx:TrackExtension > xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3"> > <gpxx:DisplayColor>Black</gpxx:DisplayColor> > </gpxx:TrackExtension> > </extensions> > <trkseg> > > instead of head, but I have no idea if this makes really any difference.
Still looks like they consider any unknown tag as error. IMHO that is a bad idea when dealing with XML. But maybe they do it by purpose to make their product incompatible to others. Who knows. Try gpsbabel. Maybe it drops QLandkarte's extension types and cleans up the track. I really hate XML. It's a lot of bullshit overhead data just to store trivial things. And it does not help in writing interoperable stuff as we learn by this example. Oliver
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ QLandkarte-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkarte-users
