Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Validation Schema redux

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: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Validation Schema redux
  • Date: Mon, 26 Jun 2006 20:55:48 -0400

Spencer Marks wrote:

When run this code I get:

[Error] input.xml:4:100: cvc-elt.1: Cannot find the declaration of element
'tns:entitlement-data'.



That's a schema-specific error. I suspect you'd get the same error if you used Xerces directly, and a similar error if you used a different processor. It likely indicates a mistake in your schema, perhaps involving target namespaces, though I can't tell you exactly what it is. All XOM is doing here is reporting back the error message that Xerces gives it.

--
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