Nathan, Your structure looks okay.
Although XMLSpy 4 may do the right thing (I don't know), I always suggest that people do their checks with XSV and with IBM XML Schema Quality Checker. For example, if the schemaLocation appears differently in the different <include> element information items, even though you (a human being) realize they all point to the same Web resource, Xerces and other processors may not recognize this, so include them twice, therefore causing a duplicate definition. (I am one of the authors of IBM XML Schema Quality Checker -- it can be downloaded from http://www.alphaworks.ibm.com/tech/xmlsqc). Regards, Bob Bob Schloss IBM Thomas J. Watson Research Center Yorktown Heights, New York, USA http://www.research.ibm.com/XML "Beyer,Nathan" <[EMAIL PROTECTED]> on 09/20/2001 04:49:35 PM Please respond to [EMAIL PROTECTED] To: "Xerces-J-User (E-mail)" <[EMAIL PROTECTED]> cc: Subject: Schema error: sch-props-correct: Duplicate declaration for a type ReadCodeType I have some schemas that are producing a bunch of schemas that are producing these errors during schema validation on v1.4.3: Schema error: sch-props-correct: Duplicate declaration for a type ReadCodeType. ReadCodeType is the complexType that I've defined and is used all over the place in my schemas. My schemas utilize a number of include statements validate fine in XMLSpy 4. Can anyone see anything wrong with this type of structure below: Schema X includes A. Schema A includes B. Schema B includes Z. Schema A includes C. Schema C includes D. Schema D includes E. Schema E includes Z. Schema D include F. Schema F includes Z. The complexType 'ReadCodeType' is in file Z. Why am I getting a schema error from this setup, it seems like a valid include structure. Note, if I remove 'Schema B includes Z' the schema is valid. Any thoughts or ideas would be appreciated. Thanks. --- Nathan Beyer MillenniumObjects Cerner Corporation 2900 Rockcreek Parkway Kansas City, MO 64117 Phone: 816.201.2343 Pager: 913.644.0064 Fax: 816.201.8343 Email: [EMAIL PROTECTED] CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws and is intended only for the use of the addressee. Unauthorized forwarding, printing, copying, distributing, or using such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816) 221-1024. ------------------------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]