15:03:01 RRSAgent has joined #forms 15:03:01 logging to http://www.w3.org/2012/05/09-forms-irc 15:03:03 RRSAgent, make logs public 15:03:03 Zakim has joined #forms 15:03:05 Zakim, this will be IA_XForms 15:03:05 ok, trackbot, I see IA_XForms()11:00AM already started 15:03:06 Meeting: Forms Working Group Teleconference 15:03:06 Date: 09 May 2012 15:03:15 zakim, code? 15:03:15 the conference code is 93676 (tel:+1.617.761.6200 sip:zakim@voip.w3.org), nvdbleek 15:03:47 +nvdbleek 15:03:57 zakim, who is here 15:03:57 nvdbleek, you need to end that query with '?' 15:04:06 zakim, who is here? 15:04:06 On the phone I see pfennell, nvdbleek 15:04:08 On IRC I see RRSAgent, nvdbleek, alain, pfennell, trackbot 15:05:01 -nvdbleek 15:05:03 +??P28 15:05:27 Zakim, I am ??P28 15:05:27 +alain; got it 15:05:28 +nvdbleek 15:07:17 Chair: Philip 15:07:50 Agenda: http://lists.w3.org/Archives/Public/public-forms/2012May/0001.html 15:08:19 Meeting: Forms Working Group Teleconference 15:08:46 Regrets: Steven 15:08:55 ebruchez has joined #forms 15:09:07 Date: 09 May 2012 15:09:39 +ebruchez 15:11:36 scribe:nick 15:11:46 scribenick:nvdbleek 15:15:13 TOPIC: XForms Users Community Group 15:16:09 ebruchez: Leigh was going to start a discussion about Goals and transfer the needed documents to the community 15:17:40 http://lists.w3.org/Archives/Public/public-xformsusers/2012Apr/0010.html 15:18:15 TOPIC: XPath 2.0: on bindings to atomic values and the result of the 15:18:15 element()/attribute() functions 15:18:32 nvdbleek: we discussed this in a previous call 15:19:05 ebruchez: We had one open question about what to do when you bind to a node that doesn't belongs to an instance 15:19:25 ebruchez: I will lookup the minutes 15:20:05 http://www.w3.org/2012/04/04-forms-minutes.html#item04 15:21:36 15:21:41 pfennell: how can you bind to node that doesn't belongs to an instance? 15:21:59 ebruchez: By using for example: 15:22:37 ebruchez: There are other possibilities the transform function, the document function 15:22:49 alain: event() 15:23:03 ebruchez: not sure about the event() 15:23:57 ebruchez: one issue is that the control will loose its value when the binding is re-evaluated 15:24:42 ebruchez: A proposal was to make the controls read-only when a control is bound to a node if not in the instance 15:25:13 ebruchez: we need to answer what the element() returns, is it a mutable node? 15:25:15 15:25:19 response-headers http://www.w3.org/TR/xforms11/#submit-evt-submit-done 15:25:41 15:27:26 ebruchez: A frequent use case is that the instance doesn't has all elements and attributes, therefore we added the element() and attribute() function 15:28:16 ebruchez: for atomic values it is clear that it is read-only because you can't write to it 15:28:53 ebruchez: last week we had the discussion to binding to text(), comments() and pi nodes 15:30:45 nvdbleek: in my proposal the result of element() is in-mutable so the setvalue action wouldn't update it 15:31:17 ebruchez: you may want to prepare the tree before inserting 15:32:59 nvdbleek: I think we need to be careful that we make it interoperable when we allow changing elements that don't belong to the instance 15:34:37 nvdbleek: we already have a check for the mutation actions that they aren't read-only (it is just another way of read-onlyness) 15:36:29 ebruchez: we are currently creating a lot of transient instances, and if you aren't able to create a mutable sub-tree in an action 15:39:10 nvdbleek: I think if we make the trees mutable we have to specify carefully to say what happens, otherwise it would be not iterropable between implementations 15:39:47 ebruchez: I think we just add a note that you shouldn't bind controls to non-instance-nodes, and that it will behave 'strange' 15:40:53 pfennell: how would you be able to add MIPS to nodes that don't belong to an instance 15:41:34 ebruchez: The functions are meant to use in actions, when the nodes are inserted in an instance, they become mutable. 15:42:09 ebruchez: you won't be able to bind to them 15:44:13 http://www.w3.org/MarkUp/Forms/wiki/XPath_Expressions_Module#The_valid.28.29_Function 15:44:17 nvdbleek: I'm a bit scared that someone will create a top level variable that uses the element() and in some implementation it won't never be re-evaluated and in other implementations it would be at every refresh 15:44:40 "If the function is used in a model binding expression the XForms Processor should terminate processing after dispatching the event xforms-binding-exception to the model" 15:45:26 ebruchez: We could restrict where the element() is used 15:45:37 ebruchez: it may result in an exception 15:46:37 ebruchez: It will result in an exception in any binding expressions 15:46:53 ebruchez: everywhere outside an action 15:47:49 Sorry about that, I'm back now. 15:47:57 ebruchez: what if you are only using it in a transient way inside an expression 15:51:33 I would be fine if: 15:51:54 1. element() and attribute() return mutable nodes 15:52:09 2. this implies you can set value/insert/delete 15:52:44 3. field of use for the function would be limited to actions (i.e. prevented in bindings etc.), like the valid() function 15:55:09 nvdbleek: you can declare a variable and use the variable later in a UI control 15:55:39 nvdbleek: using this schema you can use the element() indirectly 15:55:59 ebruchez: we could exclude it everywhere outside an action 15:56:11 pfennell: what is the scoping of variable 15:57:00 ebruchez: in XForms 2.0 it is lexical scoped, in our implementation if you add a variable to a model, you can use the variable if it is in the current model 15:59:24 rrsagent, make minutes 15:59:24 I have made the request to generate http://www.w3.org/2012/05/09-forms-minutes.html nvdbleek 15:59:25 rrsagent, bye 15:59:25 I see no action items