15:00:26 RRSAgent has joined #forms 15:00:26 logging to http://www.w3.org/2013/07/03-forms-irc 15:00:28 RRSAgent, make logs public 15:00:29 Zakim has joined #forms 15:00:30 Zakim, this will be IA_XForms 15:00:30 ok, trackbot; I see IA_XForms()11:00AM scheduled to start now 15:00:31 Meeting: Forms Working Group Teleconference 15:00:31 Date: 03 July 2013 15:00:52 Agenda: http://lists.w3.org/Archives/Public/public-forms/2013Jul/0007.html 15:01:01 Steven_ has changed the topic to: Agenda: http://lists.w3.org/Archives/Public/public-forms/2013Jul/0007 15:01:10 Regrets: Philip 15:01:46 IA_XForms()11:00AM has now started 15:01:53 +??P6 15:01:58 zakim, I am ? 15:01:58 +Steven_; got it 15:03:50 +ebruchez 15:07:49 zakim, code 15:07:49 zakim, code? 15:07:49 I don't understand 'code', nvdbleek 15:07:51 the conference code is 93676 (tel:+1.617.761.6200 sip:zakim@voip.w3.org), nvdbleek 15:08:27 +nvdbleek 15:13:04 Topic: Coming calls 15:13:49 Steven: I'm on holiday from next week, until the 24tgh 15:14:00 ... I anticipate being on the call of the 24th 15:14:06 s/tgh/th/ 15:18:28 http://www.w3.org/MarkUp/Forms/wiki/XPath_Expressions_Module#The_relevant.28.29_Function 15:18:55 Topic: ACTION-1933 - Suggest spec text for MIP functions 15:18:55 http://lists.w3.org/Archives/Public/public-forms/2013Jul/0002.html 15:19:10 Erik: I had questions about the relevant and valid functions 15:20:03 "1. What should the default return values be when there are no selected items?" 15:22:45 ... what to do if the set is empty? Scala does TRUE 15:22:57 scala> Seq[Int]() forall (_ < 10) 15:22:58 res3: Boolean = true 15:23:01 Steven: My rule of thumb is TRUE for AND, and FALSE for OR 15:23:44 scala> Seq[Int]() exists (_ < 10) 15:23:45 res4: Boolean = false 15:25:18 Steven: In Maths, ∀ (for all) is a logical AND and the empty version returns true, while ∃ is a logical OR and returns FALSE for an empty set 15:26:22 ... I think we should use that rule 15:26:55 Erik: the idea of validity, the tree is valid if all nodes are valid, so it is an AND, so the default is true. 15:27:30 ... for relevance, I think the idea is the same, if any node is nonrelevant, then so the whole tree 15:27:36 ... how about readonly? 15:29:02 Nick: We have to be careful, because of the default for nodes 15:29:43 Erik: So readonly is OR. So default would be false. 15:30:31 http://www.w3.org/TR/xforms20/#Model_Item_Property_Definitions 15:31:43 Steven: That table "all" means the default would be TRUE and "one" would mean the default would be FALSE 15:32:03 Erik: I think we can apply this logic to the functions 15:32:35 ... OK, so I will modify the definitions to reflect this 15:33:15 Erik: Question 2: 2. valid() and attributes 15:34:19 10.42 15:34:19 15:34:19 15:34:19 => valid(price) returns false() 15:34:34 Erik: Is this OK? 15:34:40 Steven: I think it is reasonable 15:35:03 Erik: We have a function that takes an extra flag 15:35:29 Steven: You can use an XPath function to get just the element value if that's what you mean. 15:35:55 ... I think we should take attributes into account 15:36:41 Nick: If a node is not readonly, but has an attribute that is readonly, you can still change the node 15:37:07 Steven: That is consistent I think 15:37:36 ... because readonly is an OR 15:38:12 Nick: And that treatment of valid is consistent with how submission works 15:38:16 "Inheritance Rules: If any ancestor node evaluates to true, this value is treated as true. Otherwise, the local value is used." 15:38:17 Erik: Right 15:38:51 ... both are recursive, and we have a consistent approach 15:39:24 Erik: SO how do we ignore the validity of the attribute? 15:39:29 s/SO/So/ 15:40:25 Steven: valid(price::text()) 15:41:32 ... or valid(price/text()) 15:41:41 Note: The simpleContent binding restriction is intended to allow controls to bind to attribute and element nodes. This specification does not prevent binding controls directly to text nodes, however doing so can yield undesirable behavior, such as a form control becoming non-relevant if a user enters empty data. This specification also does not prevent implementers supporting binding controls directly to comment or processing instruction nodes, however the 15:41:42 resulting behavior is implementation-dependent and may also yield undesirable behavior. 15:41:57 Erik: Wouldn't work 15:44:50 Steven: Is there a real use-case? bar10.42 15:45:09 ... you wouldn;t want to deal with the special case here. 15:45:19 s/;/'/ 15:45:57 Erik: True, but we discourage binding to complex values 15:46:14 ... there may even be an exception 15:46:31 "Element nodes: If element child nodes are present, then an xforms-binding-exception occurs" 15:46:42 Steven: Ah, yes 15:48:46 Steven: In a case like this: 10 15:49:28 ... if you said that @valuta could only be gbp usd and eur, then a value of "bar" would make the price invalid 15:50:30 ... I'd like a use-case of where the attribute is irrelevant to the validatty 15:51:02 Erik: In XForms, a control can still be valid if an attribute is invalid 15:51:24 ... so we do have an independent validity property 15:52:09 ... but on the other hand submission does check all the subtrees. 15:52:25 ... So finding a consistent position here is tricky. 15:53:15 ... So a parameter may be the solution here. In the normal case you reciurse, and in the special case you don't. 15:53:20 s/iu/u/ 15:53:33 xf:valid() as xs:boolean 15:53:34 xf:valid($items as item()*) as xs:boolean 15:53:34 xf:valid($items as item()*, $relevant as xs:boolean) as xs:boolean 15:53:58 xf:valid($items as item()*, $relevant as xs:boolean, $recurse as xs:boolean) as xs:boolean 15:54:36 Erik: That would be a possibility then 15:54:55 Steven: Well, shall we go with that then? 15:57:07 s/gbp/gbp,/ 15:58:09 Topic: AOB 15:58:17 vedransisic has joined #forms 15:58:37 vedransisic has left #forms 15:58:41 Action: Erik to add the bind() function 15:58:41 (http://www.w3.org/MarkUp/Forms/wiki/Bind_function) to XForms 2.0. 15:58:41 Created ACTION-1954 - Add the bind() function [on Erik Bruchez - due 2013-07-10]. 15:59:28 Topic: Timeline 15:59:39 Erik: Progress is slow because we all have little time 15:59:50 Nick: I'm finishing dialog 16:00:41 Nick: I'll organise the calls in the next two weeks 16:00:46 ... we don't have many open items 16:01:50 [ADJOURN] 16:01:52 -nvdbleek 16:01:54 -Steven_ 16:01:57 -ebruchez 16:01:58 IA_XForms()11:00AM has ended 16:01:58 Attendees were Steven_, ebruchez, nvdbleek 16:02:05 rrsagent, make minutes 16:02:05 I have made the request to generate http://www.w3.org/2013/07/03-forms-minutes.html Steven_ 16:02:29 Chair: Steven 16:02:33 rrsagent, make minutes 16:02:33 I have made the request to generate http://www.w3.org/2013/07/03-forms-minutes.html Steven_ 16:17:57 vedransisic_ has joined #forms 16:18:04 vedransisic_ has left #forms 16:56:15 ebruchez has joined #forms 17:15:21 Zakim has left #forms