I've been wrestling with this bug and now I realize that I get the 
correct answer
out of Xerces.  For a substitution group, you need everything in the 
group to have the
same "base" type.  That means you can always use 'anyType' for the base 
of the
substitution group.  Unfortunately, this doesn't seem to work.

Attached is a schema that Xerces finds OK but XMLMind does not.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: courseunits-3.xsd
Type: application/octet-stream
Size: 1360 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20040212/4f78f051/attachment.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

Reply via email to