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

Re: p:input doppelgangers

From: Alessandro Vernet <avernet@orbeon.com>
Date: Thu, 5 Jul 2007 16:24:07 -0700
Message-ID: <4828ceec0707051624k58c76ae4n27430eaa324863cc@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

On 7/5/07, Henry S. Thompson <ht@inf.ed.ac.uk> wrote:
> I strongly disagree -- this makes the user do work instead of the
> implementors, which is the wrong way around.

I strongly agree ;). I also would like to be able to evaluate XPath
expressions that don't use a context node when there is no context
node. But the XPath specification does not allow this. Again: my
understanding is that you need a context node to evaluate an XPath
expression. You and I don't like this, but if this is a "bug", it is
one to be fixed in the XPath specification. Really, I don't see how we
can get around this and still allow people implementing XProc to use
off-the-shelf XPath implementations.

We could say that we hate this so much, that we are not going to
support XPath, but our own XPath++, which is like XPath, except you
can evaluate XPath expressions that do not use the context node when
no context is provided. The issue is what you find out there is
implementations of XPath, not XPath++. And I don't think it's
reasonable to require from people implementing XProc to hack their
favorite XPath implementation to support our XPath++.

Alex
-- 
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/
Received on Thursday, 5 July 2007 23:24:17 GMT

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