Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > validate with schema cvc-elt.1: Can't find the declaration of element

Reply
Thread Tools

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

 
 
sk
Guest
Posts: n/a
 
      06-08-2006
http://java.sun.com/developer/techni...ath/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


 
Reply With Quote
 
 
 
 
Steve Kostecke
Guest
Posts: n/a
 
      06-08-2006
sk wrote:
> http://java.sun.com/developer/techni...ath/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)


 
Reply With Quote
 
 
 
 
Joe Kesselman
Guest
Posts: n/a
 
      06-09-2006
> Xerces is long depricated and buggy

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


--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nokogiri::XML::Schema Cannot find the declaration of element frantisek.svoboda@gmail.com Ruby 0 12-18-2012 09:17 AM
Including element from one schema namespace in another schema namespace mflll@wiu.edu XML 1 07-20-2006 06:48 AM
[XML Schema] Including a schema document with absent target namespace to a schema with specified target namespace Stanimir Stamenkov XML 3 04-25-2005 09:59 AM
validate a document or element against a schema =?ISO-8859-1?Q?Antonio_Ruiz_Mart=EDnez?= Java 0 01-13-2005 11:01 AM
per the active schema, the element <BR> must be included within a parent element MSNews ASP .Net 1 04-22-2004 04:45 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57