W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2006

Re: SV: any processContents strict

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Thu, 26 Jan 2006 09:43:25 +0000
To: Bryan Rasmussen <brs@itst.dk>
Cc: "'Michael Kay'" <mike@saxonica.com>, xmlschema-dev@w3.org
Message-ID: <f5boe1z1g02.fsf@erasmus.inf.ed.ac.uk>

Hash: SHA1

Bryan Rasmussen writes:

>>> If I send an instance to a validator and it encounters 
>>> content it does not
>>> understand it is up to the processor if it defaults to 
>>> validate strict, lax, skip....
>>I would have said it is up to the user, but the way the user tells the
>>processor what they want is implementation-defined.
> Yes, but I've had some processors default to lax instead of strict when I
> have not specified (whereas most seem to default to strict). IIRC XSV
> defaults to lax (however have not checked with the newest version I've
> installed which is probably still a couple versions behind) 

XSV starts at the document element in 'lax' mode, as it were, unless a
command line switch specifying a required element or type name is

- -- 
 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@inf.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]
Version: GnuPG v1.2.6 (GNU/Linux)

Received on Thursday, 26 January 2006 09:43:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:32 UTC