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
this.

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:57 GMT