Here's a simple document which fails to validate with 'xsdvalid'. The additions to the substitution group are in the second schema called 'citrus-fruits.xsd'. It complains that there isn't a non-abstract element in the substitution group--which there is in the second schema.
It does validate if you specify citrus-fruits.xsd on the command line using -s. The files are attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: citrus-fruits.xsd Type: application/octet-stream Size: 1289 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040310/38d44f8d/attachment.dll -------------- next part -------------- A non-text attachment was scrubbed... Name: fruit-basket.xsd Type: application/octet-stream Size: 2253 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040310/38d44f8d/attachment-0001.dll -------------- next part -------------- A non-text attachment was scrubbed... Name: fruit-order-3.xml Type: application/octet-stream Size: 648 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040310/38d44f8d/attachment-0002.dll -------------- next part -------------- Alex Milowski FAX: (707) 598-7649 alex at milowski.com "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Russell in a footnote of Principles of Mathematics

