XPath namespace nodes are not implemented yet (bug 12504), but trying to access them shouldn't cause a crash, as it does currently.
Created attachment 13104 [details] proposed fix
Comment on attachment 13104 [details] proposed fix r=me
Landed in r19558.