15:01:58 RRSAgent has joined #xproc 15:01:58 logging to http://www.w3.org/2006/06/15-xproc-irc 15:02:04 richard has joined #xproc 15:02:07 Meeting: XML Processing Model WG 15:02:07 Scribe: Norm 15:02:07 ScribeNick: Norm 15:02:07 Date: 15 Jun 2006 15:02:07 Chair: Norm 15:02:08 Agenda: http://www.w3.org/XML/XProc/2006/06/15-agenda.html 15:02:08 +[MIT528] 15:02:15 zakim, [MIT is ht 15:02:15 +ht; got it 15:02:21 Zakim, [IP is Rui 15:02:21 +Rui; got it 15:02:25 Zakim, what is the code? 15:02:25 the conference code is 97762 (tel:+1.617.761.6200), MoZ 15:02:27 +??P26 15:02:28 zakim, ? is richard 15:02:28 +richard; got it 15:02:54 Norm has changed the topic to: XProc http://www.w3.org/XML/XProc/2006/06/15-agenda.html 15:03:13 + +33.8.72.47.aaaa 15:03:25 zakim, aaaa is MoZ 15:03:29 +MoZ; got it 15:03:30 +??P29 15:03:34 zakim, ? is AndrewF 15:03:34 +AndrewF; got it 15:03:54 zakim, who's on the phone? 15:03:54 On the phone I see Michael, Alessandro, Alex_Milowski, Rui, Norm, ht, richard, MoZ, AndrewF 15:06:26 Present: Michael, Alessandro, Alex, Rui, Norm, Henry, Richard, Mohamed, Andrew 15:06:26 Regrets: Paul 15:06:51 Topic: Accept this agenda? 15:06:51 -> http://www.w3.org/XML/XProc/2006/06/15-agenda.html 15:06:58 Accepted. 15:07:12 Topic: Accept minutes from the previous teleconference? 15:07:12 -> http://www.w3.org/XML/XProc/2006/06/01-minutes.html 15:07:22 Accepted. 15:07:29 Topic: Accept minutes from the previous teleconference? 15:07:29 -> http://www.w3.org/XML/XProc/2006/06/08-minutes.html 15:07:39 Accepted. 15:07:41 Topic: Next meeting: 22 June telcon 15:07:41 Any regrets? 15:07:49 me too 15:08:23 Norm, Michael, Mohamed, Andrew 15:09:03 Henry to chair 15:09:12 Topic: Face-to-face: 2-4 Aug 2006. 15:09:18 Register and report your plans to Murray 15:09:31 Topic: Review of open action items 15:09:47 A-13-01: MSM to draft a complete table; ETA: 15 June 2006 15:10:14 Continued. 15:10:38 ETA: 20 July 2006 15:10:42 A-23-02: Richard to write a syntax proposal 15:10:45 Completed. 15:10:52 A-23-03: Norm to write a syntax proposal 15:10:54 Continued. 15:11:05 A-23-02 Continues 15:11:52 Topic: XProc syntax 15:12:49 Richards email: -> http://lists.w3.org/Archives/Public/public-xml-processing-model-wg/2006Jun/0026.html 15:12:56 s/Richards/Richard's/ 15:13:20 Richard summarizes his message. 15:14:31 Richard: The end of that message shows a description of components that a processor could use to check that the pipeline was connected together correctly. 15:15:24 Richard: Rather than making up names for each output of each step, I use the name of the step and the name of input or output from that component. 15:16:33 Richard: There's a single param named xslt-params that would use a small syntax that we'd have to make up. 15:16:48 Richard, are you particularly attached to using '.' as the separator? 15:17:00 Norm: Taking some of these ideas in reverse order, I hope we can do better with the parameters to for example XSLT 15:17:50 Richard: I agree it's not very nice, we can certainly do it better. However, we'll need something like this in general for other components, even if we do something special for XSLT. 15:18:23 Henry: I thought we had an emerging consensus that we'd have some parameter that could take a bag of name/value pairs. 15:18:57 Not what I said, Norm 15:19:15 Richard: The fact that there are things in XSLT that are called parameters and that they coincide with pipeline parameters is something of a coincidence. 15:19:23 15:19:35 Henry: Not what I said. I thought there would never be a constraint on how many of these you'd include in a step. 15:19:43 I've been thinking the same way too... 15:20:17 Henry: Any component that had a notion of parameters could use that 15:20:55 Richard: It's possible that there would be program parameters and stylesheet parameters that could have name collisions. 15:21:21 where do we put, for example java parameters (-Xmx) ? 15:21:28 Richard: Some XSLT processors have an "input" parameter for the input document. What if the stylesheet also has a parameter named "input"? 15:22:25 Henry: It seems to me that the 80/20 point is to say that a parameter that has a signature in the component definition, then that's what it is. But if you find another parameter, then that's passed to the application. 15:22:31 Richard, in your example that seems to be handled / handleable by passing the *pipeline* input (pipeline stdin, so to speak) using 'with-input' rather than 'with-parameter' -- so I'm not sure I grok the problem 15:22:48 Richard: I'm not sure I'm happy with having those two things completely undistinguished. If you mistype a name, the compiler can't tell. 15:22:57 Henry: It sounds like maybe we should have two element names. 15:23:12 Richard: Yes, we should try to devise a more user-friendly syntax. 15:24:05 Alex: A general rule of saying that there's an arbitrary number of parameters works for XSLT. The same is likely to be true for the pipeline itself. It's a good general mechanism. 15:24:14 Alex: I don't see the harm in having extra parameters. 15:25:25 Norm observes that we might easily be able to do better. 15:25:43 HST: I think we do indeed need to use the signature to specify required/expected parameters 15:26:13 Norm: Richard's example also gives us an easy starting point for a discussion of how inputs and outputs are named. 15:26:27 ... And we could put in the signature whether or not a component supports arbitrary name/value parameters, as e.g. XSLT 15:26:32 Richard: It's a notable feature that you don't list anything about the outputs of a component. Which is a bit asymetrical. 15:26:50 [msm likes both the flexibility of passing unexpected parameters without an error and the cleanliness of getting a warning if you do so by accident, likes a --pedantic flag for that reason] 15:27:06 Richard: but it probably has to be asymetrical. 15:27:45 Richard: Henry wants to be able to not specify any inputs or outputs in a simple pipe. We can do that by having a component definition mark one input and one output as the primary inputs and outputs. 15:28:08 Michael: Richard, are you saying that the reason it looks asymetric is the example? 15:28:43 Richard: No. The mention of the inputs is to connect them to the outputs. There's no point connecting the outputs to the inputs if you've already connected the inputs to the outputs. 15:28:58 Michael: Yes. An arc can be specified from either end and you don't need to do both. 15:29:12 (of course, some people wear a belt with their suspenders) 15:29:46 Norm: The only part of this that bothers me a little bit is that you can't tell what the pipeline is doing if you don't also have in hand the component vocabulary. 15:30:00 Richard: That's sort of true. 15:30:09 can you expound? not sure what 'having the component vocabulary in hand' means 15:30:54 Norm tries 15:31:13 +1 for beeing explicit 15:31:35 Norm: There's a fairly straightforward choice to be made here. We can name the inputs and outputs individually in each step or we can use an approach like Richard has outlined. 15:32:10 Norm: Does anyone feel strongly about what is the right answer? 15:32:23 HT: "Strong" might be too strong, but I'm inclined to do it Richard's way. 15:33:32 HT: There's probably not much support for a real two-level proposal with two syntaxes. The alternative, which is a medium level language with lots of defaulting, is probably more likely. Richard's approach is well suited to that story. 15:34:17 Richard: Imagine taking my syntax and adding with-output to it. 15:34:47 Richard: Then imagine that this with-output is optional, and a default name is generated for you but you can specify a different one i fyou'd like. 15:35:02 HST would like to perform s/with-// on Richard's example 15:35:23 Norm: I think it would make two different variants and we should avoid that if we can. 15:35:40 Richard: I'm inclined to agree with HST that we should remove "with-" 15:36:05 Richard: In the components, you just say what the inputs and outputs are. 15:36:18 we must have distinction between calling of step and definition of step 15:36:44 Richard: But consider the pipeline program itself. Where it says it's both defining that it has such an output and declaring what it's connected to. This will happen also in conditional and switch expressions. 15:37:17 Richard: Given that, the distinction between input and with-input is slightly less meaningful because of that. Unless you make people specify both, which would be unnaturally verbose. 15:37:42 Richard: We should just call them "input" and "output" in both places, and accept that sometimes it serves one, sometimes the other, and sometimes both purposes. 15:38:46 Norm agrees, after some exploration of his own difficulties with conditionals. 15:39:37 Richard: Another thing raised by that is that if we allow conditionals to do XPath tests against their inputs, we can no longer list all the inputs to the "if" component. 15:39:58 Richard: And if we allow "param" to evaluate XPath expressions, that becomes true of all the components. 15:40:19 Richard: It's rather analagous to the parameter case we were discussing earlier. 15:40:30 15:40:30 15:40:30 15:40:30 15:40:30 15:40:31 15:40:33 15:40:35 15:40:37 15:40:39 15:40:41 15:40:43 15:41:06 HT: Those difficulties with conditionals makes me think we shouldn't allow those things in V1 15:41:51 Alex: This is related to my concept of a straight-through "pipe" 15:42:46 Norm asks about how to do HSTs example with two inputs. 15:43:01 HT: I'd write this instead: 15:43:10 15:43:33 With ... 15:43:36 Richard: Norm's point is that this allows the choose step to refer to arbitrary parts outside the step. 15:43:51 HT: Choose is a language construct not a component. 15:44:27 Richard: There are much more substantial problem with outputs from the choose. If things outside can reach back into the choose, then it becomes pervasive. 15:44:50 ...Allowing inputs inside a choose to reach out but not allowing things outside reach in might work. 15:45:01 HT: All the branches of a choose have to have the same output cardinality. 15:45:16 Richard: In my example, you'd have to have exactly one output. 15:45:36 ...OTOH, if you say that choose is like pipeline, and declares its own inputs and outputs, then you can do more. 15:46:18 Norm: My inclination is to have choose declare its inputs and outputs and then for the processor to make sure every branch produces the right outputs. 15:47:21 HT: Choose is a language construct, parallel with pipeline and not with component. 15:47:33 Richard: I think there's much to be said for saying that it's equivalent to a pipeline in some way. 15:49:17 HT: The way a pipeline works in Richard's syntax, the pipeline output names a step output to hook up to. 15:49:21 ...That won't work for the choose. 15:49:43 Richard: Each branch is like a pipeline in that respect. But perhaps the surrounding choose is also like a pipeline. 15:49:56 HT: I don't think the inputs buys us anything. 15:50:42 Richard: I see your point, and it would be more convenient from the users point of view, but I would still like the choose to be equivalent to the pipeline. 15:51:38 Richard: The "choose" somehow has to define that all the branches have the same outputs. For each branch, you have to connect the output of branch to the output of the conditionals. 15:51:46 HT: They're going to be pushing not pulling. 15:52:13 Richard: What you could say is that a conditional construct declares the pipelines that must be in it. Then the branches are like pipelines that have already been declared. 15:52:17 Norm: I'm not sure I followed that. 15:53:59 Norm: Are we coming to consensus on the naming? 15:54:11 MSM: It depends on the separator. 15:54:40 I think the answer is yes. 15:55:25 Richard: I thought there was pushback later... 15:55:29 s/later/earlier/ 15:55:46 Richard: If we imagine that with-output is optional, then we could change our minds later without having any pervasive effect. 15:56:17 Topic: Any other business? 15:56:27 Happy birthday for tomorrow Norm 15:56:31 None. 15:56:51 -Norm 15:56:54 -AndrewF 15:56:55 -richard 15:56:56 -Alessandro 15:56:56 -Rui 15:56:59 -MoZ 15:57:02 -Michael 15:57:02 rrsagent, please make logs world-visible 15:57:06 -ht 15:57:07 rrsagent, please draft minutes 15:57:07 I have made the request to generate http://www.w3.org/2006/06/15-xproc-minutes.html Norm 15:57:20 -Alex_Milowski 15:57:20 XML_PMWG()11:00AM has ended 15:57:21 Attendees were [MIT528], Michael, [IPcaller], Alessandro, Alex_Milowski, Norm, ht, Rui, richard, +33.8.72.47.aaaa, MoZ, AndrewF 15:57:26 alexmilowski has left #xproc 17:31:38 Zakim has left #xproc 17:31:57 rrsagent, bye 17:31:57 I see no action items