This project is archived and is in readonly mode.

#2258 ✓stale
Stephen Bannasch

libxml xml_mini backend producing incorrect hashes

Reported by Stephen Bannasch | March 16th, 2009 @ 08:05 PM | in 3.x

Using the xml_mini backend: 'LibXML' results in incorrect hashs when some input XML.

I'd like to extend the REXML equivalency tests that Aaron (tenderlove) has added for Nokogiri to cover all three xml_mini backends:

  • LibXML, Nokogiri, and JDOM

for JDOM backend, see: #2238

But I'm not sure what is the cleanest way to do this.

I have a test in this repo:

that shows at least one way LibXML fails.

Please take a a look at that test and let me know if that or some other pattern would be useful for expressing a set of tests for all the xml_mini backends.

Comments and changes to this ticket

  • Stephen Bannasch

    Stephen Bannasch March 16th, 2009 @ 10:40 PM

    I've updated my tests so that I've got 10 of the nokogiri tests running for all the alternate xml_mini backends.

    The code is here:

    libxml fails two.

    The readme.txt file here shows the results of running the tests for all the backends:

    Nokogiri and JDOM pass all 10.

    I'll see about getting a real patch attached here soon.

  • Jeremy Kemper

    Jeremy Kemper May 4th, 2010 @ 06:48 PM

    • Milestone changed from 2.x to 3.x
  • Santiago Pastorino

    Santiago Pastorino February 2nd, 2011 @ 04:53 PM

    • State changed from “new” to “open”
    • Importance changed from “” to “”

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.

    Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.

  • Santiago Pastorino

    Santiago Pastorino February 2nd, 2011 @ 04:53 PM

    • State changed from “open” to “stale”

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