validate with schema cvc-elt.1: Can't find the declaration of element

S

Steve Kostecke

sk said:
http://java.sun.com/developer/technicalArticles/xml/validationxpath/index.html

I am following this sample and trying to learn how to validate xml
document with the schema

I am getting the following error.

"cannot find the declaration of element 'birthdate'"

Instead of J2SE 5.0 I am using JDK 1.4.2 + Apache Xerces-J 2.8.0 in
/lib/endorsed folder.

What could be the problem?

SK

Xerces is long depricated and buggy, use xmllint+ (and xslproc if you
also need to process xslt's)
 
J

Joe Kesselman

Xerces is long depricated and buggy

Check the Apache website, but I really don't believe that's true.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top