Re: XForms Basic and Schema Validation

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

Seems to me you'd be much better off, as I understand what you're
doing, to talk about simple type definitions, not datatypes.  I take
it from [1] that an XForm MIP uses a QName to refer to
. . . something.  That something appears to be user-definable, in a
(W3C XML Schema)schema.  Such things are simple type definitions,
referred to by name (or, if you must, although I think it's going to
cause _much_ more confusion and trouble than it's worth, by naming a
complex type definition with simple content, whose {content type} is
then the referent.  In your example [1], what is gained by referring
to my:internationalPrice instead of xs:decimal?).

Talking about simple type definitions will simplify your prose
interface to the XML Schema specs.  Note for example that the
(misleadingly named, sorry) Validation Rule: Datatype Valid [2] is a
rule relating a simple type definition (not a datatype) to a string.

ht

[1] http://lists.w3.org/Archives/Public/www-forms/2006May/0075.html
[2] http://www.w3.org/TR/xmlschema11-2/#cvc-datatype-valid
- -- 
 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)

iD8DBQFEYaWgkjnJixAXWBoRApIaAJ4wPMHrVoNijjKHCDwsO9C2EzJavwCZAYjy
gRbMyJMUkX5CSnAWyUBkJU8=
=2glA
-----END PGP SIGNATURE-----

Received on Wednesday, 10 May 2006 08:35:06 UTC