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

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