W3C home > Mailing lists > Public > public-xformsusers@w3.org > November 2016

Re: switch

From: Nick Van den Bleeken <Nick.Van.den.Bleeken@inventivegroup.com>
Date: Tue, 8 Nov 2016 13:50:13 +0000
To: Steven Pemberton <steven.pemberton@cwi.nl>, "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-ID: <EB284985-960F-454D-8F61-61170A0E609F@inventivegroup.com>
Hi Steven,

We use currently use the ref attribute to conditionally make the switch non-relevant. Example:

<xf:switch ref=”.[../payment-method = ‘credit’]”>…


If we re-purpose ref to also be the case-ref, this use case won’t work anymore…

Regards,

Nick Van den Bleeken
Product Evangelist 
 
On 08/11/2016, 14:22, "Steven Pemberton" <steven.pemberton@cwi.nl> wrote:

    I'm getting another feeling of deja vu here, but...
    
    Remind me why we need @caseref.
    
    <switch> already has @ref, which we use for nothing except relevance.
    Can't we continue to use it for relevance, but pointing to the caseref  
    node instead?
    
    Or is there a really pressing backwards compatibility issue?
    
    Steven
    
    

Received on Tuesday, 8 November 2016 13:50:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 8 November 2016 13:50:50 UTC