W3C home > Mailing lists > Public > public-forms@w3.org > February 2009

Re: Question about lazy authoring

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Tue, 17 Feb 2009 11:24:26 -0800
Message-Id: <0954C213-9C52-4A0D-9A9E-E8BA3117B456@orbeon.com>
To: Forms WG <public-forms@w3.org>
> Erik's point about amending the eval context of an xpath when their  
> is no context node would make a good feature/suggestion+test for  
> Section 7.2, except it is probably better for XForms 2.0 because in  
> XForms 1.x we have Xpath 1.0, which requires a context node as part  
> of the context.  I suppose we could make do if all current xpath 1.0  
> implementations allowed evaluation without a starting context node,  
> but this is probably not an issue we have to spend a lot of cycles  
> on right now.

Actually the strategy from XProc I mentioned in my last message  
specifically covers XPath 1.0, NOT XPath 2.0. So it would be a good  
fit for XForms 1.1.

To make it clearer: XProc says that the context is set to an empty  
document node. This is not the same as saying it is an empty sequence  
or an empty node-set: it is a node-set containing a single node, which  
is a document node without children.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/
Received on Tuesday, 17 February 2009 19:25:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:50 UTC