W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2005

Re: Online validator problem - empty values accepted

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Tue, 01 Nov 2005 10:01:42 +0000
To: "Dave Evans" <dme@sirius-software.com>
Cc: xmlschema-dev@w3.org
Message-ID: <f5bhdaw660p.fsf@erasmus.inf.ed.ac.uk>

Hash: SHA1

Dave Evans writes:

> I think that this instance document should fail, because all of
> its attribute values, which are "the null string", are of types
> which should not admit the missing value/null string.  However,
> validation seems to succeed.  I have enclosed the instance and
> schema documents below.  Can you please let me know whether
> validation should succeed or fail on these?

>    boolean=""
>    duration=""
>    gYearMonth=""
>    gYear=""
>    gMonthDay=""
>    gDay=""
>    gMonth=""

Somewhat embarassingly, XSV has never checked any of the above in any
detail.  The documentation should be clearer on this.

>    language=""

This is the result of a bug, fixed since the last release, will be
fixed as soon as I do a new release.

>    NMTOKENS=""
>    IDREFS=""
>    ENTITIES=""

Another long-standing bug -- fixed in next release.

- -- 
 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]
Version: GnuPG v1.2.6 (GNU/Linux)

Received on Tuesday, 1 November 2005 10:01:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:09 UTC