Re: Determinization in case of ambiguity or Should XML validators report on schemas that violate the UPA constraint?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Several problems with your schema:

 1) xs:all is only allowed at the top level of a content model;
 2) targetNamespace and default namespace don't line up.

Fixing those two problems does indeed leave a schema wrt which XSV
reports a UPA violation:

   <schemaError char="25" line="6" phase="instance"
    resource="upa3.xsd">non-deterministic content model for type None: {foo}:b/{foo}:b</schemaError>

Since the schema is broken, your question about the validity of a
particular instance is a bit odd - you can't expect interoperable
behaviour.  For what it's worth, if you tell XSV to keep going and
try to validate the instance anyway, it reports no instance errors,
but you really can't conclude very much from that. . .

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)

iD8DBQFGIzuOkjnJixAXWBoRAr9mAJwLj7bwDEnLsC1G13X+N2SFxLYGwQCfeGDD
BlxOvvEpaJo6Q26SkEJ5Lhw=
=VS5R
-----END PGP SIGNATURE-----

Received on Monday, 16 April 2007 09:02:20 UTC