atom feed1 message in org.oasis-open.lists.camRE: [cam] Changing the Scope on Contexts
FromSent OnAttachments
David RR Webber (XML)Aug 23, 2008 7:29 am 
Subject:RE: [cam] Changing the Scope on Contexts
From:David RR Webber (XML) (dav@drrw.info)
Date:Aug 23, 2008 7:29:15 am
List:org.oasis-open.lists.cam

Martin,

This all looks sensible. I need to start work on revisions to 1.1 at some point. This probably works best right now as just supplemental implementation notes in either a spreadsheet or a word doc.

We now have 3 or 4 items that we can put in there.

Thanks, DW

-------- Original Message -------- Subject: RE: [cam] Changing the Scope on Contexts From: <mart@bt.com> Date: Wed, August 13, 2008 10:57 am To: <ca@lists.oasis-open.org>

Forgot to mention that this function would effectively have the highest priority of all functions and would be checked prior to any other rules on that node.

------------------------------------------------------------------------------

From: mart@bt.com [mailto:mart@bt.com] Sent: 13 August 2008 15:55 To: ca@lists.oasis-open.org Subject: [cam] Changing the Scope on Contexts Hi, when we were doing 1.1 we introduced an item called scope which exists on a context. The idea was that when an node that matched the scope's xpath was found the values of all local variables would be evaluated using the new node as the scope for the variable. This works fine and is a needed concept. The main problem with it is that people do not readily grasp the implication of a scope on a context.

I would like to suggest a change ( that will be in the next release of the editor but not the processor) a new function called evaluateVariable. This would cause the variable to be evaluated in the current nodes scope. The effect will be the same as the scope on context but it is much easier to map on to and will also be more targeted i.e. no all variables will be evaluated.

Martin