Re: Local vs. Global declarations

Sigh.  XSV doesn't check content models as thoroughly as it should --
until it does the DTD is your friend:

rxp -Vxsz norm.xsd
norm.xsd:4:19: warning: Undeclared attribute xmlns:spec for element schema
norm.xsd:11:13: warning: Content model for element does not allow element element here

If you wrap the offender in <complexType>, it all works fine.

Sorry to waste your time.

ht
-- 
  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 Wednesday, 30 August 2000 11:21:39 UTC