[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Namespace: what's the correct usage?
- From: Martin Gudgin <firstname.lastname@example.org>
- To: Eddie Robertsson <email@example.com>, firstname.lastname@example.org
- Date: Tue, 29 May 2001 08:57:14 +0100
----- Original Message -----
From: "Eddie Robertsson" <email@example.com>
Cc: "Martin Gudgin" <firstname.lastname@example.org>; "XML-Dev Mailing list"
Sent: Tuesday, May 29, 2001 1:10 AM
Subject: Re: Namespace: what's the correct usage?
> Martin already replied with the correct analysis of the problem so I'll
> that part. I think the reason you get an error from XSV is that you don't
> the birthday.xsd schema. If you call xsv with:
> C:\xml>xsv friend.xml friend.xsd birthday.xsd
> you should get the correct error messages.
> It is strange though that your result from XSV says that validation was
> In my opinion it should be LAX since it can't find the declarations in the
> birthday schema.
Thanks for spotting that Eddie. I'd not noticed the command-line! If I
validate friend.xml against just friend.xsd with either XSV or MSXML they
both claim the document is valid. I guess it is, according to friend.xsd, it
just isn't valid WRT birthday.xsd. It comes down to the fact that a yes/no
is not enough when doing schema validation... we need the validators to
produce 'Yes, but....' information. TO be fair to XSV if you dump the
PSVI it does say ( right at the bottom ) that validation was 'partial'. I
haven't figured out how to dump a PSVI from MSXML yet ;-)
My previous post was based on running a command line of
xsv friend.xml friend.xsd birthday.xsd