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

Children of p:choose - why are xpath-context and variable ordered?

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Fri, 15 Aug 2008 15:18:55 +0100
To: public-xml-processing-model-wg@w3.org
Message-ID: <f5bproa1hv4.fsf@hildegard.inf.ed.ac.uk>

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

I suspect people are going to find it difficult to remember the
required order here, and indeed the DTD and the RNG have opposite
orders.  How about we have

 ((p:xpath-context? & p:variable*),
  p:when*, p:otherwise?)

or, better, but more prolix:

 (p:variable*,
  (p:xpath-context, p:variable*)?,
  p:when*, p:otherwise?)

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)

iD8DBQFIpZBTkjnJixAXWBoRAuJHAKCBLPeW7LpBkfqwcl342M7zKF9AQQCfaDTx
0rntKUIgf2XhThDazVH2qwk=
=BZrU
-----END PGP SIGNATURE-----
Received on Friday, 15 August 2008 14:19:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 15 August 2008 14:19:36 GMT