Re: Viewport and nested selected nodes

Norman Walsh wrote:
> / Alex Milowski <alex@milowski.org> was heard to say:
> | Jeni Tennison wrote:
> |>
> |> Hi,
> |>
> |> In the example of <p:viewport> in the spec:
> |>
> |> <p:viewport name="encdivs">
> |>   <p:declare-input port="div" step="step" source="port"
> |>                    select="//h:div[@class='enc']"/>
> |>   <p:declare-output port="html" step="encrypt" source="result"/>
> |>   <p:step name="encrypt" type="p:encrypt-document">
> |>     <p:input name="document" step="encdivs" source="div"/>
> |>   </:step>
> |> </p:viewport>
> |
> | In the case of viewports, "//h:div" and "h:div" are equivalent.
> 
> No, I don't think so. These are select patterns, not match patterns. I
> would expect h:div to be the same as /h:div in this case, not //h:div.

That's an issue we should discuss because I've always imagined them
as match patterns.

--Alex Milowski

Received on Tuesday, 24 October 2006 15:13:21 UTC