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

Re: XPath version

From: Jeni Tennison <jeni@jenitennison.com>
Date: Sat, 10 Nov 2007 16:34:46 +0000
Message-ID: <4735DDA6.1090902@jenitennison.com>
To: public-xml-processing-model-wg@w3.org

Norman Walsh wrote:
> / Rui Lopes <rlopes@di.fc.ul.pt> was heard to say:
> | Hi all,
> |
> | Ok for me, but I'd prefer having an @xpath-version for p:pipeline and
> | p:pipeline-library.
> That means we have to define what it means for all the possible
> combinations of mixed versions on pipelines and libraries imported
> into each other.
> If we can avoid that...

I don't think it's that tricky. You make the flag a lexical one (as is 
done with XSLT 2.0), based on the nearest xpath-version attribute. Note 
that XPath 2.0 processors can still be used in a xpath-version="1.0" 
context, just they have to use backwards-compatible mode for those 
particular XPaths.


Jeni Tennison
Received on Saturday, 10 November 2007 16:34:58 GMT

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