14:55:24 RRSAgent has joined #xproc 14:55:24 logging to http://www.w3.org/2012/02/02-xproc-irc 14:55:28 Zakim has joined #xproc 14:55:31 zakim, this will be xproc 14:55:31 ok, Norm; I see XML_PMWG()10:00AM scheduled to start in 5 minutes 14:55:49 rrsagent, set logs world-visible 14:55:50 Meeting: XML Processing Model WG 14:55:50 Date: 2 February 2012 14:55:50 Agenda: http://www.w3.org/XML/XProc/2012/02/02-agenda 14:55:50 Meeting: 208 14:55:53 Chair: Norm 14:55:54 Scribe: Norm 14:55:56 ScribeNick: Norm 14:57:36 Regrets: Cornelia 14:59:18 almost there ... brewing up tea or I wont be useful 14:59:44 Vojtech has joined #xproc 15:00:16 XML_PMWG()10:00AM has now started 15:00:23 + +1.213.457.aaaa 15:00:30 zakim, passcode? 15:00:30 the conference code is 97762 (tel:+1.617.761.6200 sip:zakim@voip.w3.org), Norm 15:00:46 - +1.213.457.aaaa 15:00:48 XML_PMWG()10:00AM has ended 15:00:48 Attendees were +1.213.457.aaaa 15:01:04 alexmilowski has joined #xproc 15:01:10 ht has joined #xproc 15:01:13 zakim, this will be xproc 15:01:13 ok, Norm; I see XML_PMWG()10:00AM scheduled to start now 15:01:17 zakim, passcode? 15:01:17 the conference code is 97762 (tel:+1.617.761.6200 sip:zakim@voip.w3.org), Norm 15:01:22 Hmm… trying to locate my phone. :( 15:01:30 XML_PMWG()10:00AM has now started 15:01:37 +Norm 15:01:42 +[IPcaller] 15:02:17 zakim, who's here? 15:02:17 On the phone I see Norm, [IPcaller] 15:02:18 On IRC I see ht, alexmilowski, Vojtech, Zakim, RRSAgent, Norm, jfuller, Liam, caribou 15:02:24 zakim, [ip is jfuller 15:02:25 +jfuller; got it 15:02:38 +??P33 15:02:45 zakim, ? is done 15:02:48 +done; got it 15:02:53 zakim, done is me 15:02:56 +ht; got it 15:03:05 +Alex_Milows 15:03:10 +Jeroen 15:03:18 zakim, jeroen is me 15:03:18 +Vojtech; got it 15:03:29 zakim, who's here? 15:03:29 On the phone I see Norm, jfuller, ht, Alex_Milows, Vojtech 15:03:33 On IRC I see ht, alexmilowski, Vojtech, Zakim, RRSAgent, Norm, jfuller, Liam, caribou 15:03:50 Present: Norm, Jim, Henry, Alex, Vojtech 15:04:00 Topic: Accept this agenda? 15:04:00 -> http://www.w3.org/XML/XProc/2012/02/02-agenda 15:04:04 Accepted. 15:04:08 Topic: Accept minutes from the previous meeting? 15:04:08 -> http://www.w3.org/XML/XProc/2012/01/26-minutes.html 15:04:16 Accepted. 15:04:21 Topic: Next meeting: telcon, 23 February 2012 15:04:46 Accepted. No regrets heard. 15:05:01 Topic: Review of open action items 15:05:10 A-206-10: completed 15:05:19 s/10/01/ 15:05:26 s/206-10/206-01/ 15:06:04 ACTION: A-208-01: Norm to put the categorization on the agenda for 23 Feb 15:06:17 A-206-02: continued 15:06:31 A-207-01: continued 15:06:35 A-207-02: continued 15:06:41 Topic: Charter 15:06:52 Norm: I sent mail to Liam to setup a time to chat about it. 15:07:17 Norm: I'm going to propose what we talked about last week: that we have enough community interest to start a V.next on the REC track 15:07:28 Topic: Discussion of V.next items from recent email 15:07:29 Philip Fennel talking XPROC 15:07:30 http://www.meetup.com/muglondon/events/47951232/ 15:08:11 some xproc libs 15:08:12 https://github.com/philipfennell/xproc-libraries 15:08:53 Jim: I'm interested in Vojtech's shimming approach. 15:09:30 Vojtech: There are two main things to this: one is the conversion between media types. On the ports you can declare what kinds of media types they accept or produce. 15:09:49 ...You can specify a wildcard. For example, the identity step in my extension can process arbitrary media types. 15:10:00 ...And the p:store step can process arbitrary media types. 15:11:01 ...If you have two steps that are connected and the first step produces application/xml and the second step takes application/json, then if the processor knows how to convert from XML to JSON, the XML will be converted to JSON for the second step. 15:11:42 ...This is the main idea. There are some defaults, for example application/xml and image/svg+xml, then conversion might happen or it might just be passed through. 15:12:11 ...The second big part is what to do with XPath in XProc. Because the conversion happens only between the input and output ports, but you can also have options/choose-when/etc. 15:12:24 ...In all the places where you can use XPath, you can encounter non-XML data in the context. 15:12:46 ...I support that to the extent that some expressions succeed, for example base-uri() and media type information. 15:13:12 ...Potentially you can also imagine that you could access the binary stream itself, but I didn't go that direction. 15:13:28 ...Those are the two main things. 15:13:47 Vojtech's paper will be presented at XML Prague 2012. 15:14:10 Vojtech: There are also some small changes to the steps to operation on non-XML data (like p:identity and p:store) 15:14:21 ...The compound steps like for-each and choose/when, they can operate on any media type. 15:14:52 ...One nice feature that you get with for-each is that if you put an output that declares a media type, you can get automatic conversion to that media type for all the subpipeline's outputs. 15:15:44 ...For the bindings, where the media type is not available or wrong, you have the opportunity to override the binding. You can say that this isn't application/xml, but instead it's a JPEG or something. It doesn't convert, it just overrides the media type carried with the document. 15:16:09 Jim: Thanks. That's fascinating. 15:16:20 ...It sounds like the shimming is less of a hassle than the impact on XPath. 15:16:32 Vojtech: Well, there are more interesting problems. 15:16:48 ...Before you evaluate an XPath expression, maybe you should shim to XML. But it occurred to me that you could do it beforehand. 15:17:08 ...That way you get more flexibility. 15:17:55 MoZ has joined #xproc 15:18:06 ...There's a question about what kinds of conversion you should handle and how. Maybe we could come up with some default conversions. 15:18:17 ...But if you just take XML and JSON, there are a whole bunch of schemes. I left that open. 15:18:49 Vojtech: Things like handling the XQuery inputs are handy. 15:19:01 ...There are open questions about what to do with p:document or p:load if you point it to non-XML data. 15:19:35 ...Right now we convert to base64, but with my proposal we don't do that. 15:20:02 ...I tend to think of p:data and p:http-request as similar things, so they behave the same way. 15:20:18 ...Overall I was surprised that it wasn't that difficult. There weren't that many breaking changes. 15:20:39 ...It's not that dramatic a change for pipeline authors. 15:20:46 Jim: It doesn't sound like low-hanging fruit to me, but... 15:20:58 Vojtech: Well, it's not because there are a bunch of loose ends. I made some arbitrary decisions. 15:21:20 ...Some of the questions have broader implications. 15:21:39 Alex: This is an example of where just looking at the low-hanging fruit doesn't necessarily achieve all the goals of making XProc easier to use. 15:21:52 ...I'm not sure we should tackle every problem that's beneficial, but we need some way of deciding. 15:22:00 ...I really like this. It solves problems that have really frustrated me. 15:22:42 Vojtech: Yes. I have lost of implementations with non-XML data, so you need to work around a lot of issues. 15:23:02 ...I implemented it in our XProc engine and it turns out that it's not that difficult. 15:23:27 ...I think this whole topic is something that needs more careful consideration. 15:23:47 Norm: I think we should put this on the list as a possibility. 15:24:06 Vojtech: If you just take the changes to the XProc language, there were only two: extra attributes on input/output and binding elements. 15:24:19 ...And one more XPath extension function to get the media type. 15:25:19 Alex: Non-XML stuff and parameters are the two big pain points. 15:26:19 Norm: Yeah, I think something like Vojtech's approach for non-XML might be worth doing and I still think we might do something clever with parameters and maps. 15:26:44 Vojtech: I changed the pxp:zip/unzip steps to treat the ZIP documents as a (binary) stream. The output of the pipeline is really binary ZIP data. 15:26:52 ...For this kind of functionality I think that's a nice feature. 15:28:09 Norm: We've got a little time left. What about Mohamed's ideas for streaming. 15:28:15 Norm summarizes 15:28:22 SCRIBE PUT MAIL LINK HERE 15:30:27 Norm expresses general approval. 15:30:33 Henry: I'm not sure I understand the unordered one. 15:31:02 ...I'm not sure howi t buys you anything at all. Imagine that you're implementing the for-each step. 15:31:08 ...You fork six threads and now what do you do? 15:31:19 Vojtech: When the first is done, you can send it's output along. 15:32:06 Norm attempts to explain. 15:32:20 Henry: It's not a buffering issue. You have to buffer all six. There's no way to know which one is going to finish first. 15:32:29 Link : http://lists.w3.org/Archives/Public/public-xml-processing-model-wg/2012Feb/0013.html 15:32:59 ...What is true is that you can hand a pointer to the buffer for whoever finishes first on to the next stage. 15:33:32 no you'll have to buffer ONE LESS 15:33:57 but you indeed may have to buffer the last 5 15:34:44 Henry: What I was thinking of was that someone might want to do more complex analysis. If you have a for-each followed by an identity followed by another for-each, you can make huge gains by optimizing the flow. 15:34:49 The point being to let the implementation define the strategy that minimize buffering 15:36:07 +1 to that 15:37:13 we may have the same point with XSLT 2.0+ outputs 15:37:28 but it becomes the XSLT implementation problem 15:38:17 Some discussion of cardinality and media type wrt Alex's question about href on p:query 15:38:51 Jim: In the past, was there any discussion of adding metadata to the input/output of ports? 15:39:02 ...If we were going to do the shimming, instead of adding media type, we could do something broader. 15:39:53 Henry: "Yes" is the short answer, a very long time ago. It was in conjunction with the question of outputs. I mentioned the fact that in the old Markup Pipeline Engine, it was coherent to persist the output escaping result of an XSLT step. If you turned of output escaping, as part of the output of an XSLT step, 15:40:11 ...if you do that in th emiddle of a pipeline that gets lost. 15:40:33 ...Because that's a property of the *stylesheet*, the pipeline author might not even know about it. You can't use the pipeline's own controls. 15:40:49 ...So we had a general purpose backchannel (an attribute/value backchannel) in the architecture. 15:40:51 s/th emiddle/the middle/ 15:41:14 ...Another thing you can use it for is to persist the character encoding. So you can output in the same encoding that you received. 15:41:19 ...If you get latin-3, you produce latin-3. 15:41:37 Alex: This is interesting, because it seems to go along with the idea of media types. 15:41:49 ...The media type has parameters and one of them is the encoding. 15:42:16 ...I think the immediate follow-on from having media types is dealing with other metadata. 15:42:53 Jim: Yeah, that's what I was thinking of. It could also potentially simplify some existing steps. 15:43:04 Discussion returns ineveitably to parameters. 15:43:49 s/ineveitably/inevitably/ 15:48:53 Alex: There are two large buckets: getting stuff from an uknown bucket that comes from outside the pipeline and copying directly from options passed to the pipeline. 15:49:42 Henry: I think what's not clear to me is that the parameter passing topology is potentially different from the backchannel I had in mind. 15:50:00 ...Such a backchannel is really metadata about a particular document. 15:50:50 Norm: I don't think we meant the same mechanism... 15:51:21 Alex: What's curious about the parameter problem compared to the media type thing is that it's a change that doesn't seem to really rock the boat from a pipeline author perspective. 15:51:36 ...The parameters thing could be a radical departure. 15:51:52 Vojtech: I was thinking the same thing. 15:52:17 Norm: For my part it depends on the solution. 15:52:22 Henry: And here's a pipeline conversion pipeline. 15:53:19 Topic: Any other business? 15:53:20 parameter gravity 15:53:33 None heard. See you in three weeks. 15:53:41 Adjourned. 15:53:43 -Alex_Milows 15:53:44 -jfuller 15:53:44 -Vojtech 15:53:46 -Norm 15:53:52 Hey, Vojtech, do you want a demo jam slot? 15:53:59 rrsagent, draft minutes 15:53:59 I have made the request to generate http://www.w3.org/2012/02/02-xproc-minutes.html Norm 15:54:25 moz, do you want a demo jam slot? 15:54:54 Not sure of the topic 15:55:00 but if there is one left 15:55:05 I could do some demo for sure 15:55:54 are you already out of slots, Norm ? 15:56:07 no, I've got a few left, just want to make sure you get one if you want one 15:56:11 I'm down to 5, I believe. 15:57:31 where can I see the current list ? 15:57:43 behind my eyeballs 15:57:47 :D 15:57:53 was expecting this 15:57:58 ok keep me one 15:58:01 done. 15:58:06 thanks 15:58:21 rrsagent, bye 15:58:21 I see 1 open action item saved in http://www.w3.org/2012/02/02-xproc-actions.rdf : 15:58:21 ACTION: A-208-01: Norm to put the categorization on the agenda for 23 Feb [1] 15:58:21 recorded in http://www.w3.org/2012/02/02-xproc-irc#T15-06-04