W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2000

Re: Tutorial Article on XML Schema

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 14 Sep 2000 14:51:28 +0100
To: david <david@catcode.com>
Cc: www-xml-schema-comments@w3.org
Message-ID: <f5bu2bjrsin.fsf@cogsci.ed.ac.uk>
Good stuff.

Two quick observations, and a recommendation:

1) <element> must precede <attribute> inside <complexType>
2) You need a target namespace and a namespace prefix for your own
stuff:  the references to e.g. DegreeRange will be interpreted as {http://www.w3.org/1999/XMLSchema}DegreeRange as it stands.

Recommendation:

  Follow your own advice: use the DTD [1] which would have forestalled
  (1) above;

  Use the XSV online validator [2], which would have forestalled (2).

ht

[1] http://www.w3.org/1999/XMLSchema.dtd
[2] http://www.w3.org/2000/06/webdata/xsv
-- 
  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, 14 September 2000 09:51:30 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:53 UTC