Validaton of xml file against xsd file

Hi
 
I am getting this error while I am validating one
personnel-schema.xml file against related personnel.xsd
file(examples given in the xerces's data folder)

I didn't change any thing in the files. I just ran the
follwoing command

java sax.SAXCount -v personal-schema.xml
 
Can you help me out?
 
Thanks
------------------starts----------------------- 
[Error] personal-schema.xml:2:22: Attribute "xmlns:xsi"
must be declared for ele
ment type "personnel".
[Error] personal-schema.xml:3:35: Attribute
"xsi:noNamespaceSchemaLocation" must
 be declared for element type "personnel".
[Error] personal-schema.xml:3:50: Element type "personnel"
must be declared.
[Error] personal-schema.xml:5:14: Attribute "id" must be
declared for element ty
pe "person".
[Error] personal-schema.xml:5:26: Element type "person"
must be declared.
[Error] personal-schema.xml:6:11: Element type "name" must
be declared.
[Error] personal-schema.xml:6:19: Element type "family"
must be declared.
[Error] personal-schema.xml:6:41: Element type "given" must
be declared.
[Error] personal-schema.xml:7:12: Element type "email" must
be declared.
[Error] personal-schema.xml:8:24: Attribute "subordinates"
must be declared for
element type "link".
[Error] personal-schema.xml:8:86: Element type "link" must
be declared.
[Error] personal-schema.xml:11:14: Attribute "id" must be
declared for element t
ype "person".
[Error] personal-schema.xml:11:27: Element type "person"
must be declared.
[Error] personal-schema.xml:12:11: Element type "name" must
be declared.
[Error] personal-schema.xml:12:19: Element type "family"
must be declared.
[Error] personal-schema.xml:12:43: Element type "given"
must be declared.
[Error] personal-schema.xml:13:12: Element type "email"
must be declared.
[Error] personal-schema.xml:14:19: Attribute "manager" must
be declared for elem
ent type "link".
[Error] personal-schema.xml:14:31: Element type "link" must
be declared.
[Error] personal-schema.xml:17:14: Attribute "id" must be
declared for element t
ype "person".
[Error] personal-schema.xml:17:27: Element type "person"
must be declared.
[Error] personal-schema.xml:18:11: Element type "name" must
be declared.
[Error] personal-schema.xml:18:19: Element type "family"
must be declared.
[Error] personal-schema.xml:18:43: Element type "given"
must be declared.
[Error] personal-schema.xml:19:12: Element type "email"
must be declared.
[Error] personal-schema.xml:20:19: Attribute "manager" must
be declared for elem

------------------ends-----------------------

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

Received on Wednesday, 12 December 2001 13:43:20 UTC