W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2004

Re: XSV to validate schema instance

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Sat, 22 May 2004 10:40:00 +0100
To: "David Walker" <David.W.Walker@cs.cardiff.ac.uk>
Cc: <xmlschema-dev@w3.org>
Message-ID: <f5bsmds4x73.fsf@erasmus.inf.ed.ac.uk>

"David Walker" <David.W.Walker@cs.cardiff.ac.uk> writes:

> I have installed XSV under Windows and tried
>
> xsv  file.xml file.xsd
>
> to validate file.xml against the schema in file.xsd. I got no errors
> but the output says the validation was lax, and even when I edit
> either the xml or xsd file so that file.xml in not a valid instance
> of file.xsd I still get no errors.

This is usually a sign of a namespace mismatch, i.e. the namespace of
the instance is not the targetNamespace of the schema.

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 Saturday, 22 May 2004 05:41:19 GMT

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