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

Re: ACTION-2008-08-28-03: the kinds of nodes that are legal for all steps

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 25 Sep 2008 13:37:37 +0200
Message-ID: <546c6c1c0809250437u57a8bfds8c19bb87cfaa969a@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org
On Thu, Sep 25, 2008 at 1:35 PM, Norman Walsh <ndw@nwalsh.com> wrote:

> "Innovimax SARL" <innovimax@gmail.com> writes:
>
> >> - Proposal to change p:insert, but I don't think that works for the
> reasons
> >>  I cited above.
> >>
> >
> > Well I don't agree
> > What about Richard argument in http://www.w3.org/XML/XProc/2008/08/28-
> > minutes
> > [[
> > I like Richard's formulation: p:insert allows matching of anything
> >   which may have children if where is first or last, and anything that
> _is_
> >   a child if where is before or after
> > ]]
>
> You're right. I got caught up just thinking about the document case.
>
> PROPOSAL:
>
>  The match option can match element, text, processing-instruction,
>  and comment nodes.
>
> Change the description of err:XC0025 to read
>
>  It is a dynamic error (err:XC0025) if the match pattern matches the
>  document element and the value of the position option is "before" or
>  "after" or if the match pattern matches anything other than an
>  element node and the value of the position option is "first-child"
>  or "last-child".
>
> I'm fine with that !!

Thanks !

Mohamed

-- 
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 Thursday, 25 September 2008 11:38:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 25 September 2008 11:38:14 GMT