Evaluate XPath expression.
This method evaluates provided expression, registers provided namespaces in resolver and returns an GXml.XPathObject.
Resolver is a map where its key is the namespace's prefix and its value is the namespace's URI
Throw GXml.XPathError if one of provided namespaces is invalid.