07:50:50 RRSAgent has joined #forms 07:50:50 logging to http://www.w3.org/2010/11/01-forms-irc 07:50:56 rrsagent, make logs public 08:04:06 unl has joined #forms 08:04:33 zakim, code? 08:04:33 sorry, unl, I don't know what conference this is 08:05:04 Hi! 08:05:13 Godd morning! 08:05:16 Just working out which room this is for Zakim to phone it 08:05:22 s/Godd/Good/ 08:05:30 ok 08:06:08 zakim, room for 6 for 240 minutes? 08:06:12 ok, Steven; conference Team_(forms)08:06Z scheduled with code 26631 (CONF1) for 240 minutes until 1206Z 08:06:44 Steven has changed the topic to: Forms FtF@TPAC; code is CONF1 (26631) 08:08:40 Team_(forms)08:06Z has now started 08:08:47 +unl 08:10:08 klotz has joined #forms 08:11:01 +Leigh_Klotz 08:11:21 hi Leigh 08:11:29 Trying to work out how to dial out here 08:12:19 zakim, dial roserai2 08:12:19 I am sorry, Steven; I do not know a number for roserai2 08:12:32 zakim, dial roseraie2 08:12:32 I am sorry, Steven; I do not know a number for roseraie2 08:14:01 zakim, dial roseraie_2 08:14:01 ok, Steven; the call is being made 08:14:02 +Roseraie_2 08:17:16 zakim, who is on the phone? 08:17:17 On the phone I see unl, Leigh_Klotz, Roseraie_2 08:18:10 Present: Steven, Nick, Leigh, Unl 08:18:27 Observing: Jaehyuk Choi (LG Electronics) 08:19:40 New W3C member 08:19:53 Products using web tech 08:20:03 Not yet decided which groups to join 08:20:13 Observing today 08:21:21 http://www.w3.org/MarkUp/Forms/wiki/Category:XForms12 08:26:04 http://irc.w3.org/ 08:26:18 Jaehyuk has joined #forms 08:26:28 Lovely weather here 08:26:33 http://www.w3.org/MarkUp/Forms/wiki/Category:XForms12 08:27:36 Alain said he will be here around 10.30 08:27:50 Nick wants us t do XPath 2.0 tomorrow 08:28:29 Nick: We have finalised the UI for a new product, and we have custom components, but I owuld like to have Eric on the ca... I have more time for the WG from now on 08:28:48 s/ca.../call./ 08:29:43 Nick: Some 1.2 features are almost ready 08:29:47 ... Dialog 08:29:54 ... custom xpath functions 08:29:58 http://www.w3.org/MarkUp/Forms/wiki/Dialog 08:30:06 http://www.w3.org/MarkUp/Forms/wiki/Custom_XPath_functions 08:31:42 Topic: Producing the spec 08:31:43 http://www.w3.org/MarkUp/Forms/wiki/XForms_1.1_in_Wiki 08:33:52 Mediawiki says [[#See also]] 08:33:55 steven 08:34:46 http://www.mediawiki.org/wiki/Help:Links 08:35:01 08:35:35 08:36:04 http://www.w3.org/MarkUp/Forms/wiki/XForms_1.1_in_Wiki#1.2_Reading_the_Specification 08:36:41 http://www.w3.org/MarkUp/Forms/wiki/XForms_1.1_in_Wiki#3.2.1_Common_Attributes 08:36:47 08:43:11 E.g: http://www.mediawiki.org/wiki/Help:Editing_pages 08:44:02 http://www.mediawiki.org/wiki/Category:Navigation_extensions 08:44:09 some of them show promise. 08:44:22 also http://clc-wiki.net/wiki/Planning:Treeview_skin 08:44:38 "The skin adds the concept of "pseudo-namespaces" - termed "contexts" or "sub-contexts" - in wiki article titles using colons as separators, and creates a hierarchy out of them. It then displays that hierarchy as a treeview that replaces Monobook's native sidebar navigation pane." 08:50:03 http://www.w3.org/TR/2009/PR-owl2-profiles-20090922/ 09:03:13 http://www.w3.org/MarkUp/Forms/2010/revdoc/readme.txt 09:08:41 http://www.w3.org/MarkUp/Forms/2010/revdoc/ 09:08:45 Should be readable now 09:09:38 That is the code that translates wiki format to (X)HTML 09:11:10 MoZ has joined #forms 09:20:15 Present+MoZ 09:24:14 The tasks to be done: un-number the Wiki XForms spec (or edit the transform script) 09:24:27 get the transfor wiki-xhtml working 09:24:38 s/for/form/ 09:25:30 3) modularise the XForms 1.1 to get a proto XForms 1.2 09:29:48 -unl 09:29:53 -Leigh_Klotz 09:29:58 back in 20 09:30:06 Topic: Coffee 09:31:24 inputmode appendex starts with = 09:31:36 i mean starts with =inputmode 09:49:44 unl has joined #forms 09:54:16 +unl 09:56:16 +Leigh_Klotz 09:56:25 nick has joined #forms 09:59:40 Steven has joined #forms 09:59:50 i posted the update but internal links don't work. 09:59:54 http://html5demos.com/geo 10:00:42 zakim, who is onthe phone? 10:00:42 I don't understand your question, Steven. 10:00:50 zakim, who is on the phone? 10:00:50 On the phone I see Roseraie_2, unl, Leigh_Klotz 10:03:16 Present+Alain 10:04:43 http://www.w3.org/MarkUp/Forms/wiki/XForms_1.1_in_Wiki 10:05:15 alain has joined #forms 10:06:15 We can do in page links, but we get the "#" in the text 10:06:35 but that is not a particular problem, since we can get rid of them in the transform from wiki to html 10:08:54 Nick is installing Python now in order to try and run the transform code 10:22:28 http://www.w3.org/2007/OWL/wiki/Round_8 10:24:45 Peter has joined #forms 10:29:30 definition links (i.e., #form_control ) don't work. the table has no anchors. 10:30:09 the same for external references. 10:32:24 Topic: JSON 10:34:56 http://www.agencexml.com/jsoncallback/wikipediasearch.xml 10:35:30 nodeset="instance('iresults')/item[2]/item"> 10:37:01 Convert every JSON object to XML 10:38:03 Example of the JSON you get http://en.wikipedia.org/w/api.php?action=opensearch&format=json&search=saturn 10:40:42 http://lists.w3.org/Archives/Public/public-forms/2010Mar/att-0037/2010-03-26.html 10:42:59 The ideal solution would make the difference between JSON and XML opaque 10:47:03 For arrays, Alains uses extra elements 10:47:18 Nick: Picoforms just repeats the element 10:48:00 Alain: The problem is distinguishing empty arrays, one-element arrays in the general case 10:49:42 Steven: Serialization/round tripping means that we have to have a one-to-one mapping\ 10:50:41 Nick: In XML you would write a/f[1], but for the JSON version we would have to write a/f/item[1] 10:50:55 Alain: That's why I want to extend the XPath engine 10:51:54 Alain: Using the 'item' method, it was quick and easy, and no changes to Xpath 10:52:00 Steven: thanks 10:52:06 Nick: Downside is that the authoring is different 10:52:16 ... ought to be easier 10:54:49 Steven: If the serialization is the problem, couldn't we do: 10:55:07 ... 10:56:23 for the a/f[1] ase 10:57:36 there are conflicts in refs in the structures "mediatype" for example. 11:00:54 Now addressing the problem of different characters in json names, not allowed in XML, such as $foo 11:01:09 Alain: Maybe encode them in a standard way, base 64 or something 11:01:58 Alain: With shortcut such as a/json_el('$foo') 11:02:24 ... which would need XPath 2.0 11:02:54 Nick: That would be a nice shortcut for authoring 11:04:59 Nothing specific, I'm mostly being curious. Learning about subjects I'm currently not familiar with always is a good thing, and I figured reading the discussions at TPAC would give me insight in where XForms will be going 11:06:48 Steven: We could use a/*[json-name="$foo" 11:07:09 with an instance that looks like which works, requires no new function, works with XPath 1.0, and covers the corner cases 11:08:11 Nick: Also works with $foo and *foo in the same document 11:08:22 why not use mips? they're 100% not going to have a name conflict 11:08:30 Alain: Performance might be affected 11:08:48 SteveL But it is an edge case that won't arise often in parictise surely 11:09:36 explain Leigh? 11:09:46 s/SteveL/Steven/ 11:11:17 Leigh: unnamed arrays? 11:11:50 <_foo json-name='$foo'><_foo json-name='$foo' json-array='true'> 11:12:07 <_foo json-name='$foo'><_foo json-name='*foo' json-array='true'> 11:12:16 Nick: We identify three attributes - is it na array, is it anonymous, what is the json name 11:12:21 s/na/an/ 11:14:53 Leigh: The parser can record its own MIPS as it reads 11:15:15 Nick: Only problem is with selecting within XPath if those MIPS are hidden 11:16:28 Leigh: The advantage of the MIP over the attribute version is name clashes 11:16:51 Steven: But there are no attribute name clashes with a JSON instance, since there are no attributes in JSON 11:17:32 Steven: Certainly the MIP is good for the array problem 11:17:51 ... leaving the only problem with the odd characters in JSON names 11:18:39 path/to/jsonname('foo bar')/el[3] 11:19:11 path/to/*[jsonname('foo bar')]/el[3] 11:20:32 Nick: You could write: 11:20:47 .... ...... 11:21:10 ... s/bin/bind/ 11:21:55 ... json-array="true()" 11:22:03 i wasn't following the problem statement so I thought attribute name conflicts would be a problem; it's not clear to me that attributes + functions isn't a good enough solution. 11:22:48 Nick: And for the anon case use json-name="" 11:23:24 Nick: You only have to do this if you are creating the instance yourself 11:23:51 ... for the case of arrays with more than one element, the problem is not there 11:25:03 Steven: Where do we say what sort of serialization we have? 11:25:45 Steven: And I would like to generalise to other formats, eg http://tools.ietf.org/html/rfc5546 11:26:18 ... generalise="make sure it works in more cases than just JSON" 11:26:44 Alain: So we could use @fullname instead of @json-name 11:27:35 http://www.yaml.org/ 11:29:05 http://jsync.org/ - JSON+YAML 11:29:41 Steven: So you have the problenm of where you create the instance, of specifying the serialization used. Which means a new sattribute on 11:30:38 http://en.wikipedia.org/wiki/JSON#Windows_Registry_language_and_.ini_files 11:31:32 or submission/@serializer 11:31:33 Nick: In cases you may want to override the mometype, if it is wrong 11:32:39 you need to specify the serializer in addition to the mediatype, if there are different ways to serialize the same mediatype. 11:32:39 .... and you need it for serialization and for parsing 11:33:11 s/mometype/mimetype/ 11:34:28 Leigh: Do we need more than one JSON serialiser? 11:34:36 Steven: I believe we have covered all cases now 11:35:08 Leigh: The question is whether mime type is enough to identify the serialiser 11:36:13 Steven: The mime type should be enough; let us assume that for now until we find a counterexample 11:36:45 Nick: For VCARD support we don't need any extra attributes 11:40:07 Nick: Maybe extra formats should be separate specs 11:40:24 ... if they don't affect the definition of XFORMS 11:40:30 ... THEY WOULD BE LIGHT-WEIGHT 11:40:57 S/01THEY WOULD BE LIGHT-WEIGHT/they would be leight-weight/ 11:41:08 Steven: ANd we don't have to reissue XForms to allow for more formats 11:41:34 John_Boyer has joined #forms 11:41:35 Alain: And how about allowing JSON notation in the xforms instance 11:42:50 Nick writes: 11:43:03
a={ .... } 11:43:20
11:43:51 11:43:55 (or whatever) 11:44:09 Alain: or allow directly in instance element 11:44:12 zakim, code? 11:44:12 the conference code is 26631 (tel:+1.617.761.6200 tel:+33.4.26.46.79.03 tel:+44.203.318.0479), John_Boyer 11:44:28 Present+John_Boyer 11:45:14 rrsagent, make minutes 11:45:14 I have made the request to generate http://www.w3.org/2010/11/01-forms-minutes.html Steven 11:46:12 Meeting: Forms WG FtF, TPAC LYon, France, Day 1 11:46:16 +John_Boyer 11:46:21 Chair: Steven 'n'Leigh 11:46:33 rrsagent, make minutes 11:46:33 I have made the request to generate http://www.w3.org/2010/11/01-forms-minutes.html Steven 11:46:57 s/LY/Ly/ 11:47:34 q+ wiki 11:47:41 q-wiki 11:47:42 q+ 11:48:29 ack l 11:53:11 q- 11:56:30 Nick: Who owns this? 11:56:47 Steven: I had said I'd take it over, but I don't mind if someone else would rather own it 11:57:48 We will try to retunr in one hour for a 3 hour session 11:57:54 -Leigh_Klotz 11:58:13 -Roseraie_2 11:58:15 -John_Boyer 11:58:33 -unl 11:58:35 Team_(forms)08:06Z has ended 11:58:37 Attendees were unl, Leigh_Klotz, Roseraie_2, John_Boyer 11:58:46 zakim, room for 6 at 13z for 240 minutes? 11:58:46 I don't understand your question, Steven. 11:58:56 zakim, room for 6 at 1300z for 240 minutes? 11:58:59 ok, Steven; conference Team_(forms)13:00Z scheduled with code 26633 (CONF3) at 13:00z for 240 minutes until 1700Z 11:59:30 Steven has changed the topic to: Forms FtF@TPAC, code is CONF3 (26633) 12:15:16 unl has joined #forms 12:58:54 nick has joined #forms 12:59:49 Steven has joined #forms 13:00:11 John_Boyer has joined #forms 13:00:51 zakim, dial rosaraie_2 13:00:51 I am sorry, Steven; I do not know a number for rosaraie_2 13:00:59 zakim, dial roseraie_2 13:00:59 ok, Steven; the call is being made 13:01:00 Team_(forms)13:00Z has now started 13:01:01 +Roseraie_2 13:01:15 Jaehyuk has joined #forms 13:02:20 alain has joined #forms 13:02:39 unl has joined #forms 13:03:49 zakim, code? 13:03:50 the conference code is 26633 (tel:+1.617.761.6200 tel:+33.4.26.46.79.03 tel:+44.203.318.0479), John_Boyer 13:04:01 +John_Boyer 13:05:38 s/THEY WOULD BE LIGHT-WEIGHT/they would be leight-weight/ 13:05:38 +unl 13:06:04 scribe: Steven 13:07:40 http://www.w3.org/MarkUp/Forms/wiki/Category:XForms12 13:08:25 Topic: Transform 13:08:26 http://www.w3.org/MarkUp/Forms/wiki/Transform 13:08:46 Alain: I'm using the function approach successfully 13:09:15 Nick: I prefer the function approach 13:09:23 Alain: It is implemented in XSLTForms 13:09:49 ... we sorted out the problems for the dependencies 13:09:57 John: How does that work? 13:10:11 Alain: When a node changes, we consider all its ancestors changed 13:10:47 ... not that slow 13:10:55 ... even with heavy transforms 13:11:03 John: What is the function signature 13:11:11 s/signature/signature?/ 13:11:39 Nick: The function won't reevaluate if descendents change 13:11:48 s/ent/ant/ 13:12:22 Alain: It is the same for all functions 13:12:36 Nick: Will also work for the ID function 13:12:58 ... if you change a node, you walk up the ancestors and mark those 13:13:13 transform('my-stylesheet.xsl', instance()) 13:14:56 \steven: Same as we did on our Views system in the 80's 13:15:30 Nick: In your instance() example John, when anything in the instance changes, it will restart the transform 13:16:13 John: How about forms with elements and attributes 13:16:18 s/tes/tes?/ 13:16:32 10 13:17:37 John: Changing @currency means that price is marked? 13:17:39 Nick: Yes 13:17:51 John: I'm just watching for circular dependencies 13:18:24 Nick: There will be no value-changed event sent if the value doesn't change 13:19:08 13:19:21 13:19:31 13:22:30 John: We might have to change how 1.1 describes dependencies 13:25:05 Nick: we aren't adding extra dependencies 13:25:12 ... just simulating extra value changes 13:31:07 id('X') 13:31:26 id('X Y', instance('Z')) 13:31:30 a 13:32:07 http://www.w3.org/TR/xforms11/#fn-id 13:33:31 [Examples hows it works for 2 param version if id() as well] 13:33:42 s/s how/ show 13:34:15 Steven: Do we resolve to go wih the fucntional version? 13:34:22 of transform 13:34:41 John: What is the returned value? 13:34:46 Alain: Now it is a string 13:35:40 transform gens a string, which one could choose to parse with http://www.w3.org/MarkUp/Forms/wiki/Parse_Serialize_functions 13:37:21 use with output seems to need the string version of transform 13:38:20 Nick: The best result would be a sequence, for XPath 2.0 13:38:42 ... 13:38:47 What should this do? 13:39:13 Nick: The transform function says what the output is, text or XML 13:39:25 ... so Ideal is to keep that possibility 13:39:39 ... otherwise you have to do the parse again 13:39:59 ... but an XPath 1.0 would always return the string 13:40:27 XPath 1.0 could retjurn an "object" 13:40:34 which could be a string or nodeset 13:41:07 (or number or boolean, but the main idea is that xpath 1.0 could also support an ambiguous return type) 13:41:31 Alain: with submission you want the result to be serialised 13:41:49 ... transforming the serialisation, and then reserialising it is silly 13:42:01 ... I would to have to find a trick to avoid this 13:43:07 Steven: Can we decide to go with the functional version? 13:43:19 Nick: John had the problems with htat approach 13:43:42 John: We've dealt with the update problems. What about in a UI binding? 13:45:59 Nick: We could disallow it there 13:46:26 John: We might be able to find a solution to the UI bindings 13:46:53 Maybe there are no problems with Nick: We could regard a UI binding as creating new nodes 13:48:38 13:48:54 John: You would lose everything s the transform gets reevaluated 13:49:42 s/ s / if/ 13:49:58 s/if/if / 13:50:02 maybe it's just "don't do *that*"? 13:50:17 Nick: You would lost the repeat-index 13:50:21 .... as well 13:50:28 s/lost/lose/ 13:51:16 John: Using repeat to iterate over a transform would be a bad idea. Better to save the transform in an instance and use that 13:52:19 repeat containing outputs would be neat, though, just to *show* a table of data 13:52:51 though, repeat is itself a mini-transform 13:53:17 Alain: Disable delete buttons 13:53:41 Nick: But the result of a transform would be readonly so the delete buttonjs would be styled as readonly 13:54:28 Nick: Does readonly work the same as relevance? 13:54:47 \john\; yes 13:55:09 s/relevance?/ how it works on group/ 13:55:31 s/\\;/:/ 13:55:35 rrsagent, make minutes 13:55:35 I have made the request to generate http://www.w3.org/2010/11/01-forms-minutes.html Steven 13:56:07 s/\;/:/ 13:56:10 rrsagent, make minutes 13:56:10 I have made the request to generate http://www.w3.org/2010/11/01-forms-minutes.html Steven 13:56:38 13:56:40 s/\john\;/John: / 13:56:42 rrsagent, make minutes 13:56:42 I have made the request to generate http://www.w3.org/2010/11/01-forms-minutes.html Steven 13:57:20 Nick: You'd be Bad if you did that 13:59:04 What about seems it is insufficient to restrict tranform() from being used in nodeset bindings only; seems better to just say result nodes are readonly 14:00:20 http://www.w3.org/MarkUp/Forms/wiki/Nodeset 14:01:42 John: Making them readonly sounds the best 14:02:07 ... does that also work for all other node creation functions we've been talking about? 14:02:12 Nick: Sounds right 14:02:23 John: parse() and create() are the only other two 14:02:44 ... what are the usecases for parse() 14:02:53 Nick: functions that return strings 14:03:04 s/()/()?/ 14:03:16 John: Oh yes, to use as the @origin of insert 14:03:31 ... so that works 14:03:42 John: and the create() function 14:03:49 Nick: Also for insert 14:04:10 John: OK, also for @origin. Cool 14:04:42 ... so we can conclude that node creation functions should mark the result as readonly 14:05:17 ... and when a node changes we need to mark the ancestors as changed as well 14:05:30 Steven: I prefer 'dirty' to changed 14:05:34 John: R|ight 14:05:41 s/|// 14:06:05 Steven: Changed implies value-changed to me 14:06:09 John: Looks good 14:06:31 Topic: Coffee 14:07:27 RESOLVED: Use the function version of transform 14:08:01 -unl 14:18:07 yes 14:30:20 Nick: We may need to add to the spec that functions with an optional last parameter, when the last param is missed, you use the current context, which becomes an implicit dependency 14:30:30 Alain: Implementation issue 14:30:37 Nick: Make it explicit at least 14:31:16 In http://www.w3.org/TR/xforms11/#expr-dependencies, we say that a reference happens when a node is selected by matching a node test or when returned by a function call. Looks like not just an implementation issue 14:31:33 Alain: To go back to transform(), I was considering inline stylesheets for small transformations 14:31:40 http://www.w3.org/MarkUp/Forms/wiki/Transform 14:33:11 Alain: depending on the first paramater - a string a URI, a node a stylesheet 14:34:15 #my-stylesheet 14:35:02 transform('#my-stylesheet', instance()) 14:35:38 Nick: That is in the base document 14:35:54 John: Instance data is in a separate document 14:37:01 ... ... something that changes 14:37:38 Nick: That would give the original instance 14:37:49 from the source document, not from the live instance data 14:38:22