# XPath 2.0 and XQuery 1.0 changes

Erratum XQ.E34 is implemented. This affects what can appear after a "/" at the start of an expression. Certain constructs that can appear at the start of a relative path expression are now recognized, when they were previously rejected as errors: for example `/element{a}{b}` or `/` or `/unordered{x}`. Some other constructs that were previously accepted are now rejected, for example `/ instance of document-node()` (this must now be written `(/) instance of document-node()`).

In XQuery 1.0 and XQuery 1.1, the pragmas `saxon:stream` and `saxon:validate-type` are now ignored (with a warning) if running Saxon-HE or Saxon-PE. Previously they caused a static error.

Next