- From: Henry S. Thompson <ht@inf.ed.ac.uk>
- Date: Tue, 09 Mar 2004 08:32:35 +0000
- To: Mik Lernout <mik@futurestreet.org>
- Cc: Michael Kay <mhk@mhk.me.uk>, "'Lingzhi Zhang'" <lzhang@cse.ogi.edu>, "'dev xmlschema'" <xmlschema-dev@w3.org>
Mik Lernout <mik@futurestreet.org> writes:
<snip/>
> If this would be the case it would seem for example
> logically to be able to mark, when validating, the root-element you
> wish to validate against like in: validator.validate(po.xsd,
> 'purchaseOrder'). Why isn't this the case?
XSV does give you precisely this functionality, and I believe some
other validators do also. The REC provides for this, by specifying
that validation may be started with an instance _and_ an element
declaration.
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]
Received on Tuesday, 9 March 2004 03:33:10 UTC