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

Re: Wrapping of nodes into a document

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 02 Oct 2007 11:32:51 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2zlz1lefw.fsf@nwalsh.com>
/ "Innovimax SARL" <innovimax@gmail.com> was heard to say:
| 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="/" ?

Yeah, ok. It's a bit silly since it's the same as leaving off the
select, but I guess it's also a bit pedantic to make it an error.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | What are the thoughts of the canvas on
http://nwalsh.com/            | which a masterpiece is being created?
                              | "I am being soiled, brutally treated
                              | and concealed from view." Thus men
                              | grumble at their destiny, however
                              | fair.--Jean Cocteau

Received on Tuesday, 2 October 2007 15:33:09 GMT

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