[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Schema Query re import and defines

From: Kelso, Simon <skels@allstate.com>
Date: Wed, 10 May 2006 22:16:10 +0100
Message-ID: <A7F3605C579AA64B99E75DBC415CA24B18708B30@a0028-xpo0110-s.intl.ad.allstate.com>
To: <xmlschema-dev@w3.org>
Schema Query re import and defines
Hi

Im not sure if I am mailing to the correct group or not.  We are having
a few problems with consistency with validation tools for XML schemas.
We have a main schema, extensions schema and an plug-in schema that
combines the two.  Descriptions on each are shown below:

Main Schema - contains data dictionary of all types, elements etc

Extensions Schema - contains business area specific types not contained
in the Main Schema - however these can be made up of types 'Imported'
from the main schema, therefore this schema imports from the Main Schema
(note that it uses IMPORT as it is a different namespace as the main
schema.

The plug-in schema - which 'Redefines' types from the Main schema and
'Imports' from the Extensions Schema.

One validation tool validates our schema's ok, however one tool says
that the item being redefined is declared twice (therefore fails
validation) - this is because the plug-in schema is indirectly importing
the definition (From the Main Schema)  via the Extensions schema, while
at the same time doing a redefine from the Main Schema.  What tool is
correct ? and is it valid what we are doing ?

Thanks

Simon.
Received on Friday, 12 May 2006 20:33:15 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.