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

Re: Single Item Binding vs Single Node Binding

From: C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com>
Date: Thu, 27 Oct 2016 16:27:00 -0600
Cc: "C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com>, "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-Id: <33CA0489-501F-43B1-81B0-B640ABBD66E0@blackmesatech.com>
To: Steven Pemberton <steven.pemberton@cwi.nl>

> On Oct 27, 2016, at 3:45 PM, Steven Pemberton <steven.pemberton@cwi.nl> wrote:
> The text uses both "Single Item Binding" and "Single Node Binding".
> Is there a difference?

I have no opinion on whether there is or should be, in XForms.

But it may be relevant to reflect that in XPath 2.0 and 3.0, the
term “item” is used for a thing which is or can be either a node
in an XML document (or document fragment) or a value of a
simple type.  (An element is always a node, and an integer is 
always a value; a function which can accept either an element
or an integer as its argument will declare the parameter as
having type item().)

So using “item” to mean just “node” is likely to confuse some 
readers, if they are coming from the current generations of
XPath, XSLT, and/or Query.

C. M. Sperberg-McQueen
Black Mesa Technologies LLC
Received on Thursday, 27 October 2016 22:27:31 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 27 October 2016 22:27:31 UTC