13:46:44 RRSAgent has joined #forms 13:46:44 logging to http://www.w3.org/2016/02/24-forms-irc 13:46:46 RRSAgent, make logs public 13:46:46 Zakim has joined #forms 13:46:48 Zakim, this will be 13:46:48 I don't understand 'this will be', trackbot 13:46:49 Meeting: XForms Users Community Group Teleconference 13:46:49 Date: 24 February 2016 13:47:29 Agenda: https://lists.w3.org/Archives/Public/public-xformsusers/2016Feb/0037 13:47:38 Steven has changed the topic to: Agenda: https://lists.w3.org/Archives/Public/public-xformsusers/2016Feb/0037 13:47:48 Chair: Steven 13:54:08 alain has joined #forms 13:56:26 ebruchez has joined #forms 14:00:56 Present: Steven, Alain, Erik 14:01:13 Present+Philip 14:02:31 Topic: New TR style 14:02:31 https://lists.w3.org/Archives/Public/spec-prod/2016JanMar/0036.html 14:02:31 https://w3c.github.io/tr-design/src/sample.html 14:02:51 Steven: THere is a new TR style, required from 1 March 14:02:58 ... so I will look into implementing it. 14:03:05 s/TH/Th 14:03:14 ACTION: Steven to implement new TR style 14:03:14 Created ACTION-2054 - Implement new tr style [on Steven Pemberton - due 2016-03-02]. 14:03:52 Topic: ACTION-2051 - Experiment with a type for non-space string, and 14:03:52 report back 14:03:52 http://www.w3.org/2016/02/17-forms-minutes.html#action02 14:04:08 Steven: THank you for doing that Alain (http://www.agencexml.com/direct/trimmed/typed-hello.xml) 14:04:15 s/TH/Th/ 14:04:22 Steven: What did it involve 14:04:27 Alain: Added a type 14:04:47 ... input field can be edited, but the instance value is not necessarily updated. 14:05:11 Steven: What did you have to change in the implementation? 14:05:25 Alain: I had to separate the inpur node and the instance value 14:05:31 ... look at the source 14:05:47 Steven: The implementation has to recognise the type specially? 14:05:50 Alain: Yes. 14:05:56 Erik: Who does the trimming? 14:06:13 Alain: It's in incremental mode 14:06:37 Erik: Yes, but at which point? 14:06:44 Alain: When refreshing. 14:07:58 ... it compares values after removing spaces. 14:08:24 Steven: SO a user couldnt add a type like this? 14:08:44 Alain: No, the implementation recognises the type. 14:10:16 Steven: So if you wanted a type to remove all spaces, and another type to reduce all spaces to single ones, you would have to introduce two more types and recognise them specially in the implementation 14:10:19 Alain: Yes. 14:11:46 Erik: When I type, something gets added to the data, and then I type a space, that gets written to the data, and on a refresh it gets trimmed? 14:11:48 Alain: Yes 14:12:39 Erik: The value for the output is trimmed on refresh, and the value of the input is not trimmed if it has focus? 14:13:30 Steven: So you have special knowledge on the input and output? 14:13:40 Alain: No, not on the output 14:14:14 Erik: If I tab out of the field? 14:14:33 Steven: Then the input value gets trimmed as well? 14:14:47 Alain: Yes. 14:15:01 Erik: We do it differently. 14:15:23 ... The value in the input gets written to the data, and gets trimmed at the next recalculate 14:15:39 ... On refresh, the control just gets the value. 14:15:59 ... Something special would need to be done to deal with incremental 14:16:49 Steven: Yoou said that you have a whitespace flag on the value? 14:17:02 xxf:whitespace="preserve | trim" 14:17:04 Erik: It's a new MIP 14:17:37 Steven: Is that better than a type? 14:17:39 Erik: Not sure. You can add this to any type. 14:18:18 ... for instance, an email type can have whitespace trim. 14:19:18 Steven: If it were a MIP, we could add other values, I'm thinking of a credit-card value, that would remove all spaces. 14:19:32 Erik: Normalise spaces would be another. 14:19:38 ... collapse spaces. 14:20:19 ... it is annoying that in 2016 there are still websites telling you not to type spaces. 14:21:07 ... there are other possible transformations, where whitespace is a subset, but an important one. 14:21:29 Alain: Phone numbers with dots and dashes, same problem. 14:22:42 Steven: I like the MIP solution, because you can apply it to any type. 14:23:00 ... would it be more difficult to do iit in your implementation Alain? 14:23:08 Alain: No. 14:23:20 Erik: You can actually see it as a calculation. 14:23:57 Alain: It's related to 'collations'. 14:24:56 ... for instance uppercase to lowercase. 14:25:09 s/iit/it/ 14:27:45 calculates="normalize-space()" 14:27:58 s/calculates/calculate 14:28:02 Steven: It could be done with a function that removes the spaces, and a calculate, with two values, one for input and one for output. 14:28:15 calculates="xxf:trim()" 14:28:22 s/calculates/calculate 14:28:26 14:28:54 14:29:08 14:29:15 14:29:27 Erik: Clearly. 14:29:40 ... but this would be heavy for a large form. 14:30:35 Steven: you were suggesting a calculate that calculates itself. 14:30:44 Erik: Yes. 14:30:58 ... but this has problems for incremental mode. 14:31:16 ... that's a drawback. 14:32:05 Steven: We don't have anything at present in XForms that does anything like that... 14:32:27 Erik: I don't think so; I use it in forms, though less now that we have the whitespace MIP. 14:32:57 Steven: Let's take a week to let this all sink in. 14:33:24 Alain: Yes. Though I think it may be a more general problem. 14:33:39 ... It's a two-way problem. 14:33:55 14:34:02 Erik: We have things like this in our implementation for dealing with the input/output differences 14:34:34 ... flexible, but you need to write the expressions every time 14:34:49 ... better really to have it at the model level. 14:35:21 Topic: ACTION-2053 - Work out how to replace link-exception 14:35:21 http://www.w3.org/2016/02/17-forms-minutes.html#action04 14:35:41 Steven: Erik, anything on this? 14:37:00 Erik: I sent an email: https://lists.w3.org/Archives/Public/public-xformsusers/2016Feb/0040.html 14:38:01 ... we can use the other exceptions as a model for how to solve it. Not difficult. 14:38:06 ... See mail. 14:42:41 Steven: Looks convincing, anyone got any problems with it? 14:42:45 Alain: No 14:42:48 Philip: No 14:43:04 ACTION: Erik to implement replace link-exception 14:43:04 Created ACTION-2055 - Implement replace link-exception [on Erik Bruchez - due 2016-03-02]. 14:43:47 Topic: AOB? 14:45:09 Steven: Organising XML Days in AMsterdam later in the year, sometime in the autumn. More details to follow. 14:45:30 [ADJOURN] 14:45:32 alain has left #forms 14:45:39 rrsagent, make minutes 14:45:39 I have made the request to generate http://www.w3.org/2016/02/24-forms-minutes.html Steven 16:28:46 Zakim has left #forms 16:45:11 ebruchez has joined #forms