W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2005

Re: Importing other schema's into the main schema defintion

From: Kasimier Buchcik <kbuchcik@4commerce.de>
Date: Tue, 30 Aug 2005 10:23:04 +0200
To: "Kevin L. Cobb" <kevin.cobb@emergint.com>
Cc: XML-SCHEMA <xmlschema-dev@w3.org>
Message-Id: <1125390184.1274.4.camel@librax>


On Mon, 2005-08-29 at 11:38 -0400, Kevin L. Cobb wrote:
> I am new to the list and pretty new to schema definitions, although
> I work with XML and XSLT a lot.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> I am trying to define multiple schema's that reference each other and
> am running into some problems. When I try and validate my Source XML
> with the Source Schema (books.xsd), I get the error: "Cannot find the
> declaration of element 'book'." Based on what I know, the schema

The error report looks like you are using Xerces. Your test case
is perfectly valid and Xerces-J 2.7.1 does not bark at it; so
I assume that either you use a very old version of Xerces or your
code, calling the validation process, is somehow broken. Please provide
more info about the schema processor you used and how you called it.



Received on Tuesday, 30 August 2005 08:26:09 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:08 UTC