Re: Option syntax

Norman Walsh wrote:
> / Innovimax SARL <innovimax@gmail.com> was heard to say:
> | It seems one more time impression are conflicting with statement
> 
> Right. We need to say what you suggested:
> 
> | <p:option
> |  name = QName
> |  select = XPath expression>
> |   (p:pipe |
> |    p:document |
> |    p:inline)?
> | </p:option>
> |
> | Then what is the context of the XPath evaluation when none is
> | specified ? an empty sequence ? the default readable port ? something
> | other ?
> 
> I think we should say that if an explicit context is not given then
> there is no context. In that case, any expression that makes reference
> to the context (by using "/", or position(), or anything else that
> would refer to the context) is an error.

I'd prefer it to default to the first document on the default readable port.

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com

Received on Monday, 28 May 2007 18:42:11 UTC