Dear all,

I am building an XPath expression using Saxon and the net.sf.saxon.expr.Expression class.

When I call the toString method on my objects, I get an XPath 3.0 query. Is-it possible to generate an XPath 2.0 query?

Moreover, the documentation contains a warning: there is no guarantee that the syntax will actually be true XPath.

Is this case common or only for rare corner cases?

Thanks for your help.