Re: Cannot find the declaration of element 'database'
Posted: Tue Nov 11, 2003 8:10 pm
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