W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > October 2007

Re: Wrapping of nodes into a document

From: Innovimax SARL <innovimax@gmail.com>
Date: Tue, 2 Oct 2007 17:01:38 +0200
Message-ID: <546c6c1c0710020801k609f03b6t1b3409f28f8d5744@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org

On 10/2/07, Norman Walsh <ndw@nwalsh.com> wrote:
> / Innovimax SARL <innovimax@gmail.com> was heard to say:
> | In 5.1.1
> |
> | Please precise which nodes are allowed to be wrapped and how ?
> | [[
> | it is a dynamic error (err:XD0016) if the select expression on a
> | p:input returns anything other than a possibly empty set of nodes.
> | ]]
>
> I took an action at the 27 Sep 2007 telcon to clarify this. Our discussion
> on the telcon suggested that it was appropriate to select, comment,
> processing instruction, or element nodes. But, in fact, *each* selected
> node is turned into a document. So it's pointless to select anything other
> than element nodes. I propose:
>
>   It is a dynamic error (err:XD0016) if the select expression on a
>   p:input returns anything other than a possibly empty set of element
>   nodes.
>
> (I added the word element.)
>

And what about select="/" ?

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Tuesday, 2 October 2007 15:01:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT