@Override
    public void visitXPathLocationPath(XPathLocationPath expression) {
      myExpectedType = isXPath1(myExpression) ? XPathType.NODESET : XPath2Type.SEQUENCE;
    }
@Override
    public void visitXPathLocationPath(XPathLocationPath expression)