W3C home > Mailing lists > Public > xproc-dev@w3.org > August 2013

Re: for-each XPath sequence item, new V2 requirement ?

From: Norman Walsh <ndw@nwalsh.com>
Date: Mon, 26 Aug 2013 07:11:17 -0700
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2mwo4y22i.fsf@nwalsh.com>
Romain Deltour <rdeltour@gmail.com> writes:
> In other words, what I'm thinking is allowing any XDM sequence as
> the iteration source of p:for-each (assuming vNext targets XPath
> 2.0):
>  - if an item is a document node, pass it as-is to its sub pipeline
>  - if an item is an element, pass it wrapped in a document
>  - in any other cases, pass its string value as a `c:result` document
>
> Thoughts ?

I think we will be allowing any XDM value, we'll have work out what it
means in cases like this. Your proposal seems reasonable at first glance.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
www.marklogic.com

Received on Monday, 26 August 2013 16:20:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:11 UTC