Milinda Pathirage’s Blog

Let the code talk for yourself!

Why Most Popular JavaScript libraries doesn’t support XML with namespaces?

July 28th, 2008 · No Comments · JavaScript, jQuery, yui

I am involve in developing Web Based Management Console for Apache ODE these days for Google Summer of Code 2008. For the mid term evaluation I used code developed using jQuery and I tested only in Firefox 2. But After I submit patches to ODE, developers mentioned about bugs in Firefox 3 and IE 7. I try to find a solution from the web and I was not able to find a solution for jQuery. After doing some tests using getElementsByTagName and getElementsByTagNameNS, i found that Firefox 3 and IE7 support XML namespace handling differently and still popular JavaScript libraries like jQuery and YUI don't support namespace handling also. But at last I found this article from Zach Leatherman, which describe the actual problem web developers faced and how we can solve it. There is a Javascript library called Sarissa which is released under Apache License and it will make JavaScript developers life easier by supporting XMLs with namespaces.

Sphere: Related Content

Tags:

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment