W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > July 2008

Re: required/optional/fixed for xlink:type in sample schema docs

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Tue, 15 Jul 2008 18:25:00 +0100
To: John Cowan <cowan@ccil.org>
Cc: public-xml-core-wg <public-xml-core-wg@w3.org>
Message-ID: <f5b3amboyab.fsf@hildegard.inf.ed.ac.uk>

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

John Cowan writes:

> What is more, there doesn't seem to be any way to say "must be
> present and must have this value" except to use an enumeration:
>
>         <?ATTLIST extended
>             type (extended) #REQUIRED>
>
> which unfortunately changes the infoset.

How so?  Note that the 1.0 DTD used a single-item enumerated type
also. . .

ht
- -- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
                         Half-time member of W3C Team
      10 Crichton Street, Edinburgh EH8 9AB, 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)

iD8DBQFIfN1skjnJixAXWBoRAr+JAJ9U2PnHNz5rad2TIzpNcvraSzhMVQCcCoEi
Sr/0tm6JnDh4/eI76eUdS4Q=
=vWDH
-----END PGP SIGNATURE-----
Received on Tuesday, 15 July 2008 17:25:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 15 July 2008 17:25:52 GMT