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>

-----BEGIN PGP SIGNED MESSAGE-----
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.

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

iD8DBQFDZz0HkjnJixAXWBoRAq5ZAKCCLdqiFNGfniEOiO5SlKvidMgeEgCgg8ff
7MyPhbD8YdZ+EAXsXav8Gz4=
=ki1g
-----END PGP SIGNATURE-----
Received on Tuesday, 1 November 2005 10:01:53 GMT

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