W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2000

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

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 30 Nov 2000 15:51:11 +0000
To: Michael.Burns@sas.com
Cc: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Message-ID: <f5bd7fd1ms0.fsf@cogsci.ed.ac.uk>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:19 GMT