When you have browsers which have the DOMParser (like chrome, firefox etc.)
In IE9 although DOMParser is available it seems that it lacks some methods, so you get errors like:
Object doesn’t support property or method ‘selectSingleNode’
To all of you who are using sarissa.js and you face the same problems then you need a little code tweaking for it to work. I will share what i did and worked for me. I don’t know if some other parts of the library require also fixing…
in sarissa.js at line 474 (file version 0.9.9.5) replace the line:
PS. In addition the case with XMLSerializer is the same like DOMParser. So in sarissa.js change the line 596 from:
That’s all for now.