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

Re: Comparing p:delete and p:viewport

From: Innovimax SARL <innovimax@gmail.com>
Date: Tue, 1 May 2007 15:46:44 +0200
Message-ID: <546c6c1c0705010646o2f167966l792c2e0e5a6952ef@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>
this cancel and replace the preceding mail

On 5/1/07, Innovimax SARL <innovimax@gmail.com> wrote:
>
> Regarding both of them
>
> I find some inconsistencies
>
> I started from the fact that
>
> <p:delete>
> <p:option name="match" value="##pattern"/>
> </p:delete>
>
> should be equivalent to
>
> <p:viewport match="##pattern">
> <p:output port="result"/>
> </p:viewport>
>
> And I found this :
>
> * Viewport MUST have a restriction on the XPath match to match only
> elements (no PI, no comments, no attribute, no namespace, no text) ; The
> same is
> true for p:for-each
> --> It will confirm a substential difference of p:delete on non-element

* It is currently said in the spec that we need an output element, why
> ? Why cannot it be defaulted ?
>
> Mohamed
>


-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Tuesday, 1 May 2007 13:46:48 GMT

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