Re: xmlschema does not support principle of substitutability of subty pe for its supertype

Michael Burns <Michael.Burns@sas.com> writes:

> Thanks for the answers.  I will try the substitutionGroup.
> Could you be more specific regarding 'various namespace-related problems'?
> I admit to not having read all of the specs, and trying to get a schema
> working by reading only part of the specs.  So RTFM with some pointers
> is an acceptable answer.  :-) 

1) Your schema announces a target namespace, but your instances are
not in a namespace;

2) Your schema doesn't use prefixed references to its own types and
elements, so it's not actually successfully referring;

3) You're not consistent wrt Critters vs. critters.

The Primer [1] will help with the first two.

ht

[1] http://www.w3.org/TR/xmlschema-0/
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/

Received on Thursday, 30 November 2000 10:51:19 UTC