15:59:00 RRSAgent has joined #forms 15:59:00 logging to http://www.w3.org/2013/02/20-forms-irc 15:59:02 RRSAgent, make logs public 15:59:02 Zakim has joined #forms 15:59:04 Zakim, this will be IA_XForms 15:59:04 ok, trackbot; I see IA_XForms()11:00AM scheduled to start in 1 minute 15:59:05 Meeting: Forms Working Group Teleconference 15:59:05 Date: 20 February 2013 15:59:58 Agenda: http://lists.w3.org/Archives/Public/public-forms/2013Feb/0027.html 16:00:07 Chair: nvdbleek 16:00:26 Regrets: Steven, uli 16:00:49 Regrets: +Philip 16:00:55 ebruchez has joined #forms 16:01:08 s/Philip/Phillip/ 16:01:12 alain has joined #forms 16:01:45 IA_XForms()11:00AM has now started 16:01:50 +ebruchez 16:01:56 zakim, code? 16:01:56 the conference code is 93676 (tel:+1.617.761.6200 sip:zakim@voip.w3.org), nvdbleek 16:02:49 +nvdbleek 16:03:09 zakim, who is on the phone 16:03:09 I don't understand 'who is on the phone', nvdbleek 16:03:17 zakim, who is on the phone? 16:03:17 On the phone I see ebruchez, nvdbleek 16:03:19 +[IPcaller] 16:03:35 Zakim, I am [IPcaller] 16:03:35 ok, alain, I now associate you with [IPcaller] 16:03:38 scribe: nvdbleek 16:03:57 Topic: ACTION-1931: Propose text for @accept on upload 16:04:05 http://lists.w3.org/Archives/Public/public-forms/2013Feb/0025.html 16:05:41 alain: It is not a problem for me that it is called accept, I even prefer it 16:06:31 nvdbleek: I think we can keep it in the spec 16:07:11 nvdbleek: On the previous call everybody aggreed, and now we have an extra implementer that agrees so we can make a resolution 16:07:33 RESOLUTION: We will change the medatype attribute on upload to accept 16:08:06 ACTION: nvdbleek to update the XML and relax-ng schema (change mediatype to accept on upload) 16:08:07 Created ACTION-1934 - Update the XML and relax-ng schema (change mediatype to accept on upload) [on Nick Van Den Bleeken - due 2013-02-27]. 16:08:34 Topic: The function Element 16:08:35 http://lists.w3.org/Archives/Public/public-forms/2013Jan/0028.html 16:09:01 ebruchez: i've been back and forth on this 16:10:24 ebruchez: We need this for XPath 1.0 and 2.0 but in XPath 3.0 you can assign functions to a variable but not named functions 16:10:53 ebruchez: If we would have XPath 3.0+ or XQuery then the function element wasn't needed 16:11:20 let foo := function() { …. } 16:11:30 s/function/function0 16:12:30 nvdbleek: I think we need it because you can't define named functions in Xpath 3.0 and we don't support to add variables in the model, so you can't refer to the function variables globally 16:13:43 ebruchez: Does Better Forms support adding functions in the form 16:13:57 nvdbleek: They only support adding custom function in java 16:14:15 ebruchez: What about XSLTForms does it supports adding function in javascript 16:14:20 alain: yes 16:14:55 nvdbleek: Are we going to do anything about it 16:15:57 ebruchez: Functions are needed, and XSLT did it already, but now wondering about it because XPath has now native functions 16:16:50 ebruchez: we can go one way or the other. The feature is not looking forward... 16:18:00 nvdbleek: In Xpath 3.0 you don't have custom named functions 16:18:22 ebruchez: It is a bit strange that they aren't in XPath but are in XQuery 16:18:52 ebruchez: You want XQuery and XQuery update facility in XForms 16:19:28 ebruchez: It would be ideal that XForms could say that XForms 2.0 supports XQuery 3.0 16:20:20 nvdbleek: I think that XQuery 3.0 support is currently only feasible for server side implementations 16:21:00 ebruchez: If we support the function element, we want to support variables? because Xpath 3.0 is introducing variables 16:22:31 nvdbleek: I think we should support variables in functions because we only explicitly support XPath 1.0 and 2.0 and you want to use variables to simplify XPath expressions 16:24:08 ebruchez: If prefer a simplified syntax so you don't need elements as children (without variable support) 16:24:53 nvdbleek: So you don't need variables 16:25:45 nvdbleek: do you want to drop variable support, or do you want to different syntaxes 16:25:48 $i + $j 16:27:27 nvdbleek: What if we support $n $foo 16:28:29 nvdbleek: typically you won't simply return $foo but do a calculation on it 16:28:44 the result will be the sequence ($n, $foo) in this example 16:29:26 http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_function_Element 16:31:41 16:31:59 16:32:22 ($f, $g) 16:32:56 $f 16:33:05 16:33:27 16:34:38 nvdbleek: The last sytax looks fine for me, and also support only text content if you don't need variables 16:35:02 nvdbleek: in Xpath 3.0 you don't have to use the var element because they have let 16:35:49 ACTION: Erik to send an e-mail proposing a lighter syntax for the function element 16:35:49 Created ACTION-1935 - Send an e-mail proposing a lighter syntax for the function element [on Erik Bruchez - due 2013-02-27]. 16:37:07 nvdbleek: if we are only allowing to define functions using XPath do we need the script element 16:37:20 ebruchez: I don't think we need 16:38:23 nvdbleek: As it is written I think you can also use it as an action, and that is already implemented by a lot of implementations 16:39:03 16:39:03 ebruchez: We can put javascript and xpath expressions in the script element 16:39:48 ebruchez: We realised that we can use the action element, because it is just switching the language from xforms, to xpath or javascript 16:40:27 nvdbleek: Is it used to call functions with side efects 16:40:32 ebruchez: Yes 16:41:19 16:41:19 controlOps:setControlHelp($local/control-name, $local/help), 16:41:20 controlOps:setControlAlert($local/control-name, $local/alert) 16:41:21 16:41:45 ebruchez: It is calling native java functions 16:42:04 s/It is calling native java functions/The above sample is calling native java functions/ 16:42:10 https://gist.github.com/ebruchez/4996935 16:42:51 ebruchez: I don't know if Xpath is a good language for this 16:43:17 ebruchez: XQuery would be possibly better to be used as a script language 16:43:54 ebruchez: It is using XPath as scripting language 16:43:54 http://www.w3.org/TR/xquery-sx-10/ 16:44:37 ebruchez: Don't know if they are going to finish XQuery Scripting Extension 16:48:26 -nvdbleek 16:48:33 -ebruchez 16:48:36 -[IPcaller] 16:48:37 IA_XForms()11:00AM has ended 16:48:37 Attendees were ebruchez, nvdbleek, [IPcaller] 16:48:44 trackbot, end meeting 16:48:44 Zakim, list attendees 16:48:44 sorry, trackbot, I don't know what conference this is 16:48:52 RRSAgent, please draft minutes 16:48:52 I have made the request to generate http://www.w3.org/2013/02/20-forms-minutes.html trackbot 16:48:53 RRSAgent, bye 16:48:53 I see 2 open action items saved in http://www.w3.org/2013/02/20-forms-actions.rdf : 16:48:53 ACTION: nvdbleek to update the XML and relax-ng schema (change mediatype to accept on upload) [1] 16:48:53 recorded in http://www.w3.org/2013/02/20-forms-irc#T16-08-06 16:48:53 ACTION: Erik to send an e-mail proposing a lighter syntax for the function element [2] 16:48:53 recorded in http://www.w3.org/2013/02/20-forms-irc#T16-35-49