I recently was pointed towards the Nokogiri gem recently to find all
html elements with a particular class, rather than attempting my own
regular expression. (Thanks John-John Tedro and Hassan Schroeder!!!!)
It works perfectly on my local machine, (Lion OS X and passenger), but
when I deployed it to my server (Centos 5.5 and passenger) Nokogiri
seems to not grab all the elements of the html file.
I did $ yum list updates and the only one that said there was an update
that was close to libxml2 was 'libxml2-python'.
I don't think that's relevant
I updated that and it still does not work. When I checked the version,
the output was this:
xmllint --version
xmllint: using libxml version 20626
On my Mac (Snow Leopard) version 20708
On a very old SuSE box (home office spare) version 20620
On an Ubuntu server provisioned in the last year version 20626
So I would bet that difference could still account for your problem.
I rarely use package managers like yum; usually it seems faster and
easier to just install/update from source
You might want to research the change history but I would probably
just update and see what happens...