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

Re: Question on xmlschema-test-collection

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Tue, 13 Jul 2004 09:51:37 +0100
To: Bob Morgan <morgan@datapower.com>
Cc: xmlschema-dev@w3.org
Message-ID: <f5b658scmsm.fsf@erasmus.inf.ed.ac.uk>

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"

ht

[1] http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/#equal
-- 
 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, 13 July 2004 04:54:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:10 UTC