Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: Kasimier Buchcik <kbuchcik@---------.-->
To: "Kevin L. Cobb" <kevin.cobb@--------.--->
Date: 8/30/2005 12:23:00 PM
Hi,

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.

[...]

Regards,

Kasimier

From ht@i... Tue Aug 30 08:42:34 2005
Received: from maggie


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent