Re: Tutorial Article on XML Schema

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