- From: Innovimax SARL <innovimax@gmail.com>
- Date: Fri, 26 May 2006 16:31:57 +0200
- To: "Jeni Tennison" <jeni@jenitennison.com>
- Cc: public-xml-processing-model-wg@w3.org
Received on Friday, 26 May 2006 14:41:34 UTC
On 5/26/06, Jeni Tennison <jeni@jenitennison.com > wrote: > > Doesn't: > > <p:variable name="validity" context="document" > select="/*/@validity" /> > <p:when test="$validity = 'partial' or $validity = 'none'"> > ... > </p:when> > > provide just the same challenges for the implementation, in terms of > tracking dependencies through XPaths and keeping documents in memory, as: > > <p:variable name="validity" select="$document/*/@validity" /> > <p:when test="$validity = 'partial' or $validity = 'none'"> > ... > </p:when> As Richard pointed this out in last telcon, I'm in favor of the first notation First, because the second is NOT a valid XPath 1.0 expression Then, because we don't need to parse the full XPath to make a dependency graph of the pipeline (for a wysiwig editor, for example) And last but not least because if we handle different kind of XPath in the future (streamable, Xpath 2.0, etc.) it will not be necessary to handle all those kinds of XPath Cheers 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 Friday, 26 May 2006 14:41:34 UTC