W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2003

Re: Draft Note on DOM Support for XPath 2.0

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Mon, 25 Aug 2003 16:10:34 -0400
To: www-dom@w3.org
Message-ID: <OFC77D7E8D.251223D8-ON85256D8D.006E5CBA-85256D8D.006ED4BD@us.ibm.com>

On Monday, 08/25/2003 at 11:44 CST, Ray Whitmer <ray@xmission.com> wrote:
> The result sometimes represents a sequence and sometimes does not,
> so I am not sure that naming it XPath2Sequence is a good idea.

Per the XPath 2.0 Working Draft (section 2 paragraph 3):
      "The value of an expression is always a sequence".
It may be a single-value sequence, but it's a sequence.

So I'd say XPath2Sequence sounds like *exactly* the right way to model

If you want to also provide a convenience API which automatically unwraps
singleton sequences, I think that's a separate question.
Received on Monday, 25 August 2003 16:17:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:11 UTC