schema does nog validate when stored in .xml file
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Fri Aug 05, 2005 5:20 pm
- Location: Netherlands
schema does nog validate when stored in .xml file
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?
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi Johan,
When you open an XML file oXygen opens that in the XML editor. If you open an XSD file oXygen opens that in the XML Schema editor. You can see also that there are different actions for these editors (although there are also common actions). The validate action in these two editors is different.
Best Regards,
George
When you open an XML file oXygen opens that in the XML editor. If you open an XSD file oXygen opens that in the XML Schema editor. You can see also that there are different actions for these editors (although there are also common actions). The validate action in these two editors is different.
Best Regards,
George
-
- Posts: 2
- Joined: Fri Aug 05, 2005 5:20 pm
- Location: Netherlands
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service