Re: Online validator problem - empty values accepted

-----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 UTC