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

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 UTC