sparklemotion/nokogiri — pull request #735 by Empact (2012-07-26 01:07:31+00:00)
Title: Handle the fact that in some cases, not entirely understood by me but reflected in the test case, the namespaces can come into XPathContext#register_namespaces with frozen UTF-16 keys

I ran into this via the roo test suite. I suspect the fix could be more targeted, to avoid the case reaching this point in the code, but this is my personal best effort, and the fix works.

The XML was found in the Pfand_from_windows_phone.xlsx file in the roo test suite. https://github.com/Empact/roo/blob/master/test/files/Pfand_from_windows_phone.xlsx