Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] ValidityException: cvc-elt.1: Cannot find the declaration of 'receive'

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Radu <radu.marian AT us.ing.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] ValidityException: cvc-elt.1: Cannot find the declaration of 'receive'
  • Date: Thu, 30 Nov 2006 13:21:27 -0500

Radu wrote:

I am getting the following error:
nu.xom.ValidityException: cvc-elt.1: Cannot find the declaration of element
'receive'. at line 1, column 24 in file:///C:/tmp/p2pio.xml
at nu.xom.Builder$ValidityRequired.error(Builder.java:1260)
at ...

This is a schema error being passed on by XOM from the underlying parser (Xerces, I expect). This might perhaps be better addressed on a schema mailing list if you don't get a full answer here.

Also, you'll probably see the same error directly if you try to use Xerces sax.Counter or some such without going through XOM. That may make it easier to debug.


--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/




Archive powered by MHonArc 2.6.24.

Top of Page