Re: Comparing p:delete and p:viewport

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 UTC