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: 07 Mar 2001 08:04:42 +0000
To: Eddie Robertsson <eddie@allette.com.au>
Cc: Matt Brown <matt@avolent.com>, "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>
Message-ID: <f5br90aromd.fsf@cogsci.ed.ac.uk>
Eddie Robertsson <eddie@allette.com.au> writes:

> Sorry, to be a pain about this I just really want to understand how
> this works and while the above fixed my problem I still can't get
> XSV to validate the data in appinfo properly. In the file part.xsd
> [1] I have specified the element allowed in the xsd:appinfo element
> (sch:pattern). However if I change the test.xsd [2] schema so that
> the xsd:appinfo element contain the element sch:p instead, XSV still
> validates this without error. Am I doing something wrong here?
> ...again ;-(

Validation in appinfo is lax, which means that if it can't find a
declaration it doesn't complain.  Try leaving sch:pattern in place,
but change sch:rule to something invalid, and you should get a complaint.

  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, 7 March 2001 03:04:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:51 UTC