Witam,
stworzyłem sobie plik xml a do tego scheme. Wykorzystałem własną przestrzen nazw. Czy jest mi ktoś w stanie powiedzieć, czy zrobilem to prawidłowo? Validator zglasza następujący błąd:

XML Schema Validator
Version: 1.0.1.r120833

Well Formed: VALID
Schema Validation: INVALID

The following errors were found:
TYPE LOC MESSAGE
Validation 4, 94 cvc-elt.1: Cannot find the declaration of element 'moja:Student'.

XML:

<?xml version="1.0" encoding="ISO-8859-2"?>

<?xml-stylesheet type="text/xsl" href="styl.xsl"?>



<moja:Student xmlns:moja="http://www.w3.org/2001/XMLSchema" moja:SchemaLocation="schema.xsd">

	<moja:TabelaStudentow>

		<moja:Nazwisko>Kowalski</moja:Nazwisko>

		<moja:Imie1>Jan</moja:Imie1>

		<moja:Indeks>16666</moja:Indeks>

		<moja:Studia>Z</moja:Studia>

		<moja:GrupaLab>11</moja:GrupaLab>

		<moja:Folder>Z:\RejRekored.XML</moja:Folder>

		<moja:DataRej>2010-02-28T15:40:32.9709028+01:00</moja:DataRej>

	</moja:TabelaStudentow>

</moja:Student>

Schema:

<?xml version="1.0" encoding="ISO-8859-2"?>



<moja:schema xmlns:moja="http://www.w3.org/2001/XMLSchema">

	<moja:element name="Student" type="Student-type"/>

	<moja:element name="GrupaLab" type="moja:integer"/>

	<moja:element name="Folder" type="moja:string"/>

	<moja:element name="DataRej" type="moja:string"/>

	<moja:element name="Nazwisko" type="moja:string"/>

	<moja:element name="Imie1" type="moja:string"/>

	<moja:element name="Indeks" type="moja:integer"/>	

    	<moja:element name="Studia" type="moja:integer"/>

		

	

		

    <moja:complexType name="Student-type">

		<moja:sequence>

			<moja:element name="TabelaStudentow" type="TabelaStudentow-type" maxOccurs="unbounded"/>

        </moja:sequence>

    </moja:complexType>



    <moja:complexType name="TabelaStudentow-type">

		<moja:sequence>

			<moja:element ref="Nazwisko"/>

            <moja:element ref="Imie1"/>

            <moja:element ref="Indeks"/>

            <moja:element ref="Studia"/>

			<moja:element ref="GrupaLab"/>

            <moja:element ref="Folder"/>

            <moja:element ref="DataRej"/>

        </moja:sequence>

    </moja:complexType>

</moja:schema>

Z góry dzieki za podpowiedzi.