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

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

  1. sk

    sk Guest

    sk, Jun 8, 2006
    #1
    1. Advertising

  2. sk wrote:
    > 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)
     
    Steve Kostecke, Jun 8, 2006
    #2
    1. Advertising

  3. Re: validate with schema cvc-elt.1: Can't find the declaration ofelement

    > 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
     
    Joe Kesselman, Jun 9, 2006
    #3
    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:
    318
    =?ISO-8859-1?Q?Antonio_Ruiz_Mart=EDnez?=
    Jan 13, 2005
  2. Markus
    Replies:
    1
    Views:
    1,580
    Markus
    Nov 23, 2005
  3. C.W.Holeman II

    cvc-complex-type validation errors

    C.W.Holeman II, Jun 22, 2007, in forum: XML
    Replies:
    0
    Views:
    1,038
    C.W.Holeman II
    Jun 22, 2007
  4. Amit Jain
    Replies:
    9
    Views:
    850
    Amit Jain
    Jul 21, 2009
  5. Replies:
    0
    Views:
    367
Loading...

Share This Page