W3C home > Mailing lists > Public > www-forms@w3.org > September 2005

RE: src instance attribute processing

From: Rafael Benito <rbenito@satec.es>
Date: Thu, 1 Sep 2005 09:54:35 +0200
To: "'John Boyer'" <boyerj@ca.ibm.com>
Cc: <www-forms@w3.org>, <www-forms-request@w3.org>
Message-ID: <E1EAjuM-000551-8R@lisa.w3.org>
My comments between lines

  _____  

De: John Boyer [mailto:boyerj@ca.ibm.com] 
Enviado el: miércoles, 31 de agosto de 2005 19:25
Para: Rafael Benito
CC: www-forms@w3.org; www-forms-request@w3.org
Asunto: Re: src instance attribute processing



I think there's nothing in the spec that prevents such optimization.  As
long as you can't tell the difference 
from an interoperability perspective, it should be OK.  
 
It was my interpretation of the xforms-model-construct event processing
definition in the W3C Recommendation but I might be wrong. 

The tricky bit would be detecting whether the instance is being referenced.
During model construction, 
the attempt to do xforms-rebuild and resolving UI bindings could all lead to
references of the data. 

As far as I can tell, the only way the optimization you describe would be of
benefit is if the data is *never* 
referenced except by actions.  This seems like a fairly special case.  I.e.
forms could be made to 
work this way, but it would be at the expense of the benefits derived from
the declarative nature of the 
xforms model.  
 
One case we see is for a case elements block with a selected always set to
false. We have several applications that can work that way and, depending on
user interaction, some data are referenced or not. I agree this is more
procedural than declarative.
 
Rafael Benito
SATEC 

John M. Boyer, Ph.D.
Senior Product Architect/Research Scientist
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: boyerj@ca.ibm.com  http://www.ibm.com/software/





"Rafael Benito" <rbenito@satec.es> 
Sent by: www-forms-request@w3.org 


08/29/2005 04:02 AM 


To
<www-forms@w3.org> 

cc

Subject
src instance attribute processing

	





Hi, 


the data pointed by the "src" attribute must be processed at the initial
processing XForms. I think this is not necessary. It should be sufficient if
it were processed the firsr time a reference to such a data is used in the
application. There could be cases in which the execution never
makesreference to that data and, therefore, there is no need to process it.
This is of interest for small device XForms processing. 


Regards, 


Rafael Benito Ruíz de Villa
Responsable Sistemas de Negocio en Red
Móvil (+34) 617 314 293
 <mailto:rbenito@satec.es> rbenito@satec.es 


MADRID <http://www.satec.es/>  

Avda. Europa, 34 A
28023 Aravaca
Telf.: (+34) 91 708 90 00 / 91 211 03 00
Fax: (+34) 91 708 90 90 / 91 211 03 90 







ATT00016.gif
(image/gif attachment: ATT00016.gif)

ATT00019.gif
(image/gif attachment: ATT00019.gif)

Received on Thursday, 1 September 2005 07:56:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:01 GMT