W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2001

Re: assigning schema to appInfo elements

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 06 Mar 2001 08:40:25 +0000
To: Eddie Robertsson <eddie@allette.com.au>
Cc: Matt Brown <matt@avolent.com>, "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Message-ID: <f5by9ujqohy.fsf@cogsci.ed.ac.uk>
When I tried your example, I had to fix two problems:

1) &nbsp; throughout, not valid UTF-8 (that's probably courtesy of
    your mailer);
2) XSV DTD-validates all schemas, and this was barfing on Test.xsd --
didn't you see the error message?  Fixing this (by declaring

  <!ENTITY % appinfoAttrs 'xsi:schemaLocation CDATA #IMPLIED
                           xmlns:xsi CDATA #IMPLIED'>

allowed XSV to happily validate your instance.

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 Tuesday, 6 March 2001 03:40:35 GMT

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