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

Re: Remarks on W3C Editor's Draft 6 August 2007

From: Jeni Tennison <jeni@jenitennison.com>
Date: Fri, 10 Aug 2007 20:31:47 +0100
Message-ID: <46BCBD23.9050604@jenitennison.com>
To: public-xml-processing-model-wg@w3.org

Norman Walsh wrote:
> / Innovimax SARL <innovimax@gmail.com> was heard to say:
> | On 8/10/07, Norman Walsh <ndw@nwalsh.com> wrote:
> |> / Innovimax SARL <innovimax@gmail.com> was heard to say:
> |> | s/A.2.1 Add Attributes/A.2.1 Add Attribute/
> |> |
> |> | Please specify also the XPath Context for the match option
> |>
> |> I don't think I understand. We describe the XPath contexts for all
> |> steps earlier in the document. Why say something about this one in
> |> particular?
> |
> | Hug ! You did it for p:delete for example
> | [[
> | The XPath context for the match option is: the context document is the
> | document that appears on the source port and the context position and
> | context size are both "1".
> | ]]
> 
> Ah, yes, I see. Thanks.

We shouldn't be specifying XPath contexts for any of the match patterns, 
at least not the context node, position or size, since these aren't 
relevant: match patterns are patterns, not expressions.

For match patterns we should specify the context *document*, variable 
bindings and namespace bindings, but that's it.

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com
Received on Friday, 10 August 2007 19:31:50 GMT

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