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

RE: Question on xmlschema-test-collection

From: Zafar Abbas <zafara@microsoft.com>
Date: Tue, 13 Jul 2004 10:21:12 -0700
Message-ID: <563BD3496D37BB4B9F4E8F896A58F2B30238BB6C@RED-MSG-50.redmond.corp.microsoft.com>
To: "Henry S. Thompson" <ht@inf.ed.ac.uk>, "Bob Morgan" <morgan@datapower.com>
Cc: <xmlschema-dev@w3.org>

After the clarification in the spec, this passes as valid with the
Microsoft validator in version 2.0 beta of the .NET framework.

-----Original Message-----
From: xmlschema-dev-request@w3.org [mailto:xmlschema-dev-request@w3.org]
On Behalf Of Henry S. Thompson
Sent: Tuesday, July 13, 2004 1:52 AM
To: Bob Morgan
Cc: xmlschema-dev@w3.org
Subject: Re: Question on xmlschema-test-collection

Bob Morgan <morgan@datapower.com> writes:

> I was looking at the schema test collection and have a question about
> several of the tests. Since it boils down to a single question I will
> ask about one of the tests: idc_lanuage_Name, which tests the 'key'
> and 'keyref' facilities.
> It seems to be a simple test which by observation should pass. The
> originators of the tests and the microsoft validator says that the
> test fails. The other validators say that it passes. My question is:
> what language rules mandates failure or why does it fail.

There was perhaps some lack of clarity in the spec. as published about
equality of values from different types.  The revised edition [1]
includes clarifying text on this matter:

  "if datatypes T' and T'' are *derived* by *restriction* from a
  common atomic ancestor T then the *value space*s of T' and T'' may
  overlap. Values in the *value space*s of T' and T'' can be compared
  according to the above rules"


[1] http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/#equal
 Henry S. Thompson, HCRC Language Technology Group, University of
                     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
Received on Tuesday, 13 July 2004 13:22:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:22 UTC