<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer">85</assigned-user-id>
  <attachments-count type="integer">3</attachments-count>
  <closed type="boolean">true</closed>
  <created-at type="datetime">2009-02-26T09:59:54+00:00</created-at>
  <creator-id type="integer">5639</creator-id>
  <milestone-due-on type="datetime">2009-01-31T00:00:00+00:00</milestone-due-on>
  <milestone-id type="integer" nil="true"></milestone-id>
  <number type="integer">2084</number>
  <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
  <priority type="integer">2</priority>
  <project-id type="integer">8994</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>resolved</state>
  <tag>activeresource activesupport patch verified xml</tag>
  <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
  <updated-at type="datetime">2009-03-12T17:07:57+00:00</updated-at>
  <user-id type="integer">85</user-id>
  <user-name>Jeremy Kemper</user-name>
  <creator-name>Bart ten Brinke</creator-name>
  <assigned-user-name>Jeremy Kemper</assigned-user-name>
  <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
  <original-body>The XMLmini implementation now switches between a LibXML or REXML implementation, depending on weather the LibXML library is available. As the implementation of the XMLmini is now separated out, it is very easy to implement Nokogiri or JREXML. The speed increase is quite stunning (up to 10 times as fast, probably more for large XML files).</original-body>
  <latest-body>The XMLmini implementation now switches between a LibXML or REXML implementation, depending on weather the LibXML library is available. As the implementation of the XMLmini is now separated out, it is very easy to implement Nokogiri or JREXML. The speed increase is quite stunning (up to 10 times as fast, probably more for large XML files).</latest-body>
  <original-body-html>&lt;div&gt;&lt;p&gt;The XMLmini implementation now switches between a LibXML or
REXML implementation, depending on weather the LibXML library is
available. As the implementation of the XMLmini is now separated
out, it is very easy to implement Nokogiri or JREXML. The speed
increase is quite stunning (up to 10 times as fast, probably more
for large XML files).&lt;/p&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>The XMLmini implementation now switches between a LibXML or REXML implementation, depending on weather the LibXML library is available. As the implementation of the XMLmini is now separated out, it is very easy to implement Nokogiri or JREXML. The speed increase is quite stunning (up to 10 times as fast, probably more for large XML files).

It falls back to the old ruby implementation (REXML) if no other parsers are available.</body>
      <body-html>&lt;div&gt;&lt;p&gt;The XMLmini implementation now switches between a LibXML or
REXML implementation, depending on weather the LibXML library is
available. As the implementation of the XMLmini is now separated
out, it is very easy to implement Nokogiri or JREXML. The speed
increase is quite stunning (up to 10 times as fast, probably more
for large XML files).&lt;/p&gt;
&lt;p&gt;It falls back to the old ruby implementation (REXML) if no other
parsers are available.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-26T09:59:54+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>activeresource activesupport patch xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-02-26T10:03:52+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Really great! +1
Just noticed that the patch file contains two patches:

[PATCH] Added deflate, gzip support to active resource

And:

[PATCH] xml mini libxml support

I think you want to send just the second one!

Cheers!</body>
      <body-html>&lt;div&gt;&lt;p&gt;Really great! +1 Just noticed that the patch file contains two
patches:&lt;/p&gt;
&lt;p&gt;[PATCH] Added deflate, gzip support to active resource&lt;/p&gt;
&lt;p&gt;And:&lt;/p&gt;
&lt;p&gt;[PATCH] xml mini libxml support&lt;/p&gt;
&lt;p&gt;I think you want to send just the second one!&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-26T12:42:16+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>activeresource activesupport patch xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-02-26T12:42:20+00:00</updated-at>
      <user-id type="integer">19965</user-id>
      <user-name>Jos&#233; Valim</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>+1</body>
      <body-html>&lt;div&gt;&lt;p&gt;+1&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-26T13:23:47+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>activeresource activesupport patch xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-02-26T13:23:50+00:00</updated-at>
      <user-id type="integer">13626</user-id>
      <user-name>Alex Coles</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Sorry, squashed the correct tickets into a new diff.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Sorry, squashed the correct tickets into a new diff.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-26T13:26:32+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>activeresource activesupport patch xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-02-26T13:26:33+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>+1, this would be really helpful for our API needs as well.</body>
      <body-html>&lt;div&gt;&lt;p&gt;+1, this would be really helpful for our API needs as well.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-26T13:30:15+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>activeresource activesupport patch xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-02-26T13:30:17+00:00</updated-at>
      <user-id type="integer">20779</user-id>
      <user-name>Willem van Bergen</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>I'd be nice to be able to choose between the different parsers rather than just relying on the presence of libxml, though that'd be a sensible default.

Also, the new non-derivative work code (your changes) shouldn't have the copyright header as they can safely be MIT licensed.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I'd be nice to be able to choose between the different parsers
rather than just relying on the presence of libxml, though that'd
be a sensible default.&lt;/p&gt;
&lt;p&gt;Also, the new non-derivative work code (your changes) shouldn't
have the copyright header as they can safely be MIT licensed.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-02T05:49:00+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- 
:tag: activeresource activesupport patch xml
</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-02T05:49:01+00:00</updated-at>
      <user-id type="integer">141</user-id>
      <user-name>Michael Koziarski</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Also, how would you suggest the jruby guys could plug in an alternative implementation with this patch?  Could be a good thought experiment to make sure the modularity works.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Also, how would you suggest the jruby guys could plug in an
alternative implementation with this patch? Could be a good thought
experiment to make sure the modularity works.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-02T05:49:50+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-02T05:49:53+00:00</updated-at>
      <user-id type="integer">141</user-id>
      <user-name>Michael Koziarski</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Well, the selection code currently is located in the XMLmini Module. You could easily have a fall through there, but I could also set something up like a hook. Which would you prefer?</body>
      <body-html>&lt;div&gt;&lt;p&gt;Well, the selection code currently is located in the XMLmini
Module. You could easily have a fall through there, but I could
also set something up like a hook. Which would you prefer?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-03T21:08:42+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-03T21:08:44+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Let me rephrase that, as editing my comment seems to be impossible.
This should be viewed as the base for alternative XML to hash parser implementations. XMLMini will be the front end and all alternative parsers should just implement ActiveSupport::XmlMini.parse

In the future alternative parsers can be added to Rails core (and placed in the xml_mini sub folder). XMLmini can then implement a fall through that will decide which implementation is available.

In the mean time people can write their own mixin in config/initializers that implements XmlMini.parse. The JRuby/Nokogiri people can either do the mix in on require or have a special function like Nokogiri.enable_active_resource.


If you have a better suggestion to do this, please post it or post an example.

You are right about the licenses. I have attached a new diff in which they are removed.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Let me rephrase that, as editing my comment seems to be
impossible. This should be viewed as the base for alternative XML
to hash parser implementations. XMLMini will be the front end and
all alternative parsers should just implement
ActiveSupport::XmlMini.parse&lt;/p&gt;
&lt;p&gt;In the future alternative parsers can be added to Rails core
(and placed in the xml_mini sub folder). XMLmini can then implement
a fall through that will decide which implementation is
available.&lt;/p&gt;
&lt;p&gt;In the mean time people can write their own mixin in
config/initializers that implements XmlMini.parse. The
JRuby/Nokogiri people can either do the mix in on require or have a
special function like Nokogiri.enable_active_resource.&lt;/p&gt;
&lt;p&gt;If you have a better suggestion to do this, please post it or
post an example.&lt;/p&gt;
&lt;p&gt;You are right about the licenses. I have attached a new diff in
which they are removed.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-03T22:49:07+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-03T22:49:10+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>(from [822c41d69d9228c9912d29ac45155d3a16bb5c50]) XmlMini supports different backend parsers, starting with libxml

[#2084 state:committed]

Signed-off-by: Jeremy Kemper &lt;jeremy@bitsweat.net&gt;
http://github.com/rails/rails/commit/822c41d69d9228c9912d29ac45155d3a16bb5c50</body>
      <body-html>&lt;div&gt;&lt;p&gt;(from [822c41d69d9228c9912d29ac45155d3a16bb5c50]) XmlMini
supports different backend parsers, starting with libxml&lt;/p&gt;
&lt;p&gt;[&lt;a href=&quot;/projects/8994/tickets/2084&quot; title=&quot;Ticket #2084&quot;&gt;#2084&lt;/a&gt; state:committed]&lt;/p&gt;
&lt;p&gt;Signed-off-by: Jeremy Kemper &lt;a href=&quot;mailto:jeremy@bitsweat.net&quot;&gt;jeremy@bitsweat.net&lt;/a&gt; &lt;a href=&quot;http://github.com/rails/rails/commit/822c41d69d9228c9912d29ac45155d3a16bb5c50&quot;&gt;
http://github.com/rails/rails/co...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-08T20:42:51+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- 
:state: new
</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>committed</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-08T20:42:52+00:00</updated-at>
      <user-id type="integer">17393</user-id>
      <user-name>Repository</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>I'm seeing *lots* of failures now with:

@@@
test_serialization_of_nested_resource(FormatTest):
NoMethodError: undefined method `default_keep_blanks=' for XML:Module
@@@

Do we need an additional check on the version of libxml that's installed? This is with a stock ruby install from 10.5.6</body>
      <body-html>&lt;div&gt;&lt;p&gt;I'm seeing &lt;em&gt;lots&lt;/em&gt; of failures now with:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;
test_serialization_of_nested_resource(FormatTest):
NoMethodError: undefined method `default_keep_blanks=' for XML:Module
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Do we need an additional check on the version of libxml that's
installed? This is with a stock ruby install from 10.5.6&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T08:08:42+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- 
:state: committed
:milestone: 9903
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T08:08:44+00:00</updated-at>
      <user-id type="integer">141</user-id>
      <user-name>Michael Koziarski</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>&gt; Do we need an additional check on the version of libxml that's installed? This is with a stock ruby install from 10.5.6

Yes I think we do. The version that ships with OSX 10.5.x is 0.3.8.4, after installing 1.0.0 it works as expected.</body>
      <body-html>&lt;div&gt;&lt;blockquote&gt;
&lt;p&gt;Do we need an additional check on the version of libxml that's
installed? This is with a stock ruby install from 10.5.6&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Yes I think we do. The version that ships with OSX 10.5.x is
0.3.8.4, after installing 1.0.0 it works as expected.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T09:31:18+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T09:31:22+00:00</updated-at>
      <user-id type="integer">8406</user-id>
      <user-name>Eloy Duran</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>I'm seeing a failure on a Debian box with libxml-ruby 1.0.0:

@@@

Name: test_expansion_count_is_limited(QueryTest) Type: Failure Message: &lt;RuntimeError&gt; exception expected but was Class: &lt;LibXML::XML::Error&gt; Message: &lt;&quot;Fatal error: Detected an entity reference loop at :12.&quot;&gt; ---Backtrace--- ./test/../lib/active_support/xml_mini/libxml.rb:16:in `parse' ./test/../lib/active_support/xml_mini/libxml.rb:16:in `parse' ./test/../lib/active_support/core_ext/hash/conversions.rb:153:in `from_xml' ./test/core_ext/hash_ext_test.rb:903:in `test_expansion_count_is_limited' ./test/core_ext/hash_ext_test.rb:887:in `test_expansion_count_is_limited' /usr/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `__send__' /usr/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `run'
 
@@@

This is using the standard Rails CI setup with just a few changes (like installing libxml-ruby) so it's a pretty clean test environment.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I'm seeing a failure on a Debian box with libxml-ruby 1.0.0:&lt;/p&gt;


&lt;pre&gt;&lt;code&gt;

Name: test_expansion_count_is_limited(QueryTest) Type: Failure Message: &amp;lt;RuntimeError&amp;gt; exception expected but was Class: &amp;lt;LibXML::XML::Error&amp;gt; Message: &amp;lt;&amp;quot;Fatal error: Detected an entity reference loop at :12.&amp;quot;&amp;gt; ---Backtrace--- ./test/../lib/active_support/xml_mini/libxml.rb:16:in `parse' ./test/../lib/active_support/xml_mini/libxml.rb:16:in `parse' ./test/../lib/active_support/core_ext/hash/conversions.rb:153:in `from_xml' ./test/core_ext/hash_ext_test.rb:903:in `test_expansion_count_is_limited' ./test/core_ext/hash_ext_test.rb:887:in `test_expansion_count_is_limited' /usr/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `__send__' /usr/local/lib/ruby/gems/1.8/gems/mocha-0.9.5/lib/mocha/test_case_adapter.rb:69:in `run'
 
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This is using the standard Rails CI setup with just a few
changes (like installing libxml-ruby) so it's a pretty clean test
environment.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T12:37:37+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T12:37:41+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Thats weird. How can the wrapper throw a different exception on Debian as on OSX? Currently I can't reproduce this because I had to send my Debian machine RMA :(. If I build fix, could you test it for me, Mike?</body>
      <body-html>&lt;div&gt;&lt;p&gt;Thats weird. How can the wrapper throw a different exception on
Debian as on OSX? Currently I can't reproduce this because I had to
send my Debian machine RMA :(. If I build fix, could you test it
for me, Mike?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T12:44:02+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T12:44:06+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Sure. Probably best to post any proposed patch here as I've heard a couple other reports of failure on os x this morning.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Sure. Probably best to post any proposed patch here as I've
heard a couple other reports of failure on os x this morning.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T12:58:52+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T12:58:55+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Isn't that the libxml 1.0.0 version issue?</body>
      <body-html>&lt;div&gt;&lt;p&gt;Isn't that the libxml 1.0.0 version issue?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T13:01:27+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T13:01:35+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>I am using 0.9.7 on OSX BTW. I thought I was default. My bad.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I am using 0.9.7 on OSX BTW. I thought I was default. My
bad.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T13:53:57+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T13:54:00+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>It seems that libxml-ruby 1.0.0 is pretty broken on OSX. Well at least it gives me a segfault on the recursion test ([BUG] Bus Error). I will make the patch libxml 0.9.7 specific if I can, but at the moment I haven't really got a good idea as how to do that.</body>
      <body-html>&lt;div&gt;&lt;p&gt;It seems that libxml-ruby 1.0.0 is pretty broken on OSX. Well at
least it gives me a segfault on the recursion test ([BUG] Bus
Error). I will make the patch libxml 0.9.7 specific if I can, but
at the moment I haven't really got a good idea as how to do
that.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T15:39:22+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T15:39:26+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>Seems like patch that ends up needing to target one specific version of the library should probably just be reverted until things are stabilized.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Seems like patch that ends up needing to target one specific
version of the library should probably just be reverted until
things are stabilized.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T15:47:46+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T15:47:51+00:00</updated-at>
      <user-id type="integer">7211</user-id>
      <user-name>Mike Gunderloy</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>I would think 1.0 would be stabilized :X. I think we should keep the XMLmini and rexml separation, but drop the LibXML implementation. It would be a shame as it really is a LOT faster.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I would think 1.0 would be stabilized :X. I think we should keep
the XMLmini and rexml separation, but drop the LibXML
implementation. It would be a shame as it really is a LOT
faster.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T15:59:18+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T15:59:21+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">2</attachments-count>
      <body>This limits it to libxml 0.9.4 and 0.9.7. Could you check it, Mike?</body>
      <body-html>&lt;div&gt;&lt;p&gt;This limits it to libxml 0.9.4 and 0.9.7. Could you check it,
Mike?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T16:12:26+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T16:12:29+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>I really feel strongly about the fact that ActiveResource needs a fast XML parser if it is to be considered as an option in any real world application.</body>
      <body-html>&lt;div&gt;&lt;p&gt;I really feel strongly about the fact that ActiveResource needs
a fast XML parser if it is to be considered as an option in any
real world application.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T20:00:25+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T20:00:28+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>We could just adjust the defaults to always be rexml.  Then let people
do something like XmlMini.parser=:libxml to switch to the libxml
implementation.

As for the test failure for the ci box, that's actually fine.  the
test is really just meant to be testing &quot;won't die when passed a loop&quot;
so the fact that libxml is raising a different error, is no big thing.
Just need to adjust the test.</body>
      <body-html>&lt;div&gt;&lt;p&gt;We could just adjust the defaults to always be rexml. Then let
people do something like XmlMini.parser=:libxml to switch to the
libxml implementation.&lt;/p&gt;
&lt;p&gt;As for the test failure for the ci box, that's actually fine.
the test is really just meant to be testing &quot;won't die when passed
a loop&quot; so the fact that libxml is raising a different error, is no
big thing. Just need to adjust the test.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T20:05:44+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T20:05:45+00:00</updated-at>
      <user-id type="integer">141</user-id>
      <user-name>Michael Koziarski</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>You misunderstood. It raises something else in Debian 1.0.0, which is fine, but it segfaults in OSX, which is NOT fine.

Wow, Jeremy fixed everything perfectly:
http://github.com/rails/rails/commit/87d82ef76e88d7ce97cfc09151b677b552f2840a

Nice work!</body>
      <body-html>&lt;div&gt;&lt;p&gt;You misunderstood. It raises something else in Debian 1.0.0,
which is fine, but it segfaults in OSX, which is NOT fine.&lt;/p&gt;
&lt;p&gt;Wow, Jeremy fixed everything perfectly: &lt;a href=&quot;http://github.com/rails/rails/commit/87d82ef76e88d7ce97cfc09151b677b552f2840a&quot;&gt;
http://github.com/rails/rails/co...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Nice work!&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T20:15:39+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T20:15:41+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>He has a habit of doing that :)

If it's only our million-laughs test that causes a segfault, perhaps that should be included in a test case to upstream?  Or are there additional cases which segfault?</body>
      <body-html>&lt;div&gt;&lt;p&gt;He has a habit of doing that :)&lt;/p&gt;
&lt;p&gt;If it's only our million-laughs test that causes a segfault,
perhaps that should be included in a test case to upstream? Or are
there additional cases which segfault?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T20:18:14+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T20:18:20+00:00</updated-at>
      <user-id type="integer">141</user-id>
      <user-name>Michael Koziarski</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>His fix however, is not working in my environment:

  ruby script/console 
  Loading development environment (Rails 2.3.1)

  &gt;&gt;     gem 'libxml-ruby', '=0.9.4', '=0.9.7'
  Gem::LoadError: RubyGem version error: libxml-ruby(0.9.4 not = 0.9.4, = 0.9.7)

  &gt;&gt; Gem.loaded_specs['libxml-ruby'].version.version
  =&gt; &quot;0.9.7&quot;</body>
      <body-html>&lt;div&gt;&lt;p&gt;His fix however, is not working in my environment:&lt;/p&gt;
&lt;p&gt;ruby script/console Loading development environment (Rails
2.3.1)&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt; gem 'libxml-ruby', '=0.9.4', '=0.9.7' Gem::LoadError:
RubyGem version error: libxml-ruby(0.9.4 not = 0.9.4, = 0.9.7)&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt; Gem.loaded_specs['libxml-ruby'].version.version =&amp;gt;
&quot;0.9.7&quot;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T20:29:52+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T20:29:56+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>What version of rubygems?</body>
      <body-html>&lt;div&gt;&lt;p&gt;What version of rubygems?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T20:36:38+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T20:36:42+00:00</updated-at>
      <user-id type="integer">85</user-id>
      <user-name>Jeremy Kemper</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>1.3.1</body>
      <body-html>&lt;div&gt;&lt;p&gt;1.3.1&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-03-09T20:41:02+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>open</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T20:41:04+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>http://github.com/rails/rails/commit/4458edc882b229ea44602da20a6440a6f233f1c8</body>
      <body-html>&lt;div&gt;&lt;p&gt;&lt;a href=&quot;http://github.com/rails/rails/commit/4458edc882b229ea44602da20a6440a6f233f1c8&quot;&gt;
http://github.com/rails/rails/co...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-09T20:44:26+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- 
:state: open
</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T20:44:27+00:00</updated-at>
      <user-id type="integer">85</user-id>
      <user-name>Jeremy Kemper</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>That probably is the best solution :). Nice!</body>
      <body-html>&lt;div&gt;&lt;p&gt;That probably is the best solution :). Nice!&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-09T20:56:01+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T20:56:04+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>The delegation seems to break if you switch it to libxml :(</body>
      <body-html>&lt;div&gt;&lt;p&gt;The delegation seems to break if you switch it to libxml :(&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-09T21:04:11+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-09T21:04:15+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>E(__DELEGATION__):2: warning: instance variable @backend not initialized.
The libxml.rb does not return to the Xml_mini.rb flow after the mixin. I have no clue why not.</body>
      <body-html>&lt;div&gt;&lt;p&gt;E(&lt;strong&gt;DELEGATION&lt;/strong&gt;):2: warning: instance variable
@backend not initialized. The libxml.rb does not return to the
Xml_mini.rb flow after the mixin. I have no clue why not.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-10T07:35:58+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-10T07:36:04+00:00</updated-at>
      <user-id type="integer">5639</user-id>
      <user-name>Bart ten Brinke</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>(from [d4091d3bc79731f55491cfb51c604a66502c944f]) Properly set up libxml includes. Don't include LibXML in toplevel.

[#2084 state:resolved]
http://github.com/rails/rails/commit/d4091d3bc79731f55491cfb51c604a66502c944f</body>
      <body-html>&lt;div&gt;&lt;p&gt;(from [d4091d3bc79731f55491cfb51c604a66502c944f]) Properly set
up libxml includes. Don't include LibXML in toplevel.&lt;/p&gt;
&lt;p&gt;[&lt;a href=&quot;/projects/8994/tickets/2084&quot; title=&quot;Ticket #2084&quot;&gt;#2084&lt;/a&gt; state:resolved] &lt;a href=&quot;http://github.com/rails/rails/commit/d4091d3bc79731f55491cfb51c604a66502c944f&quot;&gt;
http://github.com/rails/rails/co...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-10T18:58:02+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-10T19:02:39+00:00</updated-at>
      <user-id type="integer">17393</user-id>
      <user-name>Repository</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>Hey guys,

Integrating libxml-ruby bindings in Rails would be great.  But you positively, absolutely want to use libxml 1.1.1 and higher.  Its the first version that works with ruby 1.9.1 and compiles cleanly on OS X.  Let me know if you run into any issues and we'll get them cleaned up on our side.

Charlie Savage (maintainer libxml-ruby).</body>
      <body-html>&lt;div&gt;&lt;p&gt;Hey guys,&lt;/p&gt;
&lt;p&gt;Integrating libxml-ruby bindings in Rails would be great. But
you positively, absolutely want to use libxml 1.1.1 and higher. Its
the first version that works with ruby 1.9.1 and compiles cleanly
on OS X. Let me know if you run into any issues and we'll get them
cleaned up on our side.&lt;/p&gt;
&lt;p&gt;Charlie Savage (maintainer libxml-ruby).&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-12T16:52:27+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-12T16:52:32+00:00</updated-at>
      <user-id type="integer">50347</user-id>
      <user-name>cfis (at savagexi)</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">85</assigned-user-id>
      <attachments-count type="integer">3</attachments-count>
      <body>Hey Charlie, was 1.1.1 just released? The latest release segfaulted. 0.9.7 works and compiles fine on OSX (though not on 1.9).</body>
      <body-html>&lt;div&gt;&lt;p&gt;Hey Charlie, was 1.1.1 just released? The latest release
segfaulted. 0.9.7 works and compiles fine on OSX (though not on
1.9).&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-03-12T17:07:57+00:00</created-at>
      <creator-id type="integer">5639</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer" nil="true"></milestone-id>
      <number type="integer">2084</number>
      <permalink>alternative-xml-parsers-support-in-activesupport-for-activeresource</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>activeresource activesupport patch verified xml</tag>
      <title>Alternative XML parsers support in ActiveSupport for ActiveResource</title>
      <updated-at type="datetime">2009-03-12T17:07:57+00:00</updated-at>
      <user-id type="integer">85</user-id>
      <user-name>Jeremy Kemper</user-name>
      <creator-name>Bart ten Brinke</creator-name>
      <assigned-user-name>Jeremy Kemper</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/2084</url>
      <milestone-title nil="true"></milestone-title>
    </version>
  </versions>
  <attachments type="array">
    <attachment type="Attachment">
      <code>3e0604ccea57c64bebfac9188adb0ea85569e9c4</code>
      <content-type>text/plain</content-type>
      <created-at type="datetime">2009-02-26T13:26:32+00:00</created-at>
      <filename>alternative-xml-parsers.diff</filename>
      <height type="integer" nil="true"></height>
      <id type="integer">93324</id>
      <size type="integer">11280</size>
      <uploader-id type="integer">5639</uploader-id>
      <width type="integer" nil="true"></width>
      <url>http://rails.lighthouseapp.com/attachments/93324/alternative-xml-parsers.diff</url>
    </attachment>
    <attachment type="Attachment">
      <code>3d7200c5cc55c41d65f169dfe737ae3868ffb399</code>
      <content-type>text/plain</content-type>
      <created-at type="datetime">2009-03-03T22:49:07+00:00</created-at>
      <filename>alternative-xml-parsers.diff</filename>
      <height type="integer" nil="true"></height>
      <id type="integer">95557</id>
      <size type="integer">11880</size>
      <uploader-id type="integer">5639</uploader-id>
      <width type="integer" nil="true"></width>
      <url>http://rails.lighthouseapp.com/attachments/95557/alternative-xml-parsers.diff</url>
    </attachment>
    <attachment type="Attachment">
      <code>8a6365fa41889951fef58983b60cf20065a0b45f</code>
      <content-type>text/plain</content-type>
      <created-at type="datetime">2009-03-09T16:12:26+00:00</created-at>
      <filename>alternative_xml_parser_fix.diff</filename>
      <height type="integer" nil="true"></height>
      <id type="integer">97560</id>
      <size type="integer">1149</size>
      <uploader-id type="integer">5639</uploader-id>
      <width type="integer" nil="true"></width>
      <url>http://rails.lighthouseapp.com/attachments/97560/alternative_xml_parser_fix.diff</url>
    </attachment>
  </attachments>
</ticket>
