Title: RE: Basic schema validation problem

make sure your name space in .xml and .xsd is like :

"http://www.w3.org/2001/..."

good luck.

-----Original Message-----
From: Phil Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 4:28 PM
To: [EMAIL PROTECTED]
Subject: Basic schema validation problem


Using xerces 1.4.2 I have been able to validate against a DTD, but not a
schema. I get the following error:

Message: Attribute "xmlns:xsi" must be declared for element type "personnel".

I am using the sample data (personal-schema.xml) provided with xerces.

Is this version not schema-aware? Do I somehow need to define the xmlns
namespace?

I tried to get 1.4.3, but the tarfile from apache appears to be corrupted.

Apologies if this query is already answered -- the archives are down.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to