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

Re: Force XSV to strictly validate

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 16 Oct 2000 21:27:18 +0100
To: "Yuichi Koike" <koike@ay.jp.nec.com>
Cc: <xmlschema-dev@w3.org>
Message-ID: <f5by9zojzvd.fsf@cogsci.ed.ac.uk>
"Yuichi Koike" <koike@ay.jp.nec.com> writes:

> This is a question about web-based XSV. (2000/09/22 version).
> In my understanding, when DOCTYPE is specified, 
> XSV does "strict" validation. Otherwise, it does "lax" 
> validation. (I am sorry, if I misunderstand).
> Is it possible to force XSV to do "strict" validation, 
> when XML documents have no DOCTYPE declarations?
> (I hope there is a hidden option or something...)

XSV validates strictly iff it has a schema for the namespace of the
document element.  This can perfectly well happen without any DOCTYPEs 

It's not obvious to me why having a DOCTYPE is likely to make this
happen --- could you point me to an example of lax validation which
you think results from lack of a DOCTYPE?

  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 Monday, 16 October 2000 16:27:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:14:47 UTC