|
Sorry for the confusion
the message is
"Cannot find the declaration of element
ProActiveDescriptor"
ProActiveDescriptor is the root element of the xml
file, and written in the same manner in the Schema.
What is surprising is that my file is validated
without any pb with XMLSpy, but when I want to validate it programatically I get
the error
Regards
Romain
----- Original Message -----
Sent: Wednesday, May 14, 2003 5:32
PM
Subject: Re: Cannot find the declaration
of element ProActiveDescriptor
Hi,
How is "ProactiveDescriptor" spelt in the schema -
do I see "ProActiveDescriptor" and is that case
sensitive?
cheers
Nigel Corbin
At 17:25 14/05/2003 +0200,
you wrote:
Hi
all, I tried to use xerces-J 2 in order to
validate xml files against a schema and I get the following
error
Cannot find the declaration of
element ProactiveDescriptor
in my code
I have :
private
org.xml.sax.XMLReader parser;
..........................................
parser.setFeature("http://xml.org/sax/features/validation",true);
parser.setFeature("http://apache.org/xml/features/validation/schema",true);
Attached
are both the schema and xml file
Any ideas are
appreciated
Thanks in advance
Romain
--------------------------------------------------------------------- To
unsubscribe, e-mail: [EMAIL PROTECTED] For
additional commands, e-mail:
[EMAIL PROTECTED]
-- =========================================================================================== Nigel
Corbin
Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
- note
changes
Victory House Phone:
+44-1293-844061
Manor Royal, RH10 9LU www.sis.slb.com
Great
Britain ===========================================================================================
|