goto100/xpath — pull request #4 by ThomasWeinert (2014-07-07 22:39:06+00:00)
Title: Namespace Handling

The current implementation uses the namespace resolver to resolve the namespace for elements in the document, too. But they are already resolved. Elements and attributes in a document have a namespaceURI property. This contains the already resolved namespace for the node. Using the namespace resolver expects the same prefix used in the document and this is wrong.