14:53:35 RRSAgent has joined #forms 14:53:35 logging to https://www.w3.org/2022/01/21-forms-irc 14:53:37 RRSAgent, make logs public 14:53:37 Zakim has joined #forms 14:53:39 Meeting: XForms Users Community Group Teleconference 14:53:39 Date: 21 January 2022 14:56:30 Agenda: https://lists.w3.org/Archives/Public/public-xformsusers/2022Jan/0010 14:57:06 ebruchez has joined #forms 15:01:09 Alain has joined #forms 15:03:37 Topic: ACTION-2309: Research xpath3 function definitions (Erik) 15:03:55 https://lists.w3.org/Archives/Public/public-xformsusers/2022Jan/0011 15:04:42 Erik: Erik: Could we use XQuery function definition? (XPath doesn't have a syntact for it) 15:04:59 s/Erik: Erik:/Erik:/ 15:05:34 ... In XForms we can declare a function with a signature using XPath/XQuery syntax 15:05:47 ... and the body inside the element 15:06:09 ... with an extension because XPath2 doesn't have variables 15:06:23 ... XPath 3 has 15:06:40 ... so we define variables local to the function. 15:07:00 ... This compatible with XPath 1 and 2. Unneeded for XPath 3 15:07:15 ... because XPath 3 supports it natively 15:07:45 ... If qw use the XQuery syntac, we would still have to have an enclosing element 15:07:58 s/qw/we/ 15:08:43 ... So I think it might not give us much 15:09:30 ... but since we want to support other expression languages, I don't think it gives us much. 15:10:10 ... We would lose the ability to support functions properly in earlier versions of XPath 15:10:45 Alain: I don't have a strong opinion either. 15:11:00 ... I'd like more time to think about it. 15:11:20 Steven: We'll leave it at that now, and come back in the near future. 15:11:32 Topic: ACTION-2312: Devise text for submission using @value (Steven) 15:11:32 https://www.w3.org/2022/01/14-forms-minutes.html#t04 15:11:40 Steven: No progress this week. 15:11:50 Topic: Detecting/Ignoring unsaved data 15:11:50 https://lists.w3.org/Archives/Public/public-xformsusers/2022Jan/0008 15:12:24 Alain: I was wondering how to do this. 15:13:04 ... maybe if the data has been submitted, maybe it's OK. 15:14:47 Alain: We have "Model-destruct" but we can't cancel it. 15:15:02 Erik: We do this at a higher level that we have 15:15:30 ... we track the data status. Use events on the main instance. 15:16:07 ... we also have auto-save 15:16:45 ... browsers have b/f caches 15:17:06 ... you register a handler when the data is dirty 15:19:05 Steven: We either need something better than model-destruct, or redefine model-destruct 15:19:32 Erik: We get one xforms-ready per model 15:19:44 ... in JS that is before-unload 15:20:30 ... which is not that useful. 15:21:52 Steven: If we defined xforms-done, could we do anything? 15:23:51 Alain: Existing webpages just cancel the exit action 15:24:23 Erik: We do this, I need to look it up 15:27:22 Steven: If the processor was listening for the exit event, and then dispatches an XForms-done event; if that is cancelled then the processor doesn't do the exit. Wouldn;t that be enough? 15:27:34 ... The XForms can deal with messages. 15:27:49 s/;/'/ 15:27:58 [Erik looks at his code] 15:28:12 Erik: THe code is simple. 15:28:17 s/TH/Th/ 15:29:12 Erik: No prevent default; you register and deregister the handler. 15:29:54 ... I'm not convinced using XForms events would work well 15:33:08 Steven: According to the spec it looks like we can use AVTs in event attributes. 15:33:51 ... so that would work. 15:34:44 Erik: I'm not sure if it would be possible to support though. 15:35:30 Steven: In brief -- needss more thought. 15:35:35 s/ss/s/ 15:36:11 Erik: We could define actions that reports to the processor that it shouldn't automatically exit 15:37:00 Alain: We don't have an isdirty function. 15:38:10 Steven: It's quite simple to do yourself. I have a tutorial somewhere 15:38:35 Alain: It's less declarative 15:39:03 Erik: You could add a function that tells you whether a ref is dirty or not. 15:39:32 Steven: You sould also need a function to clear the dirty bit. 15:39:41 s/sould/would/ 15:40:50 ACTION: Steven research the alternatives for 'dirty' data, and produce code in all of them for comparison 15:40:54 Created ACTION-2313 - Research the alternatives for 'dirty' data, and produce code in all of them for comparison [on Steven Pemberton - due 2022-01-28]. 15:41:03 rrsagent, make minutes 15:41:03 I have made the request to generate https://www.w3.org/2022/01/21-forms-minutes.html Steven 15:41:32 Topic: Timescale Plans 15:41:32 https://lists.w3.org/Archives/Public/public-xformsusers/2022Jan/att-0004/2022-plans 15:42:14 Steven: ANything you would particularly like to comment on? 15:42:19 Erik: Need more time. 15:42:25 s/AN/ 15:42:39 s/ything/Anything 15:43:13 Steven: Next week on the agenda specifically and mirroring. 15:43:22 Topic: AOB 15:43:34 [None] 15:43:39 [ADJOURN] 15:43:45 Present: Alain, Erik, Steven 15:43:54 rrsagent, make minutes 15:43:54 I have made the request to generate https://www.w3.org/2022/01/21-forms-minutes.html Steven 15:44:42 Chair: Steven 15:44:44 rrsagent, make minutes 15:44:44 I have made the request to generate https://www.w3.org/2022/01/21-forms-minutes.html Steven