Nokogiri Truncating XML Input

Posted by bdorry on Stack Overflow See other posts from Stack Overflow or by bdorry
Published on 2011-01-31T15:24:44Z Indexed on 2011/01/31 15:25 UTC
Read the original article Hit count: 264

Filed under:
|
|
|
|

I am having issues with a colleagues machine truncating XML while using Nokogiri to parse a Media RSS feed. The feed is a standard Media RSS feed, and the XML is not malformed. It looks like it simply stops at a certain point in the XML and closes any tags that would have been open at that current point in the document. (Unfortunately I do not have the XML avialable to me right now, but I will update this question with the actual XML when I have it available to me).

My confusion comes from it working fine on my machine (OSX 10.6, Nokogiri 1.4.4) while it in correctly on his machine using the same setup - however his machine is a few years older. I imagine that there is a difference somewhere but unfortunately I don't know what to look for.

Any thoughts or direction would be greatly appreciated.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby