Re: "Focus"

Hello Steven,

I don’t recall ever using or seeing used the term ‘focus’ in an XPath context. Only in the context of UI.


Philip 

On 01/11/2016 14:23, "Steven Pemberton" <steven.pemberton@cwi.nl> wrote:

    The spec uses the word 'focus' in two different ways:
    
    1. In evaluation contexts:
    https://www.w3.org/community/xformsusers/wiki/XForms_2.0#Maintaining_Position:_the_Focus

    
    "The evaluation context consists of at least the focus, the variables in  
    scope and the available functions."
    
    "The focus consists of the context item, position and size "
    
    2. For the control that interaction is directed to.
    
    Not actually defined anywhere (which I shall fix), but used all over the  
    place.
    
    E.g. "Changing the focus to a form control within a repeat object may  
    cause one or more repeat index values to be changed"
    
    This needs to be fixed.
    
    Is there any technical reason that we use "focus" in the first case? (Is  
    it an XPath technical term that we are required to use?)
    
    Steven
    
    

Received on Tuesday, 1 November 2016 15:21:09 UTC