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

Re: Variable and option binding proposal

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Wed, 26 Mar 2008 14:31:08 +0000
To: Norman Walsh <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org
Message-ID: <f5bskydblqr.fsf@hildegard.inf.ed.ac.uk>

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

Norman Walsh writes:

> |  p:variable*,
> |   (p:for-each|p:viewport|p:choose|p:group|p:try|
> |    p:standard-step|pfx:user-pipeline |p:documentation|p:pipeinfo)*
>
> I don't think that's a necessary restriction. There's no reason why I
> shouldn't be able to initialize two or three variables right before
> the p:choose that needs them.

Hmm.  I guess.  Given that I think we definitely should _evaluate_
them all at the beginning, I thought it was simpler to _put_ them all
at the beginning. . .

> | 2) Environment.  We need to put bindings back into the environment, see
> |    2.5 [2] in the new alternate draft.
>
> Why no mention of options in 2.5?

Because there are no option bindings at the beginning of any
containers any more.

> In 5.7.1, doesn't
>
> ...for the enclosing container, with the addition of bindings for all
> p:variable elements which precede this p:variable within its surrounding...
>
> have to read
>
> ...for the enclosing container, with the addition of bindings for all
> p:option and p:variable elements which precede this p:variable within
> its surrounding...
>
> and similarly for p:option?

No, because as pointed out above, there _are_ no p:options at the
beginning of containers anymore.

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)

iD8DBQFH6l4skjnJixAXWBoRAvofAJ9wiwgwJmPh+LkpcL9IoqNq9KcWyQCeKI26
HqwACt+9/rcBqZfBsCERE3Q=
=omRz
-----END PGP SIGNATURE-----
Received on Wednesday, 26 March 2008 14:31:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 26 March 2008 14:31:42 GMT