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

Re: Question about lazy authoring

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Mon, 16 Feb 2009 13:03:01 -0800
Message-Id: <09B125A6-6825-4C4A-A82D-8BCAFEE8BB80@orbeon.com>
To: Forms WG <public-forms@w3.org>
XProc solves this issue by saying the following [1]:

   "If there is no binding and there is no default readable port then  
the context node is an empty document node."

Something like this would make sense to me for XForms, but it would  
have to be added to the spec.

-Erik

[1] http://www.w3.org/TR/xproc/#xpath10-processors

On Feb 16, 2009, at 1:32 AM, Nick Van den Bleeken wrote:

> All,
>
> Test case 4.7.c has no instance and no controls that have a node set  
> binding, but it has a value attribute on an output control is this  
> supposed to work?
>
> In my opinion you can't construct an XPath context because you don't  
> have an instance, because no form controls refer to an instance... I  
> can work around this and create an instance when there is a form  
> control that has a value attribute, but this isn't correct to how I  
> read the spec.
>
> What are your opinions about this?
>
> Regards,
>
> Nick Van den Bleeken
>
> Inventive Designers' Email Disclaimer:
> http://www.inventivedesigners.com/email-disclaimer
>
> -- 
> This message has been scanned for viruses and
> dangerous content, and is believed to be clean.
> -- 
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/
Received on Monday, 16 February 2009 21:06:59 UTC

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