W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > August 2007

General errors. . .

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Tue, 28 Aug 2007 14:11:44 +0100
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>
Message-ID: <f5bsl634xdb.fsf@hildegard.inf.ed.ac.uk>

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

Do we need to add at least one, maybe more, general-purpose errors:

1) Static error for invalid syntax (wrong children, wrong attributes, etc.);
2) Static error for wrong type value (attr not boolean/QName/whatever);
3) Dynamic error for wrong type option value (option not
   boolean/QName/whatever)?

And prose somewhere (end of section 3.9) defining them?  I note that
actually wrong attributes is already defined (XS0008 and XS0038), but
not wrong children. . .

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)

iD8DBQFG1B8QkjnJixAXWBoRAvTLAJ4u/1kV97zfoFoRXKQP7xG0hmFNuwCeO9iW
u07fSvE6dpjf4BBG2hGjMWo=
=Qgdy
-----END PGP SIGNATURE-----
Received on Tuesday, 28 August 2007 13:11:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT