This project is archived and is in readonly mode.

#3219 ✓committed
John Pignata

Nokogiri XmlMini backend doesn't properly parse cdata elements

Reported by John Pignata | September 16th, 2009 @ 07:25 PM

In a production project I have I'm using Hash#from_xml to parse a bunch of XML from a foreign CMS. I found that changing the backend to Nokogiri gives me an over 100% speed boost (woo!), but the backend unfortunately doesn't process CDATA sections correctly.

This small patch allows the nokogiri backend to parse CDATA sections and adds a test. It should apply to both 2-3-stable and master.

There's also a pending patch to clean-up this nokogiri backend from Aaron Patterson that is pending --

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket


Referenced by