schema does nog validate when stored in .xml file
Posted: Fri Aug 05, 2005 5:34 pm
I downloaded the GPX schema file from
http://www.topografix.com/gpx.asp
... using Internet Explorer's "Save Target As..."
This gave me file gpx.xml which starts as follows...
Is it the .xml file extension?
http://www.topografix.com/gpx.asp
... using Internet Explorer's "Save Target As..."
This gave me file gpx.xml which starts as follows...
When I open this file in Oxygen and click the 'Validate Document' button, I get error<?xml version="1.0" encoding="utf-8"?>
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.topografix.com/GPX/1/1"
targetNamespace="http://www.topografix.com/GPX/1/1"
elementFormDefault="qualified">
The strange thing is that when I create a new file in Oxygen and declare it to be an XML Schema file, then copy/paste the complete content of gpx.xml into the new file and press 'Validate', it validates without any complaint. The two files are byte-for-byte the same.Description: E cvc-elt.1: Cannot find the declaration of element 'xsd:schema'.
Is it the .xml file extension?