Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Validate with Schema

Reply
Thread Tools

Validate with Schema

 
 
sk
Guest
Posts: n/a
 
      06-08-2006
http://java.sun.com/developer/techni...xpath/index.ht
ml

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
 
 
 
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
Can't validate W3C XML meta-schema Ian Pilcher Java 2 08-23-2005 01:23 PM
Validate Document object against Schema without reparsing the xml veerleverbr@hotmail.com Java 2 06-28-2005 07:42 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
Unable to validate XML Schema with SAX Parser: fhuddles Java 1 02-15-2005 02:58 PM
validate a document or element against a schema =?ISO-8859-1?Q?Antonio_Ruiz_Mart=EDnez?= Java 0 01-13-2005 11:01 AM



Advertisments