Validate with Schema

Discussion in 'Java' started by sk, Jun 8, 2006.

  1. sk

    sk Guest

    http://java.sun.com/developer/technicalArticles/xml/validationxpath/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
    sk, Jun 8, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?ISO-8859-1?Q?Antonio_Ruiz_Mart=EDnez?=

    validate a document or element against a schema

    =?ISO-8859-1?Q?Antonio_Ruiz_Mart=EDnez?=, Jan 13, 2005, in forum: Java
    Replies:
    0
    Views:
    316
    =?ISO-8859-1?Q?Antonio_Ruiz_Mart=EDnez?=
    Jan 13, 2005
  2. fhuddles
    Replies:
    1
    Views:
    952
    fhuddles
    Feb 15, 2005
  3. Replies:
    2
    Views:
    573
  4. Markus
    Replies:
    1
    Views:
    1,528
    Markus
    Nov 23, 2005
  5. Stanimir Stamenkov
    Replies:
    3
    Views:
    1,250
    Stanimir Stamenkov
    Apr 25, 2005
Loading...

Share This Page