Re: Cannot find the declaration of element 'database'
Having trouble installing Oxygen? Got a bug to report? Post it all here.
Re: Cannot find the declaration of element 'database'
Post by Marc »
Hi George,
Thank you very much for your reply. What does "The schemaLocation attribute should contain pairs of the form namespace uri followed by schema location" mean?
I have corrected the mistakes you told me but now by validating again (xml-doc)it tells me the following: "E cvc-complex-type.2.4.a: Invalid content was found starting with element 'department'. One of '{"":department}' is expected." And what else did I now forget?
My xsd starts with:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace="http://www.w3.org">
<xs:element name="department" maxOccurs="1">
...
Thank you very very much for your help.
Marc
Thank you very much for your reply. What does "The schemaLocation attribute should contain pairs of the form namespace uri followed by schema location" mean?
I have corrected the mistakes you told me but now by validating again (xml-doc)it tells me the following: "E cvc-complex-type.2.4.a: Invalid content was found starting with element 'department'. One of '{"":department}' is expected." And what else did I now forget?
My xsd starts with:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'
targetNamespace="http://www.w3.org">
<xs:element name="department" maxOccurs="1">
...
Thank you very very much for your help.
Marc
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
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