W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2003

Re: Do XML Schema processors verify schemas using XML Schema?

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: Wed, 08 Oct 2003 09:51:01 +0100
To: Sam Tregar <sam@tregar.com>
Cc: Dare Obasanjo <dareo@microsoft.com>, xmlschema-dev@w3.org
Message-ID: <f5bwubgm7t6.fsf@erasmus.inf.ed.ac.uk>

Sam Tregar <sam@tregar.com> writes:

> On Tue, 7 Oct 2003, Dare Obasanjo wrote:
>
>> I'm not sure what you mean by this. Are you asking whether XML schema
>> validators ensure that the schema document is actually a valid schema or
>> whether the schema documents are validated against the schema for Schema
>> (sForS)?
>
> The latter, of course!  Obviously being a conformant XML Schema
> implementation means checking schemas for validity.  I'm asking
> whether they do it using a schema (sForS?) or by some other process.

Yes, XSV uses a (pre-compiled) version of the sForS to schema-validate
all schema documents involved in a schema-validation episode.

The compilation is boot-strapped by running XSV in a legacy
DTD-based-pre-validation mode on the schema document for the sForS,
and post-processing the reflected PSVI output.

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-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/
 [mail really from me _always_ has this .sig -- mail without it is forged spam]
Received on Wednesday, 8 October 2003 04:51:05 GMT

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