I have a gpx-file that I want to open with the vcl component txmldocument under the c++ builder 2007. the file should be compatible with the xml-version 1.0 because it is written in the first line as one can see in the code below.
I enter the file name in the file name line of the txmldocument in the object inspector. Then I double click the txmldocument icon on the form of my vcl application.
I get the error message: "ungültiges oder nicht unterstütztes xml-schemadokument." which means in english: "not valid or not supported xml-schema document."
The first lines of my xml-code are:
<?xml version="1.0" encoding="utf-8"?><gpx creator="Garmin Desktop App" version="1.1" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/WaypointExtension/v1 http://www8.garmin.com/xmlschemas/WaypointExtensionv1.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd
I have seen the code on http://www.topografix.com/GPX/1/1/gpx.xsd but I do not understand where the error is located.
Perhaps someone could help me ?
thanks