Re: Viewport and nested selected nodes

/ Alex Milowski <> 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.

                                        Be seeing you,

Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Tuesday, 24 October 2006 09:35:39 UTC