W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2007

[Bug 4868] XPath abbreviations for / and // syntactically incorrect

From: <bugzilla@wiggum.w3.org>
Date: Thu, 19 Jul 2007 08:49:59 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1IBRhv-0002yT-B8@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4868





------- Comment #1 from mike@saxonica.com  2007-07-19 08:49 -------
Personal response: Yes, I think you're right.

fn:root(self::node()) treat as document-node()/X

does not parse because the expression on the lhs of "/" must be a StepExpr, and
a TreatExpr is not a StepExpr. It needs to be parenthesized.
Received on Thursday, 19 July 2007 08:50:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:19 UTC