15:02:30 RRSAgent has joined #xproc 15:02:30 logging to http://www.w3.org/2008/07/17-xproc-irc 15:02:56 Meeting: XML Processing Model WG 15:02:56 Date: 17 July 2008 15:02:56 Agenda: http://www.w3.org/XML/XProc/2008/07/17-agenda 15:02:56 Meeting: 119 15:02:56 Chair: Norm 15:02:57 Scribe: Norm 15:03:01 ScribeNick: Norm 15:03:03 Regrets: Richard, Paul, Henry 15:03:23 MoZ has joined #xproc 15:03:41 Zakim, what is the code ? 15:03:55 +??P35 15:03:57 the conference code is 97762 (tel:+1.617.761.6200 tel:+33.4.89.06.34.99 tel:+44.117.370.6152), MoZ 15:04:06 Zakim, ??P35 is Vojtech 15:04:06 +Vojtech; got it 15:04:17 Zakim, who's on the phone? 15:04:17 On the phone I see Norm, Vojtech 15:04:29 +??P44 15:04:30 -??P44 15:04:30 +??P44 15:04:31 Zakim, ?? is me 15:04:31 +ruilopes; got it 15:04:43 +??P45 15:04:47 AndrewF has joined #xproc 15:04:51 Zakim, ??P45 is MoZ 15:04:52 +MoZ; got it 15:05:21 alexmilowski has joined #xproc 15:05:50 +??P49 15:06:00 zakim, ? is Andrew 15:06:00 +Andrew; got it 15:06:07 Zakim, who's on the phone? 15:06:07 On the phone I see Norm, Vojtech, ruilopes, MoZ, Andrew 15:06:32 +Alex_Milowski 15:06:34 Present: Norm, Vojtech, Rui, Mohamed, Andrew, Alex 15:06:56 Topic: Accept this agenda? 15:06:56 -> http://www.w3.org/XML/XProc/2008/07/17-agenda 15:07:04 Accepted. 15:07:18 Topic: Accept minutes from the previous meeting? 15:07:18 -> http://www.w3.org/XML/XProc/2008/07/03-minutes 15:07:26 Accepted. 15:07:37 Topic: Next meeting: telcon 24 July 2008? 15:07:46 Norm gives regrets, Henry has agreed to chair. 15:08:34 Topic: Open action items 15:08:42 Alex and Norm, get to work! 15:09:33 Topic: Concerns about unescape-markup 15:09:42 -> http://www.w3.org/mid/20080513130252.7EA8F393D5D@macpro.inf.ed.ac.uk 15:10:28 Norm summarizes Richard's mail. 15:10:53 Alex: The use case is things like RSS and things that have escaped markup in them. 15:11:31 Norm: I think we should say that the XML declaration if it appears is ignored, and any DOCTYPE declarations are ignored. 15:12:18 Alex: The algorithm that I use to do this that you wrap the text descendants in some kind of pseudo document element. 15:12:42 ...So you can just run it through a parser. 15:13:55 Norm: I don't care if we make it an error or if we ignore it, but I think we should be consistent. 15:14:34 Alex: We could add an option to specify "treat like document 15:14:43 Norm: Isn't that making things more complicated? 15:15:06 Alex: You could get escaped markup from http-requests. 15:15:09 Zakim, who's making noise? 15:15:12 Zakim, who is making noise? 15:15:20 Norm, listening for 10 seconds I heard sound from the following: 6 (91%), Vojtech (4%), Norm (15%), Alex_Milowski (42%) 15:15:29 Zakim, who's on the phone? 15:15:29 On the phone I see Norm, Vojtech, ruilopes, MoZ, Andrew, Alex_Milowski 15:15:31 MoZ, listening for 10 seconds I heard sound from the following: Vojtech (9%), Norm (5%), Alex_Milowski (50%) 15:15:38 Zakim, mute Vojtech 15:15:38 Vojtech should now be muted 15:15:47 Zakim, unmute Vojtech 15:15:48 Vojtech should no longer be muted 15:16:09 Alex: You might really, truely get an HTML document. 15:16:52 ...which would be escaped because text/html is not XML. 15:17:04 ...I think we should say look, either treat the text as a document or treat it as a text entity. 15:17:24 ...If you treat it as a document, then the default-namespace option is superflous. 15:17:37 ...But any doctype declaration should do the right thing. 15:18:06 Zakim, mute alex 15:18:06 Alex_Milowski should now be muted 15:18:10 Zakim, unmute alex 15:18:10 Alex_Milowski should no longer be muted 15:18:14 Zakim, mute norm 15:18:14 Norm should now be muted 15:18:18 Zakim, unmute norm 15:18:18 Norm should no longer be muted 15:19:09 Norm: SO your idea is make the user decide, and then the only thing that's difficult is a XML declaration at the top of something that you're not treating as a document. 15:21:10 Vojtech: Why can't we just do the opposite of escape markup, just make it an error if the unescaped isn't an XML document. 15:21:28 Alex: Because RSS often contains sibling escaped elements, not a valid document. 15:25:29 Alex: The example in p:unescape-markup is wrong, the description element can't have the declaratin. 15:25:32 s/ratin/ration/ 15:26:01 ACTION: Alex to fix the example in p:unescape-markup so the namespace declarations are percolated through 15:26:23 Norm: So I still see just two possibilities: add a new option, or declare that XML decls and DTDs are ignored. 15:26:48 Alex: What about the HTML case 15:27:03 Norm: You'd get the document, it just wouldn't be validated. 15:27:10 Alex: So no attribute defaulting? 15:27:39 Vojtech: I sort of don't like that there's no symmetry between escape-markup and unescape-markup. 15:27:49 ...In one we insert a wrapper, in the other we don't remove it. 15:28:42 Alex: They are symmetrical, escape-markup escapes the children. 15:29:50 Norm: Let's take this to email. We don't seem to be making any more progress today. 15:30:32 Vojtech: It seems to me that there are two cases. If you use escape markup, you'll never produce something that contains an XML decl or doctype. So the only problem is text that comes from the outside. 15:30:45 ...Maybe in that case we could provide an option to remove the containing element, so that we can handle doctypes or XML declarations. 15:31:13 Alex: I think that was my idea for a "treat as document" element. 15:31:49 Vojtech: So unescape-markup could remove the c:body wrapper and return the content. 15:33:45 Norm: Can we take this to email? 15:33:47 No objections 15:33:51 Topic: XQuery comments 15:34:17 Norm: Let's start with Andrew's comments first. 15:34:18 -> http://lists.w3.org/Archives/Public/public-xml-processing-model-comments/2008Jul/0000.html 15:34:43 Alex: I'm a little confused about invocation of XQuery and someone would want both a context node and a sequence of documents. 15:35:21 Norm: Yes, Andrew wants to be able to distinguish the source document from the default collection. 15:35:54 Alex: I don't understand from an XQuery context if it's comment to have a default collection and a context item? 15:37:24 ...In XSLT, we say that the first node in the sequence is the context node. 15:37:45 Norm: Let's try making that explicit in the XQuery step and be consistent. 15:38:14 Proposal: Make XQuery consistent with XSLT wrt context node and default collection 15:38:26 Accepted. 15:39:24 Alex: Can we do a simple one, let's just adopt his description fo static and dynamic context. 15:39:28 Norm: Don't we already? 15:39:33 Alex: No 15:40:24 Norm: Ok, right, we have it for XProc but not for XQuery. 15:40:30 Alex: We should do it for both XSLT and XQuery 15:40:33 Norm: Yes. 15:40:46 ACTION: Norm to update the XSLT and XQuery steps to include static and dynamic context information 15:41:44 Norm: Now let's look at making a reference to an XQuery file 15:42:21 -> http://lists.w3.org/Archives/Public/public-xml-processing-model-comments/2008Jul/0010.html 15:43:38 Norm: You can't load an external query now, which I think we need to fix. 15:43:40 http://lists.w3.org/Archives/Public/public-xml-processing-model-wg/2008Jul/0011.html 15:44:11 Alex: I could read it with http-request 15:45:23 Alex: You can do it with http-request, but input can't, and I don't see why. 15:47:01 Norm outlines his email 15:48:00 Alex: I can see two additions that would make this straightforward. We could make c:body the default wrapper. 15:48:16 ...And I think it would be appropriate to say that you can do the conversion to base64 instead. 15:49:01 Alex: Based on media-type, it should be able to do something better. 15:50:24 ...But a pipeline could still fail if it got back media types it couldn't process. 15:51:23 Mohamed: I'm opposed to changing p:document; I think we should do this with a step. 15:51:52 ...I think we need a different p:load that's able to do this. 15:53:06 Norm: What about putting something else in p:input as an alternative to p:document 15:53:12 Mohamed: That would be ok to me. 15:53:27 Alex: There are other things out there, there's SPARQL, etc. 15:54:09 Mohamed: We have the same issue for RELAX NG compact syntax, and other places. 15:54:46 Norm: We need uri and wrapper 15:54:54 Mohamed: I think you also need encoding 15:55:41 Norm: What about binary vs. text? 15:55:46 Alex: We already have this language in http-request. 15:55:56 Norm: Ok, I see what you mean. 15:57:11 Alex: Having an option to tweak the charsets would also be handy. 15:57:47 ...I think the default is, if it's not an XML media type, if it's not something you know is text, then you get base64. 15:58:07 ...And then we have to decide about attributes on the wrapper. 15:58:30 ...Basically, translation of the conversion we do on c:body, basically. 15:59:03 ACTION: Norm/Alex to write up a proposal to add this. 15:59:11 Topic: Any other business? 15:59:16 None heard. 15:59:20 Adjourned. 15:59:27 -Norm 15:59:28 -Vojtech 15:59:28 -Andrew 15:59:29 -ruilopes 15:59:29 -MoZ 15:59:31 -Alex_Milowski 15:59:31 XML_PMWG()11:00AM has ended 15:59:32 Attendees were Norm, Vojtech, ruilopes, MoZ, Andrew, Alex_Milowski 16:01:25 RRSAgent, set logs world-visible 16:01:29 RRSAgent, draft minutes 16:01:29 I have made the request to generate http://www.w3.org/2008/07/17-xproc-minutes.html Norm 17:24:21 Zakim has left #xproc 17:54:14 alexmilowski has joined #xproc