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>

-----BEGIN PGP SIGNED MESSAGE-----
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
given.

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

iD8DBQFD2Jm9kjnJixAXWBoRAk7kAKCDOcjS7GhEitrjxyeafZhe7f8VqgCfYW/z
6IQu0QTSYK4MqfD/3Qz002M=
=Mhjh
-----END PGP SIGNATURE-----
Received on Thursday, 26 January 2006 09:43:33 GMT

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