- From: Henry S. Thompson <ht@inf.ed.ac.uk>
- Date: Wed, 22 May 2013 14:58:14 +0100
- To: Norman Walsh <ndw@nwalsh.com>
- Cc: public-xml-processing-model-wg@w3.org
Norman Walsh writes:
> See http://www.w3.org/XML/XProc/2013/04/24-minutes
> [NEW] ACTION: A-230-05: Henry to propose an erratum that fixes the phrase
> 'that variable' in the note in 'variable bindings' in 2.6.1.1 [recorded in
Done, in minutes of this meeting.
> [NEW] ACTION: A-230-08: Henry to examine our discussion of p:when etc. and
> see if it can be easily recast along the lines of 'substitutions for the
> body' without the confusion about subpipelines. [recorded in
> [41]http://www.w3.org/XML/XProc/2013/04/24-minutes#action08]
What we want to know is, suppose we said something along these lines:
At runtime p:choose behaves identically to a p:group wrapping the
contents of the chosen branch, minus its p:xpath-context, if any.
All issues of defaulting inputs, outputs between the p:choose and
its environment on the one hand, and between the p:choose and its
_branches'_ environments on the other, follow from this, as do a
range of consistency constraints across those branches. In other
words, it _must_ be the case that either _all_ the pipelines
constructed by subsituting a branch-derived p:group use a particular
default, or none of them do.
Would this then cover what we currently try to enumerate in section
4.4, as well as the things we failed to cover because, as noted by the
OP, p:when and p:otherwise are not compound steps?
I realise what I have above wrt "using a . . default" isn't very clear
or precise -- can it be made so?
ht
--
Henry S. Thompson, School of Informatics, University of Edinburgh
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 from me _always_ has a .sig like this -- mail without it is forged spam]
Received on Wednesday, 22 May 2013 13:58:48 UTC