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

Re: XPath version

From: Rui Lopes <rlopes@di.fc.ul.pt>
Date: Fri, 09 Nov 2007 20:44:52 +0000
Message-ID: <4734C6C4.7060400@di.fc.ul.pt>
To: public-xml-processing-model-wg@w3.org
Hi all,

Ok for me, but I'd prefer having an @xpath-version for p:pipeline and 


Norman Walsh wrote:
> At the face-to-face, we've been discussing the issue of XPath 1.0 vs
> XPath 2.0.
> Michael Kay pushed back, other commenters have pushed back, and the
> XSL WG has pushed back on our decision to require XPath 1.0.
> So, suppose we don't require it?
> Suppose instead we say that an implementation may use XPath 1.0 or
> XPath 2.0 at its option. For the vast majority of XPath expressions
> that are actually used in XProc, it won't make any difference.
> If a pipeline that uses an XPath 2.0 expression is passed to a
> processor that only understands XPath 1.0, the user loses. This is a
> practical interoperability problem today, but we expect over the long
> term that XPath 2 will replace XPath 1 and so the interoperability
> problem will become more and more theoretical over time.
> We add a note that says "for maximum interoperability, pipeline
> authors SHOULD restrict themselves to expressions that are the same in
> all versions of XPath".
> I think we'd still leave the issue of type support implementation defined.
>                                         Be seeing you,
>                                           norm

Received on Friday, 9 November 2007 20:48:05 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:44 UTC